2
0
mirror of https://github.com/codl/forget synced 2024-12-11 16:06:56 +01:00
Servizio per cancellare i messaggi quando superano una certa età. Limita l'account ad un numero massimo di post, cancellando quelli più vecchi. Conserva i vecchi post che contano con un favorito. Imposta e dimentica https://mastodon.uno
Go to file
2017-08-20 18:23:38 +02:00
assets ahhhhhh!! mastodon support 2017-08-19 13:12:22 +02:00
lib allow mastodon users to preserve DMs 2017-08-20 18:23:38 +02:00
migrations allow mastodon users to preserve DMs 2017-08-20 18:23:38 +02:00
static whoops icon.png stayed in static/ 2017-08-11 21:30:30 +02:00
templates allow mastodon users to preserve DMs 2017-08-20 18:23:38 +02:00
tools fix post-receive hook 2017-08-19 13:21:00 +02:00
.gitignore whoops icon.png stayed in static/ 2017-08-11 21:30:30 +02:00
app.py secret debug config option to log all queries shh 🙊 2017-08-14 20:19:51 +02:00
config.example.py working brotli cache 2017-08-11 19:13:37 +02:00
dodo.py rename settings_form.js to settings.js 2017-08-12 07:26:06 +02:00
forget.example.service add example systemd service file 2017-08-03 22:48:45 +02:00
forget.py
LICENSE add license 2017-08-03 21:52:17 +02:00
model.py allow mastodon users to preserve DMs 2017-08-20 18:23:38 +02:00
Procfile celery: use fair task scheduling 2017-08-11 00:08:46 +02:00
Procfile.dev add development procfile 2017-08-12 01:54:19 +02:00
README.markdown add development procfile 2017-08-12 01:54:19 +02:00
requirements.txt ahhhhhh!! mastodon support 2017-08-19 13:12:22 +02:00
routes.py fix 500 when logging in with mastdon with an existing oauth token 2017-08-19 14:32:31 +02:00
tasks.py allow mastodon users to preserve DMs 2017-08-20 18:23:38 +02:00
version.py no version by default 2017-08-07 21:35:26 +02:00

uhh frick i forgot to write a readme hang on uhh

forget

its a thing that deletes your posts

it works with twitter and maybe sometime in the future it will work with other services

it lives at https://forget.codl.fr

you can run your own if you want to, youll need postgresql and redis and python 3.6+

$ # set up virtualenv (recommended)
$ virtualenv venv
$ source venv/bin/activate

$ # install requirements and set up config file
$ pip install -r requirements.txt
$ cp config.example.py config.py
$ $EDITOR config.py

$ # set up database schema
$ createdb forget
$ env FLASK_APP=forget.py flask db upgrade

$ # build assets
$ doit

$ # start web server and background worker
$ honcho start

$ # if you are doing development then you can try the dev procfile
$ honcho -f Procfile.dev start

the web server will listen on 127.0.0.1:42157, you'll probably want to proxy with nginx or apache or what have you

sorry this readme sucks i forgot to write one before release

send me a tweet @codl if you're having trouble or, to tell me you like it