/badges

:flower_playing_cards: Standard and acceptable badges list

Primary LanguageJavaScriptMIT LicenseMIT

badges

To make badges more standard and acceptable.




npm 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 in 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 any 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: 'router.svg',
            color: '62DAFB',
            description: 'A badge used for projects using React Router'
        }
    };
  6. Run the script by typing npm run build
  7. If succeed, 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 width of text accurately yet, and it means that the text can not be aligned in some cases.

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

badges badges badges

Coder

  • angular A badge used for repositories which has used the framework, Angular
  • npm A badge used for npm packages
  • gulp A badge used for projects using Gulp to build
  • react A badge used for repositories which has used the framework, React
  • router A badge used for projects using React Router
  • modernizr A badge for projects using Modernizr
  • reactivex A badge for projects using ReactiveX
  • jest A badge used for projects using Jest for testing JavaScript
  • jest A badge used for projects using Jest for testing JavaScript
  • jasmine A badge used for projects using Jasmine for testing JavaScript
  • visual_studio A badge for the Visual Studio IDE
  • visual_studio_code A badge for the Visual Studio Code IDE
  • qunit A badge for projects using QUnit for unit tests
  • redux A badge used for projects using React Redux
  • eslint A badge used for projects using ESLint
  • gitbook A badge used for books publish by Gitbook
  • gitbook A badge used for books publish by Gitbook
  • node A badge used for projects built with Node.js
  • vue A badge used for repositories which has used the framework, Vue
  • vuepress A badge used for books publish by Vuepress
  • gitter A badge used for projects can be discussed on Gitter
  • atom A badge for the Atom editor
  • sublime_text A badge for the Sulime Text editor
  • tensorflow A badge use for projects using Tensorflow
  • bower A badge used for bower packages
  • gitlab A badge used for Gitlab repositories
  • grunt A badge used for projects using grunt to build
  • rss A badge used for RSS subscribing
  • javascript A badge used for projects that coded with JavaScript
  • mocha A badge used for projects using Mocha for unit tests
  • apiary A badge used for documents written on Apiary
  • docker A badge used for projects deployed on Docker
  • typescript A badge used for projects that coded with TypeScript
  • jsfiddle A badge used for projects running on JSFiddle
  • webpack A badge used for projects built with Webpack
  • slack A badge used for projects discussed on Slack
  • idea A badge for the IDEA editor
  • codepen A badge used for projects running on CodePen
  • hacker A badge used for hacking projects (Business Using is not allowed)
  • github A badge used for GitHub repositories

Community

  • juejin_translation A badge used for any articles translated by gold-miner
  • stackexchange A badge used for references on Stack Exchange
  • superuser A badge used for references on Super User
  • google_plus A badge used for sharing communities on Google+
  • pinterest A badge used for sharing communities on Pinterest
  • sina_weibo A badge used for sharing communities on Sina Weibo
  • reddit A badge used for articles shared on Reddit
  • stackoverflow A badge used for GitHub repositories
  • medium A badge used for articles shared on Medium
  • serverfault A badge used for references on Server Fault

Communication

  • messenger A badge used for sharing communication ways on Messenger
  • telegram A badge used for sharing communication ways on Telegram
  • skype A badge used for sharing communication ways on Skype
  • whatsapp A badge used for sharing communication ways on WhatsApp
  • line A badge used for sharing communication ways on Line
  • wechat A badge used for sharing communication ways on WeChat
  • lunkr A badge used for sharing communication ways on Coremail Lunkr

Multimedia

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

Inc

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

Social Media

  • youtube A badge used for Youtube References
  • facebook A badge used for sharing communities on Facebook
  • twitter A badge used for sharing communities on Twitter

Sponsors

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

Car

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

Football Clubs

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

Game

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

Designer

  • behance A badge used for designing projects sharing on Behance
  • photoshop A badge used for designing projects using Photoshop as a tool
  • illustrator A badge used for designing projects using Illustrator as a tool
  • dreamweaver A badge used for projects using Dreamweaver as a tool
  • 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
  • flash A badge used for designing projects using Flash as a tool
  • zeplin A badge used for designing projects with Zeplin

⛽ How to contribute

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

📜 License

MIT © aleen42