xarantolus / spacex-hop-bot

Twitter bot that (re)tweets relevant info about the SpaceX Starship

Home Page:https://twitter.com/wenhopbot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spacex-hop-bot

This is a Twitter bot that informs about progress on the SpaceX Starship by retweeting interesting tweets about it. There is a special focus on tweets from locations where Starships are built/launched, tagging tweets with a location helps the bot find them.

Each day the bot sees and rates an average of 25k tweets (~17 per minute), of which around 20-50 are retweeted (some outliers are of course special events like launches). An extensive test suite is used to minimize the probability of misjudgements.

The bot reads tweets from the following sources:

These tweets are retweeted, if:

Some keywords and (mostly satire) accounts are filtered out to prevent spam. The bot tries to only retweet real information, which is why animations and similar are also filtered.

It also does some background tasks:

  • Watching the SpaceX YouTube channel for livestreams. As soon as a stream about Starship goes live (or has a countdown), the bot will tweet a link.
  • Checking the Starship website from time to time to tweet if the mentioned date or Starship changed

You can use this Twitter search link to see these tweets.

Contributing

If you have any suggestions for additional sources (like accounts or lists to follow) or anything else please open an issue (or write an e-mail to x@010.one).

If you want to edit the code, my first suggestion would be checking out the file that defines positive and negative keywords for the matcher. The tests (run go test ./...) will tell you if everything still works after your changes.

About

Twitter bot that (re)tweets relevant info about the SpaceX Starship

https://twitter.com/wenhopbot

License:MIT License


Languages

Language:Go 100.0%