spacex-hop-bot

command module
v0.0.0-...-8c4bcf2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2023 License: MIT Imports: 10 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
This file defines basically everything the matcher does by specifying positive and negative keywords
This file defines basically everything the matcher does by specifying positive and negative keywords

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL