custom-icon-badges

custom-icon-badges

GitHub 徽章图标和徽标定制工具

Custom Icon Badges 是一款增强 shields.io 徽章功能的开源工具。它支持使用 Octicons、Feather Icons 以及 2000 多个品牌图标,并允许上传自定义图标。该工具简化了 GitHub 项目徽章的创建过程,帮助开发者更好地展示项目特性。通过整合多种图标资源和自定义上传功能,Custom Icon Badges 扩展了 shields.io 的徽章设计能力,为开发者提供了丰富的选择,使 GitHub 仓库的徽章更加个性化和信息丰富。

Custom Icon BadgesGitHub徽章图标开源项目Github

自定义图标徽章

stars issues license discord

允许用户在shields.io徽章上更轻松地使用Octicons和自己的图标和标志。

⚡ 如何使用

  1. shields.io获取徽章URL。

  2. img.shields.io替换为custom-icon-badges.demolab.com

  3. 使用任何可用的短语作为logo查询参数或上传您自己的

https://yellow-cdn.veclightyear.com/835a84d5/2482920e-e0b9-4c0b-a9ba-22fa8266ab95.svg?logo=paintbrush&logoColor=white

预览:

img

  1. 大功告成!在您的HTML或markdown中使用图片URL!如果觉得有用,请给这个仓库点个星!⭐

🖼️ 现有标志

以下是已经可用的现有图标和标志的示例。

Simple Icons

shields.io已经支持Simple Icons中的2000多个品牌图标。

您可以在这里找到每个品牌的短语列表。

Octicons

自定义图标徽章支持GitHub的所有250多个Octicons

短语示例
issue-openedissue-opened
repo-forkedrepo-forked
starstar
git-commitgit-commit
reporepo
git-pull-requestgit-pull-request
heartheart
mailmail
更多Octicons查看全部 ⇨

Feather Icons

自定义图标徽章支持所有250多个Feather Icons

注意: 要使用Feather Icons,除了logo参数外,还必须在URL中添加查询参数logoSource=feather

短语示例
activityactivity
alert-trianglealert-triangle
awardaward
bar-chartbar-chart
boxbox
cameracamera
castcast
commandcommand
dollar-signdollar-sign
download-clouddownload-cloud
upload-cloudupload-cloud
tvtv
youtubeyoutube
更多Feather Icons查看全部 ⇨

其他

ceyloncolor-swatchcontrollerissue
fireflagtranslatetrending-up
trending-downphonepygamegrey-pygame
添加你自己的!上传图标

➕ 添加新的图标

使用演示网站上传新图标!

文件类型可以是SVG、PNG等,但只有SVG格式支持使用logoColor参数来覆盖图标的颜色。

如果你认为你的图标对他人有用,欢迎提交PR将其添加到上方的README中!

演示网站:https://custom-icon-badges.demolab.com

image

🚀 使用示例

点击获取URL!

[![stars][1]][1] [![open issues][2]][2] [![license][3]][3] [![build][4]][4] [![last commit][5]][5] [![total contributions][26]][26]

[![code size][6]][6] [![pr closed][7]][7] [![tag][8]][8] [![rating][9]][9] [![github streak][25]][25]

[![followers][10]][10] [![stars][11]][11] [![fork][12]][12] [![watch][13]][13] [![downloads social][14]][14]

[![my repos][15]][15] [![downloads][16]][16] [![phone][17]][17] [![email][18]][18] [![location][19]][19]

