Wasteof if it were Twitter in 2015
Tweetof is a custom wasteof.money client designed to look like Twitter circa 2015. It is a basic Flask application with the goal to offer most wasteof features (aside from account settings, use wasteof.money for that) and some extra quality-of-life improvements such as better embeds for links on Discord and Twitter. It is accessible at tweetof.jab11n.tech.
If you want to test the project and make changes locally, it's super easy. Ensure you have Python 3 installed, then install the dependencies with pip:
pip install flask requests beautifulsoup4
After that, you can run the Flask server:
flask run --port 8000 --debug
Note
Use port 8000, 8001, 3000, or 5173 when testing locally because those ports on localhost are whitelisted by the wasteof.money API. When visiting in your browser, you must visit localhost as 127.0.0.1 and similar are not whitelisted in the wasteof.money API.
You'll need to have permission from jeffalo to get your domain whitelisted.
If you're going to run this in production, install gunicorn:
pip install gunicorn
then run the Flask application.
gunicorn -w 4 -b 0.0.0.0:8000 app:app
Note
It's recommended here to use port 8000 as well if you'll be accessing it from the device running the server, otherwise it doesn't really matter because you can just use it at your domain via Cloudflare tunnel or whatever.
You can join my Discord server to talk about this and my other projects, ping me @jab11n in the wasteof Discord server, or email me at hi at jab11n dot tech.
