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 e60897a3f8
add doit task for compressing static files
2017-08-11 20:13:42 +02:00
assets process all assets thru doit 2017-08-11 16:41:31 +02:00
lib serve static brotli or gzip compressed files as well 2017-08-11 20:13:41 +02:00
migrations add ability to keep posts with media (close #1) 2017-08-08 15:40:56 +02:00
static process all assets thru doit 2017-08-11 16:41:31 +02:00
templates process all assets thru doit 2017-08-11 16:41:31 +02:00
tools image build 2017-08-11 14:57:32 +02:00
.gitignore process all assets thru doit 2017-08-11 16:41:31 +02:00
LICENSE add license 2017-08-03 21:52:17 +02:00
Procfile celery: use fair task scheduling 2017-08-11 00:08:46 +02:00
README.markdown add doit to readme 2017-08-11 15:11:13 +02:00
app.py working brotli cache 2017-08-11 19:13:37 +02:00
config.example.py working brotli cache 2017-08-11 19:13:37 +02:00
dodo.py add doit task for compressing static files 2017-08-11 20:13:42 +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 messy brotli experiment 2017-08-11 17:57:32 +02:00
routes.py serve static brotli or gzip compressed files as well 2017-08-11 20:13:41 +02:00
tasks.py close sqlalchemy session after a worker's work. closes #4 2017-08-11 00:31:02 +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+

youll also need redis probably unless you wanna set the rate limiter to use the in-memory store, which doesnt work if you have more than one web process

$ # 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

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