[![open issue][20]][20] [![discuss][21]][21] [![install package][22]][22] [![use template][23]][23] [![github action][24]][24] [1]: https://custom-icon-badges.demolab.com/github/stars/DenverCoder1/custom-icon-badges?logo=star [2]: https://custom-icon-badges.demolab.com/github/issues-raw/DenverCoder1/custom-icon-badges?logo=issue [3]: https://custom-icon-badges.demolab.com/github/license/denvercoder1/custom-icon-badges?logo=law [4]: https://custom-icon-badges.demolab.com/github/actions/workflow/status/DenverCoder1/custom-icon-badges/ci.yml?branch=main&logo=check-circle-fill&logoColor=white [5]: https://custom-icon-badges.demolab.com/github/last-commit/DenverCoder1/custom-icon-badges?logo=history&logoColor=white [6]: https://custom-icon-badges.demolab.com/github/languages/code-size/DenverCoder1/custom-icon-badges?logo=file-code&logoColor=white [7]: https://custom-icon-badges.demolab.com/github/issues-pr-closed/DenverCoder1/custom-icon-badges?color=purple&logo=git-pull-request&logoColor=white [8]: https://custom-icon-badges.demolab.com/github/v/tag/DenverCoder1/custom-icon-badges?logo=tag&logoColor=white [9]: https://custom-icon-badges.demolab.com/chrome-web-store/rating/ogffaloegjglncjfehdfplabnoondfjo?logo=thumbsup&logoColor=white [10]: https://custom-icon-badges.demolab.com/github/followers/DenverCoder1?logo=person-add&style=social&logoColor=black [11]: https://custom-icon-badges.demolab.com/github/stars/DenverCoder1/custom-icon-badges?logo=star&style=social&logoColor=black [12]: https://custom-icon-badges.demolab.com/github/forks/DenverCoder1/custom-icon-badges?logo=fork&style=social&logoColor=black [13]: https://custom-icon-badges.demolab.com/github/watchers/DenverCoder1/custom-icon-badges?logo=eye&style=social&logoColor=black [14]: https://custom-icon-badges.demolab.com/npm/dw/react-bootstrap?logo=download&style=social&label=Download&logoColor=black [15]: https://custom-icon-badges.demolab.com/badge/-My%20Repos-blue?style=for-the-badge&logoColor=white&logo=repo [16]: https://custom-icon-badges.demolab.com/badge/-Download-F25278?style=for-the-badge&logo=download&logoColor=white [17]: https://custom-icon-badges.demolab.com/badge/-123--456--7890-orange?style=for-the-badge&logo=phone&logoColor=white [18]: https://custom-icon-badges.demolab.com/badge/-hermione@spew.co.uk-red?style=for-the-badge&logo=mention&logoColor=white [19]: https://custom-icon-badges.demolab.com/badge/Colorado-USA-purple?style=for-the-badge&logo=location&logoColor=white [20]: https://custom-icon-badges.demolab.com/badge/-Open%20Issue-palegreen?style=for-the-badge&logoColor=black&logo=issue-opened [21]: https://custom-icon-badges.demolab.com/badge/-Discuss-plum?style=for-the-badge&logo=comment-discussion&logoColor=black [22]: https://custom-icon-badges.demolab.com/badge/-Install%20Package-gold?style=for-the-badge&logo=package&logoColor=black [23]: https://custom-icon-badges.demolab.com/badge/-Use%20Template-teal?style=for-the-badge&logo=repo-template&logoColor=white [24]: https://custom-icon-badges.demolab.com/badge/-Use%20GitHub%20Action-blue?style=for-the-badge&logo=workflow&logoColor=white [25]: https://custom-icon-badges.demolab.com/badge/dynamic/json?logo=fire&logoColor=fff&color=orange&label=github%20streak&query=%24.currentStreak.length&suffix=%20days&url=https%3A%2F%2Fstreak-stats.demolab.com%2F%3Fuser%3DDenverCoder1%26type%3Djson [26]: https://custom-icon-badges.demolab.com/badge/dynamic/json?logo=graph&logoColor=fff&color=blue&label=total%20contributions&query=%24.totalContributions&url=https%3A%2F%2Fstreak-stats.demolab.com%2F%3Fuser%3DDenverCoder1%26type%3Djson

🖥️ 使用不同的徽章托管服务

默认情况下,从Custom Icon Badges获取徽章将使用img.shields.io作为徽章托管服务。

你可以将host参数设置为以下之一来覆盖徽章URL的主机名:

如果你想使用不同的徽章托管服务,请fork并修改此仓库。如果这对其他人可能有用,请创建一个PR。

🤗 贡献

我们欢迎贡献!

详情请参阅CONTRIBUTING.md

📤 自行部署

自行部署是可选的。请参阅以下步骤。

<details> <summary>部署到Heroku</summary>
  1. 登录Heroku或在https://heroku.com创建新账户
  2. 点击下方的部署按钮
