A small / embrionary sinatra app that connects Github and Wedoist
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
github Message will be delivered based on a ERB template Jun 22, 2012
message
templates Message will be delivered based on a ERB template Jun 22, 2012
wedoist Added class to receive github payload. Jun 15, 2012
.gitignore Added class to receive github payload. Jun 15, 2012
Gemfile added gemfile and config.ru Jun 15, 2012
Gemfile.lock
README.md Update master Jul 5, 2012
config.ru included proper script on config.ru Jun 15, 2012
pushist.rb

README.md

Pushist

A small / embrionary sinatra app that connects Github and Wedoist taking advantage of Github Webhooks and Wedoist API. Documentation is an ongoing process. :)

Instalation

  1. Get the code:

     git clone https://github.com/jvalente/pushist.git
    
  2. Configure the app to post on your projects:

Add a config.ymlfile 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).

  1. Deploy the app (an example follows considering a deploy to heroku):

     heroku create pushist --stack cedar
     git push heroku master
    
  2. Add http://yourappdomain/listen as a WebHook URL to the github repos you want to track on Wedoist (Check: Post-Receive Hooks).

  3. In case you have created a Wedoist account for this purpose don't forget to invite it to the projects you need.

Message Templates

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:

pushistexample

Pushist avatar credits to Jason Costello :D

Contact

Feedback / Questions @jvalente.