yet another pastebin, https://glue.nprescott.com
Stubbing out a "real" project layout
Update gitignore

heads

tip
browse log

clone

read-only
https://hg.sr.ht/~nprescott/glue-boy
read/write
ssh://hg@hg.sr.ht/~nprescott/glue-boy

#Yet Another Pastebin

glue-boy is an internet pastebin intended to share ephemeral text between people. Historically, it has been used for sharing snippets and stacktraces.

A version is hosted at glue.nprescott.com.

This iteration (the 3rd) of glue-boy is built on Klein, SQLite and Python 3.

#Installation

pip install -r requirements.txt

and then and you're off and running

To initialize the database (required):

sqlite3 glues.sqlite <schema.sql

#Cleanup

cleanup.sh is intended to delete all pastes not accessed in more than a week - throw that on a crontab or timer service.

N.B. cleanup.sh relies on being in the same directory as the glues.sqlite file, this is probably a bug.