GithubHelp home page GithubHelp logo

mohdrash / custom-badges Goto Github PK

View Code? Open in Web Editor NEW

This project forked from denvercoder1/custom-icon-badges

2.0 0.0 0.0 2.22 MB

๐Ÿ›ก Allows users to more easily use Octicons and their own icons and logos in shields.io badges, inspired from DenverCoder1

Home Page: https://custom-icon-badges.herokuapp.com

License: MIT License

HTML 7.57% TypeScript 86.69% SCSS 5.68% Procfile 0.06%

custom-badges's Introduction

Custom Icon Badges

stars issues license discord

Allows users to more easily use their own icons and logos to shields.io badges.

โšก How to use

  1. Get a badge URL from shields.io.

  2. Replace img.shields.io with custom-icon-badges.herokuapp.com

  3. Use any available slug as the logo query parameter.

https://custom-icon-badges.herokuapp.com/badge/custom-badge-blue.svg?logo=paintbrush&logoColor=white

Preview:

img

๐Ÿ–ผ๏ธ Existing logos

The following are examples of existing icons and logos that are already available.

Octicons

Currently all Octicons are supported.

Slug Example
issue-opened img
repo-forked img
star img
git-commit img
repo img
git-pull-request img
heart img
mail img
More Octicons View all โ‡จ

Miscellaneous

Slug Example
ceylon img
color-swatch img
controller img
issue img
fire img
flag img
translate img
trending-up img
trending-down img
phone img
swi-prolog img
Add your own Upload icon โ‡จ

โž• Adding a new logo

Upload new icons using the demo site!

The file type can be SVG, PNG, etc. but only SVG format supports the logoColor parameter for overriding the color of the logo.

If you think your icon is useful to others, feel free to open a PR to add it to the README above!

Demo site: https://custom-icon-badges.herokuapp.com

image

๐Ÿš€ Example Usage

Click to get the URL!

stars open issues license build last commit total contributions

code size pr closed tag rating github streak

followers stars fork watch downloads social

my repos downloads phone email location

open issue discuss install package use template github action

๐Ÿค— Contributing

We welcome contributions!

Please see CONTRIBUTING.md for details.

๐Ÿ“ค Deploying it on your own

Deploying on your own is optional. See the steps below.

Deploy to Heroku
  1. Sign in to Heroku or create a new account at https://heroku.com
  2. Click the Deploy button below

Deploy

  1. Add the url of a Mongo database as the DB_URL config var. The database should have a collection called icons. See getting started for more info on setting up a free Mongo Atlas database.

image

  1. Click "Deploy App" at the end of the form
  2. Once the app is deployed, you can use <your-app-name>.herokuapp.com in place of custom-icon-badges.herokuapp.com

๐Ÿ’ฌ Questions?

Feel free to open an issue.

๐Ÿคฉ Support

๐Ÿ’™ If you like this project, give it a โญ and share it with friends!

Youtube Sponsor with Github

โ˜• Buy me a coffee


Made with โค๏ธ and TypeScript

Powered by Heroku

custom-badges's People

Contributors

armakuji avatar denvercoder1 avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.