Read-then-burn esque pastebin. Each entry can only be viewed once.
make build
./pbandj -port 1337
Docker image is available with docker pull guyfedwards/pbandj
or you can build locally:
docker build .
docker run -p 1337:1337 --name pbandj <image_id>
A basic form is rendered at /{id}
. This can be used to create a new paste, or will display an existing one if {id}
is present.
POST /paste
application/json
{
content string
}
{
id string
}
GET /paste/{id}
application/json
{
id string
content string
}