Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A small / embrionary sinatra app that connects Github and Wedoist

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 config
Octocat-spinner-32 github
Octocat-spinner-32 message
Octocat-spinner-32 templates
Octocat-spinner-32 wedoist
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.md
Octocat-spinner-32 config.ru
Octocat-spinner-32 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).

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

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

  5. 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.

Something went wrong with that request. Please try again.