Patch
Make a badge in 3 steps, then copy it into your README.
1 What should it show?
2 Make it yours
1 Whose Discord?
In Discord, turn on Developer Mode, right-click yourself and choose Copy User ID. Then join discord.gg/lanyard once so Patch can see your presence.
2 Make it yours
3 Copy it
Or start from a preset
How to use Patch
Everything from your first badge to live Discord badges. Pick a section:
1. Make a badge2. Put it in your README3. Live counts4. Discord status badges5. Convert other badges6. SVG and GIF files7. Fix problems8. Use Patch from an AI app
1. Make a badge
- Use the tabs at the top to open Badge maker.
- In step 1 leave Show on Fixed text. Type the left text (for example
build) and the right text (passing). - In step 2 pick a style, the two colors, and optionally a logo. Search by brand name, click the logo, and press Use brand color to match the brand.
- Open the dot options to turn on the status dot and choose Pulse, Blink or Bounce. The dot color is separate.
- The preview updates as you go. When it looks right, go to step 3.
2. Put it in your README
- In step 3, the Markdown tab already holds the code. Press Copy.
- Open your
README.mdon GitHub (or in your editor) and paste it where you want the badge. - To make the badge clickable, type the address into Open this when clicked before copying, for example your Discord invite or your repo. The code is then wrapped in a link.
- Use the HTML tab for websites, Image link for the plain picture address, and SVG code for the raw file.
GitHub can take a minute to refresh images. If a badge looks old, reload with Ctrl+Shift+R.
3. Live counts
Badges that update themselves. In step 1, change Show to a live source, type its ID, and copy the code as usual.
| Source | What to type |
|---|---|
| Discord members | Your permanent invite code, the part after discord.gg/ |
| GitHub stars, forks, issues, downloads, release | owner/repo, like facebook/react |
| GitHub build status | owner/repo/workflow.yml |
| GitHub followers | Your username |
| npm, PyPI, crates.io | The package name |
| Docker pulls | user/image |
| YouTube subscribers | @yourhandle |
| Product Hunt upvotes and comments | The product name from its address, like patch from producthunt.com/posts/patch |
| Bluesky, Mastodon, Reddit, Hacker News | Handle, user@instance, subreddit, or username |
Counts refresh every few minutes. The account or repo must be public.
4. Discord status badges
These show what you are doing on Discord: online status, the game you play, your code editor, Spotify and Crunchyroll. Open the Status badges tab, then follow these steps once.
- Get your user ID. In Discord open Settings, Advanced and turn on Developer Mode. Then right-click your name anywhere and choose Copy User ID. It is a long number.
- Join discord.gg/lanyard. Patch reads your presence through this free service, and it can only see people who are in that server. You can leave later, but the badges stop working.
- Allow your activity to show. In Settings, Activity Privacy, turn on sharing your activity, and do not set your status to Invisible. Invisible looks like offline.
- Connect what you want to show.
- Spotify: Settings, Connections, add Spotify, and turn on Display Spotify as your status. Then play a song.
- Visual Studio Code or IntelliJ: install a Discord Rich Presence extension or plugin from the editor's marketplace. Without it Discord cannot see your editor.
- Crunchyroll: install the PreMiD browser extension and enable its Crunchyroll option.
- Games: Discord detects most games by itself.
- Make the badge. In Status badges paste your user ID, choose the badge type, set the text and colors, and use Preview as to check both the active and the idle look.
- Copy it in step 3 and paste it into your README or profile. Presence updates within about 30 seconds.
Status badge options. Left text is the label. When nothing is on is shown when you are not playing or listening. For the Status badge, the box about idle and do not disturb makes both show as online.
Privacy. Anyone who has your user ID can see your presence through this service, not only through your badge. Leaving the Lanyard server turns it off.
5. Convert badges from other sites
- Press the Convert button next to Theme (top right).
- Paste a badge from Shields.io, StatusBadges.me, Badgen, ForTheBadge, Badge Fury or a GitHub workflow badge: Markdown, HTML, or just the address.
- StatusBadges badges (status, playing, VS Code, IntelliJ, Spotify, Crunchyroll) open in Status badges with your Discord ID and settings filled in.
- Patch fills in the text, colors, style and logo, and picks the matching live source when it can. If the badge was wrapped in a link, the link is kept.
- Change the look if you want, then copy the new code from step 3.
6. SVG and GIF files
Use Download SVG for a sharp animated file and Download GIF for an animated picture. Both are fixed copies: they do not update on their own. Use them for posters, slides and places that do not allow web addresses.
7. Fix problems
| You see | What to do |
|---|---|
| not tracked | Join discord.gg/lanyard and check the user ID has no spaces. |
| nothing rn for Spotify | Connect Spotify to Discord, turn on Display Spotify as your status, play a song, and make sure you are not Invisible. |
| nothing rn for VS Code or IntelliJ | Install the Rich Presence extension or plugin and open a file. |
| unavailable | The ID is wrong or the account or repo is private. For GitHub, try again in a few minutes. |
| no API key | That source needs a key set up by the site owner. YouTube and Product Hunt are the ones that do. |
| Badge does not show in the README | Open the image address in your browser. If it loads there, wait a minute and reload the README. |
8. Use Patch from an AI app (MCP)
Patch has an MCP server, so an AI assistant can make, convert and render badges for you while it works on your project (for example when it writes a README).
- Add this address as a remote MCP server in your AI app:
https://patch-lime.vercel.app/api/mcp - In apps that use a config file, add:
{"mcpServers":{"patch":{"url":"https://patch-lime.vercel.app/api/mcp"}}}. Command line apps usually have an add command that takes a name, the HTTP transport and the address. - Ask for what you want, for example: "Add a stars badge for my repo and a Discord status badge to the README".
| Tool | What it does |
|---|---|
create_badge | Fixed or live badge, returns Markdown and HTML |
create_status_badge | Discord presence badge for a user ID |
convert_badge | Turns a Shields.io, StatusBadges, Badgen, ForTheBadge or Badge Fury badge into a Patch badge |
render_svg | Returns the badge as SVG text |
search_logos | Finds a brand logo name |
list_options | Lists styles, live sources and badge types |