2
0
mirror of https://github.com/codl/forget synced 2025-01-22 11:54:09 +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-13 10:53:29 +02:00
assets also update viewer info when updating counters 2017-08-12 12:27:25 +02:00
lib extend /api/viewer to include various timers 2017-08-12 23:07:16 +02:00
migrations extend /api/viewer to include various timers 2017-08-12 23:07:16 +02:00
static
templates also update viewer info when updating counters 2017-08-12 12:27:25 +02:00
tools
.gitignore
app.py
config.example.py
dodo.py
forget.example.service
forget.py
LICENSE
model.py extend /api/viewer to include various timers 2017-08-12 23:07:16 +02:00
Procfile
Procfile.dev
README.markdown
requirements.txt
routes.py extend /api/viewer to include various timers 2017-08-12 23:07:16 +02:00
tasks.py refresh task: ignore accounts with no tokens 2017-08-13 10:53:29 +02:00
version.py

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