Badges and tech icon rows for your README, in light and dark.
Static and live npm, Packagist and GitHub badges, profile buttons and 100+ icons, drawn as vector paths so they look the same everywhere.
badges.mscode.pl · Badges · Icons · Options · Run it yourself
shields.io, skillicons.dev and the profile view counters are great, but they come in different looks, and skillicons has no Hono, Caddy, Traefik, GoLand, Stripe, Strapi, Przelewy24 or InPost. Here badges, buttons and icons share one style, every badge has a light and a dark variant for <picture>, and the text is drawn as paths, so widths are exact and nothing gets clipped on machines without the fonts.
The page at badges.mscode.pl has a badge maker and every badge with Markdown to copy.
| Badge | URL |
|---|---|
| Static | /badge/<label>/<message>/<color>, e.g. /badge/node/22+/339933 |
| npm version, downloads, license | /npm/v/<package>, /npm/dm/<package> (also dw, dy), /npm/l/<package> |
| Packagist version, downloads, license | /packagist/v/<vendor>/<package>, /packagist/dt/... (also dm, dd), /packagist/l/... |
| GitHub Actions | /github/actions/<owner>/<repo>/<workflow file>?branch=master |
| GitHub stars, license | /github/stars/<owner>/<repo>, /github/license/<owner>/<repo> |
| Profile views | /views/<name>, ?base=1000 to start from a number. Never cached, so every view counts |
| WakaTime coding time | /wakatime/<user>, or with a range: /wakatime/<user>/7d (also 30d, 6m, 1y, all), ?lang=TypeScript for one language |
| Wakapi coding time | /wakapi/<user> on wakapi.dev, ?instance=wakapi.example.com for your own instance. Same ranges and lang |
In static badges _ is a space and __ an underscore. WakaTime and Wakapi only answer for users whose stats are public. When an upstream API fails, the badge says unknown instead of breaking the image.
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://badges.mscode.pl/icons?i=react,ts,hono&theme=dark">
<img src="https://badges.mscode.pl/icons?i=react,ts,hono&theme=light" alt="React, TypeScript, Hono" height="40">
</picture>Three themes: dark (default), light and color, where every tile takes its brand colour:
Ids follow skillicons (ts, py, postgres, idea) and accept Simple Icons slugs as aliases. perline= wraps the row, 15 by default. The icon builder lets you pick, reorder and copy a row.
| Query | Effect |
|---|---|
theme |
light (default for badges) or dark (default for icons) |
style |
flat (default) or button; for-the-badge works too |
color, labelColor |
Hex without #, or a name such as blue, green, red, orange, gray |
label |
Replaces the label; label= drops it |
icon |
An icon id; logo works too |
pnpm install
pnpm dev # http://localhost:8787
pnpm test
pnpm deploy # needs a Cloudflare accountSet GITHUB_TOKEN with wrangler secret put GITHUB_TOKEN to lift the GitHub API rate limit. A token with no scopes is enough for public repositories.
To add icons, edit the list in scripts/build-icons.mjs and run pnpm icons. pnpm banner redraws the README banners from the live service.
MIT. Badges are free to use anywhere, no attribution needed.
Badge fonts: Plus Jakarta Sans and JetBrains Mono, copies in fonts/. Page fonts: Geist and Outfit, copies in public/fonts/. All under the SIL Open Font License. Brand icons: full-colour logos from devicon (MIT, copies in icons/devicon/) and one-colour marks from Simple Icons (CC0). PHP, VS Code and LinkedIn logos from Wikimedia Commons. Logos are trademarks of their owners. PHP, Visual Studio Code, LinkedIn and InPost logos from Wikimedia Commons (public domain), Przelewy24 from przelewy24.pl, sources in icons/brand/. Logos remain trademarks of their owners.
Built and maintained by MSCode, a Polish software house that makes websites and web and mobile apps.