Simple heroku badge that serves an success or failed image depends on the heroku response.
JavaScript HTML
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 9 commits ahead, 34 commits behind pussinboots:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
.gitignore
.travis.yml
README.md
package.json
server.js

README.md

heroku-badges

Build Status Dependencies Heroku

##Usage

Create an img with src https://heroku-badges.herokuapp.com/?app={app-name}. E.g.,

HTML:

<img src="https://heroku-badges.herokuapp.com/?app=heroku-badges" />

Markdown:

[![Heroku](https://herok-badges.herokuapp.com/?app=heroku-badges)]

If the heroku app has no index.html than use the root query parameter to specify the url to check if heroku response with http status 200.

HTML:

<img src="http://heroku-badges.herokuapp.com/?app=heroku-badges&root=products-e2e.html" />

Markdown:

[![Heroku](http://heroku-badges.herokuapp.com/?app=heroku-badges&root=products-e2e.html)]

##Todo

  • configurable heroku check url
  • add flat badges

##Copyright

The badges are made by me but feel free to use and copy it of course you have to copy it into your heroku app.

License

heroku-badges is released under the MIT License.