{"id":13892860,"url":"https://github.com/codl/forget","last_synced_at":"2025-09-27T05:30:53.067Z","repository":{"id":37611968,"uuid":"99214821","full_name":"codl/forget","owner":"codl","description":"Continuous post deletion for twitter, mastodon, and misskey","archived":true,"fork":false,"pushed_at":"2022-11-22T10:10:35.000Z","size":8660,"stargazers_count":147,"open_issues_count":37,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-13T21:33:21.986Z","etag":null,"topics":["mastodon","twitter"],"latest_commit_sha":null,"homepage":"https://forget.codl.fr/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codl.png","metadata":{"files":{"readme":"README.markdown","changelog":"CHANGELOG.markdown","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":"codl","issuehunt":null,"otechie":null,"custom":null}},"created_at":"2017-08-03T09:21:08.000Z","updated_at":"2024-03-16T06:28:50.000Z","dependencies_parsed_at":"2023-01-21T11:46:33.835Z","dependency_job_id":null,"html_url":"https://github.com/codl/forget","commit_stats":null,"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codl%2Fforget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codl%2Fforget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codl%2Fforget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codl%2Fforget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codl","download_url":"https://codeload.github.com/codl/forget/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234391377,"owners_count":18824809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mastodon","twitter"],"created_at":"2024-08-06T17:01:17.359Z","updated_at":"2025-09-27T05:30:46.969Z","avatar_url":"https://github.com/codl.png","language":"Python","funding_links":["https://liberapay.com/codl"],"categories":["Python"],"sub_categories":[],"readme":"![Forget](assets/promo.gif)\n\n![Maintenance status](https://img.shields.io/maintenance/no/2022.svg)\n\n[![Build status](https://img.shields.io/travis/codl/forget.svg)](https://travis-ci.org/codl/forget/)\n[![Test coverage](https://img.shields.io/codecov/c/github/codl/forget.svg)](https://codecov.io/gh/codl/forget)\n\nForget is a post deleting service for Twitter, Mastodon, and Misskey.\n\n\n## Features\n\n  * Delete your posts when they cross an age threshold.\n  * Or keep your post count in check, deleting old posts when you go over.\n  * Preserve old posts that matter by giving them a favourite or a reaction.\n  * Set it and \u003ci\u003eforget\u003c/i\u003e it. Forget works continuously in the background.\n\n## Non-features\n\nForget is not a one-time purging tool. It is designed to prune your account\ncontinuously, not quickly. If you need a lot of posts gone fast, you may want\nto look for another more-suited tool.\n\n## Running your own\n\n### Requirements\n\n* Postgresql\n* Redis\n* Python 3.6+\n* Node.js 10+\n\n\n### Set up venv\n\nSetting up a venv will isolate Forget from your system's libraries and allow you to install\ndependencies locally as a normal user. It's not necessary but it is recommended!\n\n```\n$ python -m venv venv\n$ source venv/bin/activate\n```\n\nIf you're using `zsh` or `fish` as a shell, substitute `venv/bin/activate` with\n`venv/bin/activate.zsh` or `venv/bin/activate.fish`, respectively.\n\nYou will need to \"activate\" the venv in every new terminal before you can use\npip or any python tools included in dependencies (honcho, flask...)\n\n### Download and install dependencies\n\n```\n$ pip install -r requirements.txt\n$ npm install\n```\n\nWow!! Exciting\n\n### Create and complete config file\n\nGotta set up those, paths, and stuff.\n\n```\n$ cp config.example.py config.py\n$ $EDITOR config.py\n```\n\n### Set up database schema\n\nIf you haven't started postgresql yet now would be a great time to do that.\n\n```\n$ createdb forget # if you havent created the DB yet\n$ env FLASK_APP=forget.py flask db upgrade\n```\n\n### Build static assets\n\nGonna do it...!\n\n```\n$ doit\n```\n\nDone did it.\n\n### Running\n\nThe included `Procfile` will run the app server and the background worker.\n`honcho`, a `Procfile` runner, is included as a dependency:\n\n```\n$ honcho start\n```\n\nThe application server will listen on `http://127.0.0.1:42157`.\nYou'll want to use your favourite web server to proxy traffic to it.\n\n### Development\n\nFor development, you may want to use `Procfile.dev`, which starts flask in\ndebug mode and rebuilds the static assets automatically when they change\n\n```\n$ honcho -f Procfile.dev start\n```\n\nOr you could just look at `Procfile.dev` and run those things manually. It's up\nto you.\n\nYou can run the (currently very incomplete) test suite by running `pytest`.\nYou'll need redis installed on your development machine, a temporary redis\nserver will be started and shut down automatically by the test suite.\n\n## Docker\n\nThis project is also able to be deployed through Docker.\n\n1. Copy `config.docker.py` to `config.py` and add additional configurations to\n   your liking.\n1. By default, the webapp container will be listening on `127.0.0.1:42157`,\n   which you can point a reverse proxy at.\n   * If your reverse proxy is in another docker network then you'll need a\n     `docker-compose.override.yml` file to attach the `www` service to the\n     right network and not publish any ports. An example override file is\n     provided. The web app will be listening on `http://forget-www-1:42157`.\n1. By default, the `docker-compose.yml` creates relative mounts `./redis`,\n   `./postgres`, and `./celery` relative to the `docker-compose.yml` location.\n   An example `docker-compose.override.yml` file is provided that shows how to\n   change this.\n1. Run `docker-compose build` to build the image.\n1. Run `docker-compose up` to start or `docker-compose up -d` to start in the\n   background, and use `docker-compose down` to stop.\n\n## Contact\n\nIf you're having trouble with Forget, or if you're not having trouble but you\njust want to tell me you like it, you can drop me a note at\n[@codl@chitter.xyz](https://chitter.xyz/@codl) or\n[codl@codl.fr](mailto:codl@codl.fr).\n\n## Greetz\n\nThank you bea, for making ephemeral, inspiring me to make [limiter][], then this,\nin an attempt to bring ephemeral with me everywhere. ☕\n\n[limiter]: https://github.com/codl/limiter\n\nThank you to the kind folks who have emailed me to tell me Forget has made their\ntime on social media less stressful. 🌻\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodl%2Fforget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodl%2Fforget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodl%2Fforget/lists"}