惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

B
Blog
Microsoft Security Blog
Microsoft Security Blog
Jina AI
Jina AI
博客园 - 叶小钗
J
Java Code Geeks
博客园 - 聂微东
博客园 - 司徒正美
大猫的无限游戏
大猫的无限游戏
阮一峰的网络日志
阮一峰的网络日志
V
V2EX
美团技术团队
WordPress大学
WordPress大学
M
MIT News - Artificial intelligence
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell
GbyAI
GbyAI
罗磊的独立博客
T
The Blog of Author Tim Ferriss
aimingoo的专栏
aimingoo的专栏
T
Tailwind CSS Blog
The Cloudflare Blog
Stack Overflow Blog
Stack Overflow Blog
N
Netflix TechBlog - Medium
小众软件
小众软件

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - jal-co/shieldcn: Beautiful README badges, inspir...
justinlevine · 2026-04-26 · via Hacker News: Show HN

shieldcn

Beautiful README badges.
A shields.io alternative styled as shadcn/ui buttons. Never paywalled.

Homepage · Docs · API Reference

stars forks license contributors last commit

About

shieldcn is an open-source badge service by Justin Levine. Every badge is free, every endpoint is public, and that's not changing.

Badges are rendered as actual shadcn/ui Button components via Satori — same font (Inter), same border-radius, same padding, same color tokens per variant and size. Not "inspired by" — the real thing, as SVG.

Built with jal-co/ui components.

Usage

![npm](https://shieldcn.dev/npm/react.svg)
![stars](https://shieldcn.dev/github/stars/vercel/next.js.svg)
![CI](https://shieldcn.dev/github/ci/jal-co/ui.svg)
![license](https://shieldcn.dev/github/license/vercel/next.js.svg)
![discord](https://shieldcn.dev/discord/1316199667142496307.svg)

Supported providers

See the docs for full endpoint details, interactive sandboxes, and copy-paste examples.

Package registries

Provider Badges Endpoint
npm version, downloads, license, node, types, dependents /npm/{package}
PyPI version, downloads, license, python version /pypi/{package}
Crates.io version, downloads, license /crates/{crate}
Docker Hub pulls, stars, version, image size /docker/pulls/{image}
Packagist version, downloads, license /packagist/v/{vendor}/{package}
RubyGems version, downloads, license /rubygems/{gem}
NuGet version, downloads /nuget/{package}
Pub.dev version, likes, points, popularity /pub/{package}
Homebrew version (formula + cask), installs /homebrew/{formula}
Maven Central version /maven/{groupId}/{artifactId}
CocoaPods version /cocoapods/{pod}
JSR version, score /jsr/{@scope}/{name}
Bundlephobia min size, minzip size, tree-shaking /bundlephobia/minzip/{package}

Code platforms

Provider Badges Endpoint
GitHub stars, forks, watchers, license, release, CI, checks, issues, PRs, milestones, commits, downloads, dependabot, and more /github/{owner}/{repo}/{topic}
Codecov coverage percentage (color-coded) /codecov/{service}/{owner}/{repo}
VS Code Marketplace installs, rating, version /vscode/installs/{publisher}/{extension}

Social

Provider Badges Endpoint
Discord online count, members /discord/{serverId}
Reddit karma, subscribers /reddit/subscribers/r/{subreddit}
Bluesky followers, following, posts /bluesky/{handle}
YouTube subscribers, channel views, video views, likes, comments /youtube/subscribers/{channelId}
Mastodon followers, following, posts /mastodon/followers/{instance}/{acct}
Lemmy subscribers, posts, comments /lemmy/subscribers/{instance}/{community}
Hacker News karma /hackernews/{userId}
Twitch live status, followers /twitch/status/{login}

Funding & Tools

Provider Badges Endpoint
Open Collective backers, sponsors, contributors, balance, budget /opencollective/backers/{slug}
WakaTime coding time /wakatime/{username}

Custom badges

Type Description Endpoint
Static Custom label/message/color /badge/{label}-{message}-{color}
Dynamic JSON Fetch any JSON API /badge/dynamic/json?url=...&query=...
HTTPS Endpoint Proxy any JSON endpoint /https/{hostname}/{path}
Memo User-stored badges (PUT API) /memo/{key}

Variants & sizes

Every badge supports shadcn Button variants and sizes:

![default](https://shieldcn.dev/npm/react.svg)
![secondary](https://shieldcn.dev/npm/react.svg?variant=secondary)
![outline](https://shieldcn.dev/npm/react.svg?variant=outline)
![ghost](https://shieldcn.dev/npm/react.svg?variant=ghost)
![destructive](https://shieldcn.dev/npm/react.svg?variant=destructive)
![branded](https://shieldcn.dev/npm/react.svg?variant=branded)

![xs](https://shieldcn.dev/npm/react.svg?size=xs)
![sm](https://shieldcn.dev/npm/react.svg?size=sm)
![default](https://shieldcn.dev/npm/react.svg?size=default)
![lg](https://shieldcn.dev/npm/react.svg?size=lg)

Icons

Three icon libraries (40,000+ icons) plus custom SVG upload:

  • Simple Icons?logo=react
  • Lucide?logo=lucide:star
  • React Icons?logo=ri:FaReact
  • Custom SVG?logo=data:image/svg+xml;base64,... — upload any SVG icon via the Badge Builder or encode it yourself

Response formats

  • .svg — SVG image (default, for READMEs and docs)
  • .png — rasterized PNG
  • .json — raw badge data
  • /shields.json — shields.io-compatible endpoint

Design principles

  • shadcn buttons, not shields.io rectangles — badges are rendered as actual shadcn Button components with real Inter font outlines via Satori
  • Everything configurable — variant, size, mode, colors, icons, opacity, split, dot — but sensible defaults so you don't have to configure anything
  • Shields.io compatible — same URL patterns for static/dynamic badges, same text encoding, shields.io JSON endpoint support
  • Open source, never paywalled — every badge type, every variant, every icon source is free

Agent skill

Install the shieldcn skill to let AI coding agents (Claude Code, Cursor, Codex, and 40+ more) add badges to your projects:

npx skills add jal-co/shieldcn

Once installed, ask your agent to "add shieldcn badges to the README" — it knows all providers, URL patterns, and query parameters.

Learn more in the skill docs.

Local development

pnpm install        # install dependencies
pnpm dev            # start dev server
pnpm build          # next build

Token pool

shieldcn uses a token pool (inspired by shields.io) to distribute GitHub API requests across many tokens. You can help by authorizing the OAuth app — read-only, zero scopes, revocable anytime.

Credits

  • shields.io — the original badge service. Inspiration for URL patterns, static badge format, and the token pool system.
  • badgen.net — inspiration for many badge types and endpoint structures, especially the GitHub badge coverage.
  • shadcn/ui — the design system these badges are built on.
  • Satori — Vercel's JSX-to-SVG engine that makes rendering React components as badge images possible.
  • jal-co/ui — the component library powering the docs site.
  • @k33bs — creator of shieldcngen, the badge generator tool powering the /gen page.

Contributing

PRs welcome. See AGENTS.md for architecture overview.

License

MIT