<p align="center"> <a href="https://heroku.com/deploy?template=https://github.com/DenverCoder1/custom-icon-badges/tree/main"> <img src="https://yellow-cdn.veclightyear.com/835a84d5/a672f29a-d783-4109-8721-65f88aeeecba.svg" title="部署到Heroku" alt="部署"/></a> </p>
  1. 添加Mongo数据库的URL作为DB_URL配置变量。数据库应该有一个名为icons的集合。有关设置免费Mongo Atlas数据库的更多信息,请参阅入门指南

image

  1. 点击表单末尾的**"Deploy App"**
  2. 应用部署完成后,你可以使用<your-app-name>.herokuapp.com替代custom-icon-badges.demolab.com
</details>

💬 有问题?

随时提出问题

🤩 支持

💙 如果你喜欢这个项目,给它一个⭐并与朋友分享!

YouTube 在Github上赞助 给我买杯咖啡

👨‍💻 技术

MongoDB Express React Node.js

使用Shields.io 使用TypeScript开发 由Heroku提供支持

编辑推荐精选

博思AIPPT

博思AIPPT

AI一键生成PPT,就用博思AIPPT!

博思AIPPT,新一代的AI生成PPT平台,支持智能生成PPT、AI美化PPT、文本&链接生成PPT、导入Word/PDF/Markdown文档生成PPT等,内置海量精美PPT模板,涵盖商务、教育、科技等不同风格,同时针对每个页面提供多种版式,一键自适应切换,完美适配各种办公场景。

AI办公办公工具AI工具博思AIPPTAI生成PPT智能排版海量精品模板AI创作热门
潮际好麦

潮际好麦

AI赋能电商视觉革命,一站式智能商拍平台

潮际好麦深耕服装行业,是国内AI试衣效果最好的软件。使用先进AIGC能力为电商卖家批量提供优质的、低成本的商拍图。合作品牌有Shein、Lazada、安踏、百丽等65个国内外头部品牌,以及国内10万+淘宝、天猫、京东等主流平台的品牌商家,为卖家节省将近85%的出图成本,提升约3倍出图效率,让品牌能够快速上架。

iTerms

iTerms

企业专属的AI法律顾问

iTerms是法大大集团旗下法律子品牌,基于最先进的大语言模型(LLM)、专业的法律知识库和强大的智能体架构,帮助企业扫清合规障碍,筑牢风控防线,成为您企业专属的AI法律顾问。

SimilarWeb流量提升

SimilarWeb流量提升

稳定高效的流量提升解决方案,助力品牌曝光

稳定高效的流量提升解决方案,助力品牌曝光

Sora2视频免费生成

Sora2视频免费生成

最新版Sora2模型免费使用,一键生成无水印视频

最新版Sora2模型免费使用,一键生成无水印视频

Transly

Transly

实时语音翻译/同声传译工具

Transly是一个多场景的AI大语言模型驱动的同声传译、专业翻译助手,它拥有超精准的音频识别翻译能力,几乎零延迟的使用体验和支持多国语言可以让你带它走遍全球,无论你是留学生、商务人士、韩剧美剧爱好者,还是出国游玩、多国会议、跨国追星等等,都可以满足你所有需要同传的场景需求,线上线下通用,扫除语言障碍,让全世界的语言交流不再有国界。

讯飞绘文

讯飞绘文

选题、配图、成文,一站式创作,让内容运营更高效

讯飞绘文,一个AI集成平台,支持写作、选题、配图、排版和发布。高效生成适用于各类媒体的定制内容,加速品牌传播,提升内容营销效果。

热门AI辅助写作AI工具讯飞绘文内容运营AI创作个性化文章多平台分发AI助手
TRAE编程

TRAE编程

AI辅助编程,代码自动修复

Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。

AI工具TraeAI IDE协作生产力转型热门
商汤小浣熊

商汤小浣熊

最强AI数据分析助手

小浣熊家族Raccoon,您的AI智能助手,致力于通过先进的人工智能技术,为用户提供高效、便捷的智能服务。无论是日常咨询还是专业问题解答,小浣熊都能以快速、准确的响应满足您的需求,让您的生活更加智能便捷。

imini AI

imini AI

像人一样思考的AI智能体

imini 是一款超级AI智能体,能根据人类指令,自主思考、自主完成、并且交付结果的AI智能体。

下拉加载更多