The code behind @optimistic_dev.
Everything is awesome, let's tell people how awesome their github projects are!
Introduction
This twitter bot keeps track of links to github projects, and when a given project has been tweeted
five times, tells everyone how awesome the project is.
Contributing
I'd love improvements to the code, here are the steps you need to go through to make it work.
-
Set up a Go development envrionment.
-
Fork this repo on github.
-
Download your copy of the code.
go get github.com/YOUR_NAME/optimistic_dev
-
Create your own app on apps.twitter.com, make sure it has read-write permissions.
-
Create a file called .env in $GOPATH/src/github.com/YOUR_NAME/optimistic_dev/.env
that contains the following content based on your app settings:
TWITTER_CONSUMER_KEY=<...>
TWITTER_CONSUMER_SECRET=<...>
TWITTER_ACCESS_KEY=<...>
TWITTER_ACCESS_SECRET=<...>
-
Build the app
go build
-
Run it
./optimistic_dev
-
Make any code changes you'd like, and test that they work.
-
Commit your changes
-
Push them to your fork
-
Send me a pull request
License
optimistic_dev is licensed under the MIT license, see LICENSE.MIT for details.