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 d6c45a73a6
set a height on logo while we're at it
2017-08-11 16:04:18 +02:00
assets image build 2017-08-11 14:57:32 +02:00
lib add rate limits 2017-08-10 17:07:39 +02:00
migrations add ability to keep posts with media (close #1) 2017-08-08 15:40:56 +02:00
static image build 2017-08-11 14:57:32 +02:00
templates set a height on logo while we're at it 2017-08-11 16:04:18 +02:00
tools image build 2017-08-11 14:57:32 +02:00
.gitignore image build 2017-08-11 14:57:32 +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 also change the default to be redis regardless 2017-08-10 17:22:32 +02:00
config.example.py set flask-limiter storage example to redis 2017-08-10 17:20:28 +02:00
dodo.py let pillow optimize 2017-08-11 15:55:50 +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 image build 2017-08-11 14:57:32 +02:00
routes.py add rate limits 2017-08-10 17:07:39 +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