Badge Generator for Your Glitch Apps


#1

Project URL: https://glitch.com/edit/#!/badge?path=README.md

Glitch badge which serves success or failed image depending on response code of your Glitch app

Usage

Create an image with source https://badge.glitch.me/{app-name}.


Examples:

Markdown:

![Glitch Badge](https://badge.glitch.me/trello-shopping-list)

HTML:

<img src="https://badge.glitch.me/trello-shopping-list" alt="Glitch Badge">

#2

Very very nice! I love it, good job.


#3

this is such a great idea!

i did find a bug where you’re sending req[0] as the app name, but you had already converted the array to a string - so if i did badge.glitch.me/wowowowoowowow-sure (which doesn’t exist as of my typing it) it would show as live because it was really checking for w.glitch.me (which does exist) - w being the 0th index of “wowowowoowowow-sure”. change your req[0]'s to just req and you should be good to go (or compare to my remix here https://glitch.com/edit/#!/ivy-tv?path=server.js:34:0)


#4

I noticed the same. Weirdly it was working before.

EDIT:
Problem fixed. Now this app can show Heroku badges too. https://github.com/4D48/glitch-badge#heroku-support