{"id":25647086,"url":"https://github.com/gitlimes/dcbadge","last_synced_at":"2026-02-03T05:56:58.509Z","repository":{"id":42489930,"uuid":"376613342","full_name":"gitlimes/dcbadge","owner":"gitlimes","description":"a customizable badge displaying the online status of a discord account, or the member count of a server","archived":false,"fork":false,"pushed_at":"2025-12-03T22:16:15.000Z","size":310,"stargazers_count":264,"open_issues_count":0,"forks_count":59,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-20T21:45:10.423Z","etag":null,"topics":["badge-generator","dcbadge","discord","discord-md-badge","markdown","profile-readme"],"latest_commit_sha":null,"homepage":"https://dcbadge.limes.pink/api/shield/USERID","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gitlimes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"liberapay":"limes","ko_fi":"limesdotpink"}},"created_at":"2021-06-13T18:25:52.000Z","updated_at":"2026-01-17T05:23:53.000Z","dependencies_parsed_at":"2024-05-07T23:29:59.418Z","dependency_job_id":"ea001840-2778-4081-9bf4-6ea65c759b29","html_url":"https://github.com/gitlimes/dcbadge","commit_stats":null,"previous_names":["gitlimes/discord-md-badge","gitlimes/dcbadge","ashmonty/discord-md-badge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gitlimes/dcbadge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitlimes%2Fdcbadge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitlimes%2Fdcbadge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitlimes%2Fdcbadge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitlimes%2Fdcbadge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitlimes","download_url":"https://codeload.github.com/gitlimes/dcbadge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitlimes%2Fdcbadge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29035064,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T02:28:16.591Z","status":"ssl_error","status_checked_at":"2026-02-03T02:27:48.904Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["badge-generator","dcbadge","discord","discord-md-badge","markdown","profile-readme"],"created_at":"2025-02-23T11:02:17.275Z","updated_at":"2026-02-03T05:56:58.470Z","avatar_url":"https://github.com/gitlimes.png","language":"JavaScript","funding_links":["https://liberapay.com/limes","https://ko-fi.com/limesdotpink"],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003ch1 style=\"text-align: center\"\u003eDiscord Markdown Badge\u003c/h1\u003e\n\nA customizable badge that shows your Discord account, a server invite, or a bot account.\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003cth\u003e\u003ca href=\"#user-account\"\u003eUser Account\u003c/a\u003e\u003c/th\u003e\n    \u003ctd\u003e\u003cimg src=\"https://dcbadge.limes.pink/api/shield/406125028065804289\" alt=\"\" /\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003cth\u003e\u003ca href=\"#server-invite\"\u003eServer Invite\u003c/a\u003e\u003c/th\u003e\n    \u003ctd\u003e\u003ca target=\"_blank\" href=\"https://discord.gg/zkspfFwqDg\"\u003e\u003cimg src=\"https://dcbadge.limes.pink/api/server/zkspfFwqDg\" alt=\"\" /\u003e\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n    \u003ctr\u003e\n    \u003cth\u003e\u003ca href=\"#bot-account\"\u003eBot Account\u003c/a\u003e\u003c/th\u003e\n    \u003ctd\u003e\u003cimg src=\"https://dcbadge.limes.pink/api/shield/852977967776399400?bot=true\" alt=\"\" /\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## Set up\n\n### User Account\u0026nbsp;\u0026nbsp;\u0026nbsp;![](https://dcbadge.limes.pink/api/shield/406125028065804289)\n\n1. Join the [Discord server](https://discord.gg/zkspfFwqDg) (required, as that's where the bot gets your presence information from)\n2. Your shield will become available at `https://dcbadge.limes.pink/api/shield/USERID`\n   \u003cbr\u003e(replace `USERID` with [your Discord user ID](https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID-))\n\nTo embed the shield in a Markdown file, do this:\n\u003cbr\u003e`![](https://dcbadge.limes.pink/api/shield/USERID)`\n\n### Server Invite\u0026nbsp;\u0026nbsp;\u0026nbsp;[![](https://dcbadge.limes.pink/api/server/zkspfFwqDg)](https://discord.gg/zkspfFwqDg)\n\n1. Create an invite for your server; make sure to set it to never expire!\n2. Your shield will become available at `https://dcbadge.limes.pink/api/server/INVITE`\u003cbr\u003e(e.g. `https://dcbadge.limes.pink/api/server/https://discord.gg/zkspfFwqDg`)\n\nTo embed the shield in a Markdown file, do this:\n\u003cbr\u003e`[![](https://dcbadge.limes.pink/api/server/INVITE)](https://discord.gg/INVITE)`\n\n### Bot Account\u0026nbsp;\u0026nbsp;\u0026nbsp;![](https://dcbadge.limes.pink/api/shield/852977967776399400?bot=true)\n\n1. DM me (![](https://dcbadge.limes.pink/api/shield/406125028065804289?style=flat\u0026compact=true)) your bot's invite link\n2. Wait for me to read the DM (it might take some time as it's a manual process)\n3. Your shield will become available at `https://dcbadge.limes.pink/api/shield/BOTID?bot=true`\n   \u003cbr\u003e(replace `BOTID` with [your Discord bot's user ID](https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID-))\n\nTo embed the shield in a Markdown file, do this:\n\u003cbr\u003e`![](https://dcbadge.limes.pink/api/shield/BOTID?bot=true)`\n\n## Styling\n\nYou can chain parameters by connecting them with `\u0026` (e.g. `?style=flat\u0026theme=clean\u0026compact=true`).\n\n### `style`\n\nThis uses [shields.io](https://shields.io) under the hood, so you can just use one of the styles from there via the `?style=` param.\n\n| Badge                                                                                               | Style         | Query                |\n| :-------------------------------------------------------------------------------------------------- | :------------ | :------------------- |\n| ![flat](https://dcbadge.limes.pink/api/shield/852977967776399400?bot=true\u0026style=flat)               | flat          | `?style=flat`        |\n| ![flat-square](https://dcbadge.limes.pink/api/shield/852977967776399400?bot=true\u0026style=flat-square) | flat-square   | `?style=flat-square` |\n| ![for-the-badge (default)](https://dcbadge.limes.pink/api/shield/852977967776399400?bot=true)       | for-the-badge | None (default)       |\n| ![plastic](https://dcbadge.limes.pink/api/shield/852977967776399400?bot=true\u0026style=plastic)         | plastic       | `?style=plastic`     |\n| ![social](https://dcbadge.limes.pink/api/shield/852977967776399400?bot=true\u0026style=social)           | social        | `?style=social`      |\n\n### `theme`\n\nYou can also use the `theme` query option to change the colors of the shield (the green in the following badges corresponds to the online/idle/dnd/offline status)\n\n| Badge                                                                                                         | Theme            | Query                     |\n| :------------------------------------------------------------------------------------------------------------ | :--------------- | :------------------------ |\n| ![default](https://dcbadge.limes.pink/api/shield/852977967776399400?bot=true)                                 | Default          | None (default)            |\n| ![default-inverted](https://dcbadge.limes.pink/api/shield/852977967776399400?bot=true\u0026theme=default-inverted) | Default inverted | `?theme=default-inverted` |\n| ![clean](https://dcbadge.limes.pink/api/shield/852977967776399400?bot=true\u0026theme=clean)                       | Clean            | `?theme=clean`            |\n| ![clean-inverted](https://dcbadge.limes.pink/api/shield/852977967776399400?bot=true\u0026theme=clean-inverted)     | Clean inverted   | `?theme=clean-inverted`   |\n| ![dc](https://dcbadge.limes.pink/api/shield/852977967776399400?bot=true\u0026theme=discord)                        | Discord          | `?theme=discord`          |\n| ![dc-inverted](https://dcbadge.limes.pink/api/shield/852977967776399400?bot=true\u0026theme=discord-inverted)      | Discord inverted | `?theme=discord-inverted` |\n| ![full-presence](https://dcbadge.limes.pink/api/shield/852977967776399400?bot=true\u0026theme=full-presence)       | Full presence    | `?theme=full-presence`    |\n| ![grey](https://dcbadge.limes.pink/api/shield/852977967776399400?bot=true\u0026theme=gray)                         | Gray             | `?theme=gray`             |\n| ![blurple](https://dcbadge.limes.pink/api/shield/852977967776399400?bot=true\u0026theme=blurple)                   | Blurple          | `?theme=blurple`          |\n\nNote: the `theme` option will not work with the social `style`.\n\n### `compact`\n\nMakes the badge more compact, at the expense of the status text/member count.\n\n| Badge                                                                                      | Query           |\n| :----------------------------------------------------------------------------------------- | :-------------- |\n| ![compact](https://dcbadge.limes.pink/api/shield/852977967776399400?bot=true\u0026compact=true) | `?compact=true` |\n\n### `logoColor`\n\nYou can pass a color for the logo (the examples below use `\u0026theme=default-inverted` to make the change more evident)\n\n| Badge                                                                                                                    | Query                 | Description                                             |\n| :----------------------------------------------------------------------------------------------------------------------- | :-------------------- | :------------------------------------------------------ |\n| ![presence](https://dcbadge.limes.pink/api/shield/852977967776399400?bot=true\u0026logoColor=presence\u0026theme=default-inverted) | `?logoColor=presence` | Changes the color of the logo according to the presence |\n| ![word](https://dcbadge.limes.pink/api/shield/852977967776399400?bot=true\u0026logoColor=pink\u0026theme=default-inverted)         | `?logoColor=pink`     | Supported colors [here](https://shields.io/#colors)     |\n| ![hex](https://dcbadge.limes.pink/api/shield/852977967776399400?bot=true\u0026logoColor=ff6b6b\u0026theme=default-inverted)        | `?logoColor=ff6b6b`   | Any hex code, without the `#`                           |\n\n## I've added this to my GitHub bio and it doesn't work!\n\nThis **won't** work in bios, only in profile readmes (and any other part of GitHub that supports markdown).\n[Here](https://mansik16.medium.com/adding-a-readme-to-your-github-profile-2ec88bfedeb)'s some info on what a profile readme is and how to set it up.\n\nFor any questions feel free to contact me on Discord (![](https://dcbadge.limes.pink/api/shield/406125028065804289?style=flat\u0026compact=true)) or via email ([mdbadge@limes.pink](mailto:mdbadge@limes.pink))\n\n## HTML\n\nThe API returns an SVG image, so you can embed it in your html just like you would with any other image:\n\n```html\n\u003cimg\n  src=\"https://dcbadge.limes.pink/api/shield/USERID\"\n  alt=\"write a description depending on your usage\"\n/\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitlimes%2Fdcbadge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitlimes%2Fdcbadge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitlimes%2Fdcbadge/lists"}