/runkit

Create arbitrary live badge with RunKit's online IDE.

Website

https://runkit.com/home#endpoint

Usage

  • /runkit/:endpoint-id generate badge by data from endpoint-id.runkit.sh
  • /runkit/:endpoint-id/:args generate badge by data from endpoint-id.runkit.sh with args

How to

If you are not familiar with RunKit endpoint, this guide would help.

  1. Create a RunKit notebook (e.g.), response with JSON like:

    { subject: 'community', status: '11363 members', color: 'green' }

  2. Click "endpoint" on notebook page to get the endpoint:

    https://people-txwpy888xiuk.runkit.sh/

  3. Use this id (people-txwpy888xiuk) with Badgen, this is the badge url (with param 102909):

    https://badgen.net/runkit/people-txwpy888xiuk/102909

Examples

RunKit Notebook: https://runkit.com/amio/peoples

RunKit Notebook: https://runkit.com/amio/satisfaction

RunKit Notebook: https://runkit.com/amio/cal-badge