Initial commit
Toots the next upcoming SpaceX launch as listed here: https://www.reddit.com/r/spacex/wiki/launches/manifest
You need Ruby (probably 2.3 or higher).
Install gems:
gem install bundler
bundle install
Create an account on Mastodon and create an OAuth App. Copy "Your access token" which is your bearer token for use in the next command...
TOKEN=abc123 ruby tooter.rb
DEBUG=true ruby tooter.rb
The script will just print out the message to the screen.