- Python 88.6%
- Shell 11.4%
| .gitignore | ||
| cooldown.json | ||
| fedi-plane-bot.service | ||
| fedi-plane-bot.timer | ||
| geo_measures_regs.txt | ||
| get_data.sh | ||
| ideas.txt | ||
| interesting_planes.txt.model | ||
| LICENSE | ||
| README.md | ||
| req.py | ||
| start.sh | ||
| type_designators.txt | ||
planes-fedi-bot
Post cool planes to fedi!
The idea
Idea is, that the account looks like Gaige is out plane spotting and posts when she sees certain planes.
These planes are listed in interesting_planes.txt.
The focus point where she looks for planes is near EDDF (Frankfurt international airport) with a range of 50
nautical miles around that point.
As data foundation serves the airplanes.live API since it is free and has basically no rate limiting (one request per
second). This will lead to uncensored, yet occasionally incomplete data when compared to other plane tracking services.
The bot (or rather little lump of python code) is written with a GoToSocial instance in mind, but since GTS uses the Mastodon API it should work with other activitypub instances as well.
Future
ToDos
-
Add a cooldown of 3h, so that Gaige doesn't post about the same plane twice
-
systemdtimer to make the bot run periodically, as of now 15mins is the target -
Expand the text Gaige posts to make it more suited to the plane she sees, adding more variety
-
Change the initial filtering from Models to ICAO Type Designators to cover more Models with less effort
Gaige, you and me get to learn Type Designators of planes :3c