⚠️ Not quite ready yet :)
📝 Try it here
Recommended to use with docker. Here's how to:
docker pull fergusl2/pasfa:latest
docker run --name my_pasfa -p 8080:8080 -it pasfa:latest
If you prefer building, then the usual docker build -t pasfa .
will do.
Config is done in config.lua
, docker cp
it, modify it and run a new container using eg. -v path/to/new/config.lua:/root/work/config.lua
Of interest are 3 fields:
secret
: Secret for signing CSRFexpiry
: Duration until pasted files expire. A table with{ "count", "unit" }
, unit can be hour, day, minute, sec, add plural s when appropriate.interval
: Interval for checking expired pastes. Same format asexpiry
.sqlite.database
: Path to database, point to a new non-existing file to create a new db at this path
Faust stuff: Uses my fork of the editor web component: https://github.com/Simon-L/faust-web-component/
Licensed under the terms of the MIT license.