2 files changed, 31 insertions(+), 27 deletions(-) A => README.md R README.org =>
A => README.md +31 -0
@@ 0,0 1,31 @@ +# 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](https://idle.nprescott.com/2015/snippets-and-stack-traces.html). + +A version is hosted at [glue.nprescott.com](https://glue.nprescott.com). + +This iteration (the 3rd) of glue-boy is built on +[Klein](https://github.com/twisted/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.
R README.org => +0 -27
@@ 1,27 0,0 @@ -* What the fork? - This is a fork (of a fork) of the [[https://github.com/NPrescott/glue-boy][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 [[https://github.com/twisted/klein][Klein]] and Python 3.6 (for ~async def~ - and ~f~-strings) - - #+BEGIN_EXAMPLE - pip install -r requirements.txt - #+END_EXAMPLE - - and then and you're off and running - - To initialize the database (required): - - #+BEGIN_EXAMPLE - sqlite3 glues.sqlite <schema.sql - #+END_EXAMPLE - -** 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