https://github.com/codejake/fortireleases-mastodon
https://github.com/codejake/fortireleases-mastodon
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codejake/fortireleases-mastodon
- Owner: codejake
- Created: 2023-02-03T04:05:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-15T18:25:47.000Z (over 1 year ago)
- Last Synced: 2025-04-05T11:24:43.316Z (about 1 year ago)
- Language: Python
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Fortireleases Mastodon Bot
This code checks the Fortinet Firmware Updates RSS feed, looks for new entries, and posts a tweet for each at https://hacyderm.io/@fortireleases
Take this more-or-less current source and make your own Twitter bot, or do what you want with it. I did not invest a lot of time in this, sorry.
You'll need your own API keys from https://developer.twitter.com
## Rough install process
1. Get your own API keys from https://developer.twitter.com
2. `git clone` this repo.
3. `cp config.py.sample config.py` and add your API keys.
4. Run `python3 -m venv venv && source venv/bin/activate` or whatever.
5. Run `pip install -r requirements.txt`
6. Edit `main.py` to your tastes, and run `python3 ./main.py`.
7. If you're using this code for similar purposes, you can call run.sh via crontab or systemd.