百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

badges

> 编程语言
开源

:flower_playing_cards: 标准和可接受的徽章列表

392 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

:flower_playing_cards: 标准和可接受的徽章列表

badges

To make badges more standard and acceptable.

Alternative: default, flat-square, dynamic-fore-color, dynamic-fore-color (flat_square).

A collection of badges designed for personal repositories, and I hope that all of these badges can be widely accepted and used in the document of any project so that they can become more and more standard. If you also have some new ideas about badges, just open an issue. Always remember that: More than a coder, more than a designer.

So, how to create such cute badges? It's very simple. As it's only registered on npm, you should install it by typing:

bash
sudo npm install -g badges-cli

Then you can use this command-line tool for creating badges yourself:

Take the following command as an example, t means text content, and c means color. If you want to create a badge with SVG sources, you can specify with p to tell the tool where to find your sources. Finally, o is used to specify where to export the badge.

bash
badge -t Alipay -c "#1CACEB" -p alipay.svg -o output.svg

One more thing, according to the suggestion during creating badges for Jest, this tool has been extended to support skins with s to specify, which value can be "light" or "dark" temporarily at this moment.

To uninstall the tool, you can just uninstall it by typing:

bash
sudo npm uninstall -g badges-cli

As for how to create a badge and add it to the collection? There are some steps you may need to follow:

  1. Fork the repository and checkout the main branch
  2. Install dependencies by running npm i
  3. Create a logo with SVG formatted (recommended) or other formats like PNG. (The logo should be wrapped into a square, in other words, the width should be equal to the height, or it would have been horizontally squished.)
  4. Save the logo in the folder icon
  5. Add data for your badge in the file script/data.js
    javascript
    const data = {
        // ...
        'React Router': {
            fileName: 'react-router.svg',
            color: '#D0021B',
            description: 'A badge used for projects using React Router'
        },
    };
  6. Run the command npm run build to build to test and to prettify data.js
  7. If successful, the readme file will be automatically updated
  8. Finally, push the icon and modification of the data file and create a pull request for your change, the GitHub Action will build all for you, Done!!

Note that: so far haven't thought out a perfect solution for calculating the width of text accurately yet, and it means that the text can not be aligned in some cases.

Note: if you like this project, feel free to buy me a swimming chance:

AI

  • A badge used for projects utilizing Grok
  • A badge used for projects utilizing OpenAI models
  • A badge used for projects built with PyTorch
  • A badge used for projects utilizing Anthropic models
  • A badge used for projects utilizing Hugging Face
  • A badge used for projects built with LangChain
  • A badge used for projects built with LangGraph
  • A badge used for projects utilizing GLM models provided by z.ai
  • A badge used for projects utilizing Qwen
  • A badge used for projects utilizing DeepSeek
  • A badge used for projects utilizing Google Gemini

Coder

  • A badge used for projects built with Next.js
  • A badge used for projects which provide command-line interfaces
  • A badge used for projects using Terser for compressing JavaScript
  • A badge used for projects running on CodePen
  • A badge used for GitHub repositories
  • A badge used for hacking projects (Business Using is not allowed)
  • A badge for the IDEA editor
  • A badge used for projects built with Rome
  • A badge used for projects using Elasticsearch
  • A badge used for projects using Kibana
  • A badge used for projects using Logstash
  • A badge used for books publish by Gitbook
  • A badge used for books publish by Gitbook
  • A badge used for Chrome extensions
  • A badge used for projects using Gulp to build
  • A badge used for repositories which has used the framework, Angular
  • A badge used for projects using Redis
  • A badge used for projects which has used ember.js for templating
  • A badge used for projects that coded with Rust
  • A badge used for projects using PostCSS
  • A badge used for projects built with Svelte
  • A badge used for Gitlab repositories
  • A badge used for projects using HTML 5
  • A badge used for projects using Mocha for unit tests
  • A badge used for bower packages
  • A badge used for projects which has used squirrelly for templating
  • A badge used for projects that coded with Java
  • A badge used for TC39 committee
  • A badge used for proposals under stage 1 of TC39 committee
  • A badge used for proposals under stage 2 of TC39 committee
  • A badge used for proposals under stage 3 of TC39 committee
  • A badge used for proposals under stage 4 of TC39 committee
  • A badge used for projects which has used Handlebars for templating
  • A badge used for projects built with Parcel
  • A badge used for projects which has used Pug for templating
  • A badge used for projects using Grafana
  • A badge for the Sulime Text editor
  • A badge used for RSS subscribing
  • A badge used for projects using grunt to build
  • A badge use for projects using Tensorflow
  • A badge used for projects built with ESBuild
  • A badge used for projects that coded with JavaScript
  • A badge used for projects which has used ejs (Embedded JavaScript templates) for templating
  • A badge used for projects which has used Nunjucks for templating
  • A badge used for projects built with Node.js
  • A badge used for projects using MongoDB
  • A badge for the Atom editor
  • A badge used for projects using Mongo DB
  • A badge used for projects using CSSNano for compacting CSS
  • A badge used for repositories which has used the framework, Vue
  • A badge used for books publish by Vuepress
  • A badge used for projects using Supabase
  • A badge used for documents written on Apiary
  • A badge used for projects built with FastAPI
  • A badge used for projects using TailwindCSS
  • A badge used for projects that coded with Golang
  • A badge used for repositories that using React
  • A badge used for projects deployed on Docker
  • A badge used for projects that coded with Kotlin
  • A badge for the Visual Studio Code IDE
  • A badge used for repositories that using [backb

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScriptbadge

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言