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
codl 5bce4c9b17
massive optimisation on getting eligible posts
uhh the subquery is run for every single row so, with a long enough
time limit and enough posts thats. a several minute long SELECT
2017-08-09 10:25:41 +02:00
lib oops precedence 2017-08-09 09:22:34 +02:00
media logotype: exagerate shadow 2017-08-04 12:31:32 +02:00
migrations add ability to keep posts with media (close #1) 2017-08-08 15:40:56 +02:00
static simplify header 2017-08-07 21:35:46 +02:00
templates uh oh whoops 2017-08-09 08:39:48 +02:00
tools ah!!! 2017-08-07 14:56:18 +02:00
.gitignore fuckin idk 2017-07-27 20:20:59 +02:00
LICENSE add license 2017-08-03 21:52:17 +02:00
Procfile bump gunicorn timeout to 1 hour for uploads 2017-08-04 01:06:01 +02:00
README.markdown forgot to put database setup in readme 2017-08-08 15:41:41 +02:00
app.py add cachebusting for static files 2017-08-07 21:50:31 +02:00
config.example.py add sentry support 2017-08-07 13:39:10 +02:00
forget.example.service add example systemd service file 2017-08-03 22:48:45 +02:00
forget.py init 2017-07-25 09:52:24 +02:00
model.py massive optimisation on getting eligible posts 2017-08-09 10:25:41 +02:00
requirements.txt add sentry support 2017-08-07 13:39:10 +02:00
routes.py fix weirdness when setting intervals 2017-08-09 09:14:42 +02:00
tasks.py massive optimisation on getting eligible posts 2017-08-09 10:25:41 +02:00
version.py no version by default 2017-08-07 21:35:26 +02:00

README.markdown

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 rabbitmq 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

$ # start web server and background worker
$ honcho 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