No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.org
__init__.py
cleanup.sh
glue_boy.py
index.html
requirements.txt
schema.sql

README.org

What the fork?

This is a fork (of a fork) of the original glue-boy, a stupidly simple pastebin. This is an async implementation using SQLite rather than the filesystem.

installation

this iteration of glue-boy is built on Klein and Python 3.6 (for async def and f-strings)

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.

N.B. cleanup.sh relies on being in the same directory as the glues.sqlite file