Skip to content

jstumbaugh/tweet_to_toot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tweet_to_toot

A tool for tooting tweets from your favorite accounts

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!

Steps to install

1. Clone the Repository

git clone https://github.com/jstumbaugh/tweet-to-toot

2. Create a Twitter app to get the access keys

Create a twitter app and generate access tokens. Store these in the env.example file.

3. Create a Mastodon Account to post the Tweets to

Store the instance URL, login email, and password in the env.example file.

4. Pick the Twitter Accounts to follow and post to Mastodon

Store these account handles in the env.example file.

# Twitter handles in a comma separated list
TWITTER_HANDLES_TO_TOOT='RubyInside, rubyflow'

Pro Tip: Add hashtags to tie all of your toots together

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'

5. Run the task to toot tweets

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!

Enjoy!

About

Toot tweets from your favorite Twitter accounts!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published