Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

brejoc/retweeter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

retweeter

Building

Just doing a go build should be enough, since all the depencies are vendorized.

Settings

retweeter is getting the settings from env variables. For local testing you can e.g. use direnv.

In order to use the retweeter you need the following settings/env variables:

  • CONSUMER_KEY
  • CONSUMER_SECRET
  • ACCESS_TOKEN
  • ACCESS_TOKEN_SECRET

And of course the TWITTER_HASHTAG you want to listen to. The token and consumer settings can be found on Twitter's devloper page.

Deployment

To deploy retweeter on a Linux with Systemd, you can use the retweeter.service.example.

Issues and Contributions

If you've got problems or questions please don't hesitate to open an issue. If you'd like to improve something or found a bug and you want to fix it, just open a pull request.

Misc

This retweeter is a fork of https://github.com/campoy/justforfunc/tree/master/14-twitterbot