Skip to content

✨ feat(badges): add the badge and icon service - #1

Closed
msikorski26 wants to merge 1 commit into
masterfrom
feat/service
Closed

msikorski26 wants to merge 1 commit into
masterfrom
feat/service

Conversation

@msikorski26

Copy link
Copy Markdown
Member

Cloudflare Worker for badges.mscode.pl.

  • Static badges: /badge/<label>/<message>/<color>
  • Live badges: npm version, downloads and license; Packagist version, downloads and license; GitHub Actions status, stars and license. Upstream results are cached; failures show an unknown badge.
  • theme=light|dark on every badge, style=button for profile buttons
  • Icon rows at /icons?i=..., 107 icons including Hono, Caddy, Traefik, GoLand, Stripe, Strapi, Przelewy24 and InPost
  • Text drawn as paths from Plus Jakarta Sans and JetBrains Mono, with latin-ext fallback for Polish letters
  • Docs page at / with copy-paste Markdown
  • 42 tests: URL parsing, rendering, and every adapter with mocked fetches

Not deployed yet. VS Code, LinkedIn, Przelewy24 and InPost render as lettered tiles until official logo SVGs are added.

Cloudflare Worker that renders static badges, live npm, Packagist and GitHub badges, larger buttons and tech icon rows in light and dark, with text drawn as paths. Includes the docs page, tests with mocked fetches and CI.
@msikorski26
msikorski26 deleted the feat/service branch November 27, 2026 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant