Put-able Into Sqlite webServer
  • Rust 77.8%
  • Nix 21.8%
  • Shell 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-12 08:18:43 -05:00
.sqlx support _redirects file 2026-10-25 13:23:34 -04:00
contrib add example openrc service 2026-08-02 12:20:50 -04:00
migrations add kind column to paths 2026-10-25 10:38:40 -04:00
npins npins: update 2026-11-12 08:17:37 -05:00
src turn links into redirects 2026-10-26 07:41:44 -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-10-26 17:02:47 -04:00
Cargo.toml add concurrent connection limit 2026-08-18 09:41:42 -04:00
default.nix add piss32Static 2026-11-08 16:47:44 -05: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 Revert "shell: temporarily fix sqlx-cli" 2026-11-12 08:18:43 -05: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)