Badge generator

Show the install count of your project in its README.

Enter a repository, pick a style and copy the code into your README. The same generator sits on each repository page.

installs: 1.2kLight README
installs: 1.2kDark README

Paste your/repo or a GitHub URL. The preview shows its real count.

Style

Count

Leave it empty to show the count alone.

Count color

Label color

Logo

[![installs](https://installer.dev/YOUR/REPO/badge.svg)](https://installer.dev/YOUR/REPO)

Badge URL

The badge is an SVG image that installer.dev renders on every request. The count updates in real time, and the image is cached for up to a minute.

URL Shows
https://installer.dev/{owner}/{repo}/badge.svg Installs of one repository
https://installer.dev/badge.svg Installs through installer.dev and instl.sh

An install is one script request from a terminal. Browsers and crawlers are not counted. When the count is not available, the badge shows n/a instead of breaking.

Options

The generator sets these query parameters. You can also add them to the URL by hand.

Parameter Default Effect
label installs Text of the left half, up to 40 characters. Empty shows the count alone.
style flat flat, flat-square or for-the-badge.
platform all unix counts every macOS and Linux install, windows every Windows install. linux and macos count only the older URLs that name them.
period all time month counts the last 30 days, week the last 7. The value reads 1.2k/month.
color green Color of the count.
labelColor slate Color of the label.
logo true false hides the installer mark.

Colors take a name or hex digits without #, such as 0969da. The names are green, blue, violet, orange, red, gray, slate, black and white. Text turns dark on light colors.

An invalid value falls back to its default, so a typo never breaks the image in a README.

[![installs](https://installer.dev/{owner}/{repo}/badge.svg?style=flat-square&period=month)](https://installer.dev/{owner}/{repo})

To read the counts as data, use the Stats API.