A tool for tooting tweets from your favorite accounts
Follow us at @rubydev@octodon.social
Currently, we are only following @RubyInside, @rubyflow, and @DriftingRuby from Twitter, but are open to more useful Ruby Development News accounts! Open an issue to suggest new accounts!
git clone https://github.com/jstumbaugh/tweet-to-toot
Create a twitter app and generate access
tokens. Store these in the env.example
file.
Store the instance URL, login email, and password in the env.example
file.
Store these account handles in the env.example
file.
# Twitter handles in a comma separated list
TWITTER_HANDLES_TO_TOOT='RubyInside, rubyflow'
Store your hashtags to add in the env.example
file. These will be appended to
the end of the tweets and posted to Mastodon.
# Hashtags to be appended to the Toots
HASHTAGS='#RubyDevNews #TweetToToot'
You can run the rake task
bundle exec rake
which will loop forever, or you can spin up a Docker image with:
make
which builds a docker image, starts it, and begins Tooting!