Guffer

Guffer tweets based on a daily schedule. If you've used tools like Buffer or HootSuite, this will be familiar to you.
Visit https://apps.twitter.com/app/new
Set the following environment variables in either your user profile or at the command line:
- CONSUMER_KEY
- CONSUMER_SECRET
- ACCESS_TOKEN
- ACCESS_TOKEN_SECRET
Defining guffer.json
Guffer looks for a config file, for example guffer.json
, which defines the schedule and status message (the tweet). Here's an example:
[
{
"time": "15:22",
"status": "Runs at 15:22 every day"
},
{
"time": "15:23",
"status": "Runs at 15:23 every day"
},
{
"time": "15:26",
"status": "Runs at 15:26 every day"
}
]
Running guffer
From source:
go get github.com/mrichman/guffer
cd $GOPATH/src/github.com/mrichman/guffer
CONSUMER_KEY=xxxxx CONSUMER_SECRET=xxxxx ACCESS_TOKEN=xxxxx ACCESS_TOKEN_SECRET=xxxxx go run main.go guffer.json
Binary:
CONSUMER_KEY=xxxxx CONSUMER_SECRET=xxxxx ACCESS_TOKEN=xxxxx ACCESS_TOKEN_SECRET=xxxxx guffer guffer.json
Guffer will print out a summary of the queued tweets, and log each tweet to the console. Quit with Ctrl+C
.
Contributing
If you find any bugs, please report them! I am also happy to accept pull requests from anyone.
You can use the GitHub issue tracker to report bugs, ask questions, or suggest new features.
For a more informal setting to discuss this project, you can join the Gitter chat.