• Stars
    star
    369
  • Rank 115,686 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 8 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ðŸŽī Standard and acceptable badges list

badges

To make badges more standard and acceptable.




npm cli javascript html

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:

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.

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:

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
  2. Install badges-cli
  3. Create a logo with SVG formatted (recommended) or other formats like PNG. (The logo should be wrapped into a square, in another word, the width should be equal to the height, or it would have been horizontally squished.)
  4. Save the logo in the folder dist
  5. Add data for your badge in the file script/data.js
    const data = {
        // ...
        'React Router': {
            fileName: 'react-router.svg',
            color: '#D0021B',
            description: 'A badge used for projects using React Router'
        },
    };
  6. Run the script by typing npm run build
  7. If successful, the readme file will be automatically updated
  8. Finally, push all updates and create a pull request for your change
  9. Done!!

Note that: so far haven't I 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:

badges badges badges

Coder

  • cli A badge used for projects which provide command-line interfaces
  • terser A badge used for projects using Terser for compressing JavaScript
  • codepen A badge used for projects running on CodePen
  • github A badge used for GitHub repositories
  • hacker A badge used for hacking projects (Business Using is not allowed)
  • idea A badge for the IDEA editor
  • rome A badge used for projects built with Rome
  • elasticsearch A badge used for projects using Elasticsearch
  • kibana A badge used for projects using Kibana
  • logstash A badge used for projects using Logstash
  • gitbook A badge used for books publish by Gitbook
  • gitbook A badge used for books publish by Gitbook
  • chrome_extensions A badge used for Chrome extensions
  • gulp A badge used for projects using Gulp to build
  • angular A badge used for repositories which has used the framework, Angular
  • postcss A badge used for projects using PostCSS
  • gitlab A badge used for Gitlab repositories
  • mocha A badge used for projects using Mocha for unit tests
  • bower A badge used for bower packages
  • java A badge used for projects that coded with Java
  • tc39 A badge used for TC39 committee
  • tc39 A badge used for proposals under stage 1 of TC39 committee
  • tc39 A badge used for proposals under stage 2 of TC39 committee
  • tc39 A badge used for proposals under stage 3 of TC39 committee
  • tc39 A badge used for proposals under stage 4 of TC39 committee
  • parcel A badge used for projects built with Parcel
  • grafana A badge used for projects using Grafana
  • sublime_text A badge for the Sulime Text editor
  • rss A badge used for RSS subscribing
  • grunt A badge used for projects using grunt to build
  • tensorflow A badge use for projects using Tensorflow
  • esbuild A badge used for projects built with ESBuild
  • javascript A badge used for projects that coded with JavaScript
  • node A badge used for projects built with Node.js
  • atom A badge for the Atom editor
  • cssnano A badge used for projects using CSSNano for compacting CSS
  • vue A badge used for repositories which has used the framework, Vue
  • vuepress A badge used for books publish by Vuepress
  • apiary A badge used for documents written on Apiary
  • tailwindcss A badge used for projects using TailwindCSS
  • golang A badge used for projects that coded with Golang
  • react A badge used for repositories that using React
  • docker A badge used for projects deployed on Docker
  • kotlin A badge used for projects that coded with Kotlin
  • visual_studio_code A badge for the Visual Studio Code IDE
  • typescript A badge used for projects that coded with TypeScript
  • python A badge used for projects that coded with Python
  • jsfiddle A badge used for projects running on JSFiddle
  • webpack A badge used for projects built with Webpack
  • vitejs A badge used for projects using Vite
  • eslint A badge used for projects using ESLint
  • eclipse A badge for the Eclipse editor
  • preact A badge used for repositories that using Preact
  • redux A badge used for projects using React Redux
  • visual_studio A badge for the Visual Studio IDE
  • jasmine A badge used for projects using Jasmine for testing JavaScript
  • qunit A badge for projects using QUnit for unit tests
  • reactivex A badge for projects using ReactiveX
  • modernizr A badge for projects using Modernizr
  • jest A badge used for projects using Jest for testing JavaScript.
  • jest A badge used for projects using Jest for testing JavaScript. (official accepted by facebook/jest#5348)
  • erlang A badge used for projects that coded with Erlang
  • react-router A badge used for projects using React Router
  • npm A badge used for npm packages
  • rollup A badge used for projects built with Rollup

Community

  • stackoverflow A badge used for references on Stack Overflow.
  • medium A badge used for articles shared on Medium.
  • superuser A badge used for references on Super User
  • stackexchange A badge used for references on Stack Exchange.
  • juejin_translation A badge used for any articles translated by gold-miner.
  • serverfault A badge used for references on Server Fault.

Communication

  • lunkr A badge used for sharing communication ways on Coremail Lunkr
  • wechat A badge used for sharing communication ways on WeChat
  • line A badge used for sharing communication ways on Line
  • whatsapp A badge used for sharing communication ways on WhatsApp
  • skype A badge used for sharing communication ways on Skype
  • telegram A badge used for sharing communication ways on Telegram
  • messenger A badge used for sharing communication ways on Messenger
  • discord A badge used for groups discussed on Discord
  • slack A badge used for groups discussed on Slack
  • gitter A badge used for groups discussed on Gitter

Multimedia

  • soundcloud A badge used for music shared on SoundCloud
  • spotify A badge used for music shared on Spotify

Inc

  • soundtooth A badge used for any project of Soundtooth Inc.
  • bitcoin A badge used for the Bitcoin Inc.
  • amazon A badge used for the Amazon Inc.
  • monsoon A badge used for the Monsoon Inc.
  • codrops A badge used for any project of Codrops Inc.
  • coremail A badge used for the Coremail Inc.
  • nasa A badge used for projects of NASA
  • xitu A badge used for any articles of Xitu Inc.
  • airbnb A badge used for the Airbnb Inc.

Social Media

  • youtube A badge used for Youtube.
  • google_plus A badge used for sharing communities on Google Plus.
  • reddit A badge used for articles shared on Reddit.
  • snapchat A badge used for Snapchat.
  • twitter A badge used for Twitter.
  • facebook A badge used for Facebook.
  • instagram A badge used for Instagram.
  • sina_weibo A badge used for sharing communities on Sina Weibo.
  • pinterest A badge used for sharing communities on Pinterest.

Sponsors

  • patreon A badge used for Patreon sponsors.
  • buymeacoffee A badge used for BuyMeACoffee sponsors.
  • issuehunt A badge used for IssueHunt sponsors.
  • alipay A badge used for Alipay sponsors.
  • paypal A badge used for Paypal sponsors.

Car

  • mercedes_benz A badge used for cars of Mercedes Benz
  • toyota A badge used for cars of Toyota
  • lamborghini A badge used for cars of Lamborghini
  • land_rover A badge used for cars of Land Rover
  • bmw A badge used for cars of BMW
  • audi A badge used for cars of Audi
  • marussia A badge used for cars of Marussia
  • maserati A badge used for cars of Maserati
  • koenigsegg A badge used for cars of Koenigsegg
  • bugatti A badge used for cars of Bugatti
  • porsche A badge used for cars of Porsche
  • mitsubishi A badge used for cars of Mitsubishi
  • ferrari A badge used for cars of Ferrari
  • tesla A badge used for cars of Tesla

Football Clubs

  • manchester_united A badge used for FC Manchester United
  • real_madrid A badge used for FC Real Madrid
  • liverpool A badge used for FC Liverpool
  • chelsea A badge used for FC Chelsea
  • barcelona A badge used for FC Barcelona
  • bayern_munchen A badge used for FC Bayern Munchen
  • arsenal A badge used for FC Arsenal
  • ac_milan A badge used for FC AC Milan

Game

  • ingress A badge used for the game Ingress published by Niantic Inc.
  • steam A badge used for any game supported on the platform Steam
  • osu A badge used for the game osu! published by ppy

Designer

  • flash A badge used for designing projects using Flash as a tool
  • illustrator A badge used for designing projects using Illustrator as a tool
  • zeplin A badge used for designing projects with Zeplin
  • dreamweaver A badge used for projects using Dreamweaver as a tool
  • photoshop A badge used for designing projects using Photoshop as a tool
  • behance A badge used for designing projects sharing on Behance
  • after_effects A badge used for designing projects using After Effect as a tool
  • premiere A badge used for designing projects using Premiere as a tool

â›― How to contribute

Have an idea? Found a bug? See how to contribute.

📜 License

MIT ÂĐ aleen42

More Repositories

1

PersonalWiki

📓 A simple personal wiki of my current knowledge
C
331
star
2

hack-wifi

ðŸ”Ŧ a wifi hacker tool
Shell
75
star
3

mingtocat

:octocat: An octocat designed as in the Ming Dynasty
HTML
54
star
4

auto-contribution

:octocat: Auto generating contributions each week
JavaScript
41
star
5

gitbook-treeview

ðŸŒē A gitbook plugin for generating tree view for ech page
JavaScript
39
star
6

gitbook-footer

✒ïļ A gitbook-plugin for adding footer
JavaScript
23
star
7

gitbook-mindmaps

☁ïļ A GitBook plugin for generating mindmaps within Markdown.
JavaScript
20
star
8

gsmIMSI

ðŸ“Ą some scripts to get imsi with gsm
Shell
16
star
9

gitbook-comments

A repo focusing on comments integrated with code management providers like GitLab or GitHub.
JavaScript
15
star
10

CLS

📏 Code Line Statistic for GitHub, a.k.a remote sloc
JavaScript
14
star
11

geometries

âœģïļ A geometrical compiler project written in JavaScript for compiling and making complicated geometries.
JavaScript
13
star
12

config

A configuration project for storing some configuration files.
Vim Script
7
star
13

sound

🔉 A JavaScript library for handling Web Audio
JavaScript
7
star
14

core-web

🉐 A polyfill repository for Web APIs, trying to eliminate the difference when using them.
JavaScript
6
star
15

aleen42.github.com

🎎 My page, please click into
JavaScript
5
star
16

proposal-intl-counter-format

A proposal for supporting `Intl.CounterFormat`
HTML
5
star
17

markdown-only

A template to build sites with markdown only, and present them with GitHub styles on GitHub pages.
HTML
5
star
18

gitbook-resources

🔗 a gitbook plugin optional resources loading of gitbook
JavaScript
4
star
19

css

📙 A book for css/sass styleGuide
CSS
4
star
20

checkServer

🙏 a shell script to check whether the server is normal with its CPU or its MEMORY
Shell
4
star
21

ES3-compatible-webpack-plugin

â™Ļïļ A Webpack plugin used for converting code to be ES3-compatible, a.k.a es3ify.
JavaScript
4
star
22

LightOpenCV

ðŸŽĨ a light lib of open cv
C
3
star
23

aleen42

A simple profile of mine
HTML
3
star
24

javascript

📔 Personal Guide of JavaScript Style
CSS
3
star
25

chinese-buildings

ðŸŊ A categories of images around Chinese buildings, created within <Essai sur l'architecture chinoise>
HTML
3
star
26

FuncDrawCompiler

❇ïļ This is a FuncDraw Compiler with C# in WPF
C#
2
star
27

IDEA

The IDEA cypher implementation in JavaScript
JavaScript
2
star
28

ucos

ucos-the uc real-time operate system
C
2
star
29

watermarks

ðŸ’Ū A plugin for creating watermarks with web technologies. (Support IE11+ within ~4KB code)
JavaScript
2
star
30

comet.js

a lightweight class for handling continuous ajax
JavaScript
2
star
31

gitbook-search

A Gitbook plugin to implement searching with GitHub Search API
JavaScript
2
star
32

DoRC

📕 Dream of the Red Chamber (įšĒæĨžæĒĶ)
HTML
2
star
33

gitbook-injection

❗ a plugin used for content injection in Gitbook
1
star
34

QRrs

🔑 a distribution of JavaScript QR Code encoder
JavaScript
1
star
35

LCS_PHP

ðŸ‘ū to run the LCS algorithmn in PHP.
PHP
1
star
36

cookie.js

🍊 get cooke from chrome with javascript
JavaScript
1
star
37

violin

A note of learning violin, å­Ķäđ å°æįīįŽ”čŪ°
HTML
1
star
38

DOM-mirror

Try to mirror the whole rendered DOM into one single HTML file
JavaScript
1
star
39

https-resources

📁 a repo for storing resources, can be only accessed with https protocol
1
star
40

exist-loader

A Webpack loader for loading files, which can be non-existent
JavaScript
1
star
41

state

A simple implementation of state machines in JavaScript with Generator.
JavaScript
1
star
42

tfjs-exponential-functions

➰ Try to predict exponential functions parameters with data sets within Tensorflow.js
JavaScript
1
star
43

intensity.js

📰 A lightweight node library for calculating pixel intensity of characters based on Canvas.
JavaScript
1
star
44

presentations

A list of personal presentations based on reveal.js
CSS
1
star
45

gulp-opencc

A gulp plugin for convert chinese based on OpenCC
JavaScript
1
star
46

project-initialization

🐌 A simple shell script for initializing personal structure of projects in one step
JavaScript
1
star
47

software-packages

ðŸ“Ķ a repo for storing some software-packages, which are provided to download
1
star