Skip to content

Simon-L/pasfa

Repository files navigation

pasfa - Paste Faust code!

⚠️ 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.

Configuration

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 CSRF
  • expiry : 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 as expiry.
  • 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/

img1

img2

img3

Licensed under the terms of the MIT license.

About

A paste service for Faust code \o/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages