A small / embrionary sinatra app that connects Github and Wedoist taking advantage of Github Webhooks and Wedoist API. Documentation is an ongoing process. :)
-
Get the code:
git clone https://github.com/jvalente/pushist.git
-
Configure the app to post on your projects:
Add a config.yml
file to the config/
folder.
Wedoist.com does not provide an API key, since there is not official API support yet - https://wedoist.com/Support/showQuestion/572/. This means that Pushist will need to login as a normal user to be able to post on the timeline. This login information has to be added to the config.yml
file as well as the the project id that you want to integrate with github and the name for the template message you want to use (this is optional). All this info should be nested under a block with the name of the repo you want to track (check config.yml.example
as an example). Add as many blocks as you want (one account can interact with different projects).
-
Deploy the app (an example follows considering a deploy to heroku):
heroku create pushist --stack cedar git push heroku master
-
Add http://yourappdomain/listen as a WebHook URL to the github repos you want to track on Wedoist (Check: Post-Receive Hooks).
-
In case you have created a Wedoist account for this purpose don't forget to invite it to the projects you need.
Under the folder templates/
you can add other templates to better suit your needs. This represent the format of the message that will be posted as a status update. The default template will produce something like this:
Pushist avatar credits to Jason Costello :D
Feedback / Questions @jvalente.