Skip to content
/ retweet Public

🧢 A clojure bot to retweet tweets made by users using some hashtags

License

Notifications You must be signed in to change notification settings

bzg/retweet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter bot to retweet tweets made by users when they tweet using some hashtags.

Configure

Create a Twitter app

You first need to create a Twitter application.

Set up environment variables

export RETWEET_CONSUMER_KEY=""
export RETWEET_CONSUMER_SECRET=""
export RETWEET_USER_TOKEN=""
export RETWEET_USER_TOKEN_SECRET=""
export RETWEET_ACCOUNTS="user1 user2"
export RETWEET_HASTAGS="hashtag1 hashtag2"

When tweets by user1 or user2 tweets contain #hashtag1 or #hashtag1, they will be retweeted.

Deploy

As a jar file

~$ lein uberjar
~$ java -jar target/retweet-0.3-standalone.jar

Contribute

Contributions are welcome as issues, questions or code.

Support the Clojure ecosystem

If you like Clojure, please consider supporting Clojure developers by donating to clojuriststogether.org. Thanks!

License

2019-2021 Bastien Guerry

Licensed under the EPL 2.0.

About

🧢 A clojure bot to retweet tweets made by users using some hashtags

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published