~nprescott/glue-boy

yet another pastebin
2b49357f — Nolan Prescott 3 years ago
Better exception handling practice
c23fd27c — Nolan Prescott 3 years ago
Fix links http:// --> https://

refs

master
browse  log 

clone

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

You can also use your local clone with git send-email.

#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.