Put-able Into Sqlite webServer
  • Rust 76%
  • Nix 23.6%
  • Shell 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-18 17:54:38 -04:00
.sqlx create type for hash 2026-08-09 12:22:07 -04:00
contrib add example openrc service 2026-08-02 12:20:50 -04:00
migrations make file size limit customizable per site 2026-07-27 13:27:59 -04:00
npins bump dependencies 2026-09-18 17:54:38 -04:00
src initialize rlimit struct without unsafe 2026-08-26 20:09:23 -04:00
.gitignore add nix stuff 2026-07-27 17:52:36 -04:00
build.rs recompile if .sqlx changes 2026-08-03 10:31:24 -04:00
Cargo.lock bump dependencies 2026-09-18 17:54:38 -04:00
Cargo.toml add concurrent connection limit 2026-08-18 09:41:42 -04:00
default.nix switch to crane 2026-08-28 20:38:37 -04:00
LICENSE add EUPL-1.2 license 2026-07-26 16:38:57 -04:00
package.nix switch to crane 2026-08-28 20:38:37 -04:00
README.md readme: create 2026-07-27 15:38:54 -04:00
shell.nix add sqlx-cli to dev shell 2026-07-30 21:32:17 -04:00

Put-able Into Sqlite webServer

like git-pages but without the git and shoving everything into sqlite instead of object storage

quickstart

piss can be built with cargo:

cargo build -r

starting it is as simple as telling it where to put the sqlite db. it listens on [::]:8085 by default, this can be changed with the --bind option.

target/release/piss meow.db

to upload a site, we'll need a token, which can be generated with the --make-token option:

target/release/piss meow.db --make-token localhost

then PUT a tarball to it

tar cC mysite . | curl -T- -H 'Authorization: Bearer 6f1cd429-3c8e-4370-acab-50f3bee5fd6f' localhost:8085

(replacing mysite with the path to the folder you want to upload, and 6f1cd429-3c8e-4370-acab-50f3bee5fd6f with the token it gave you)