Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
github.com/DenverCoder1/custom-icon-badges
Allows users to more easily use Octicons and their own icons and logos on shields.io badges.
Get a badge URL from shields.io.
Replace img.shields.io
with custom-icon-badges.demolab.com
Use any available slug as the logo query parameter or upload your own.
https://custom-icon-badges.demolab.com/badge/custom-badge-blue.svg?logo=paintbrush&logoColor=white
Preview:
The following are examples of existing icons and logos that are already available.
Over 2,000 brand icons from Simple Icons are already supported by shields.io.
You can find a list of slugs for each brand here.
All 250+ Octicons from GitHub are supported by Custom Icon Badges.
Slug | Example |
---|---|
issue-opened | |
repo-forked | |
star | |
git-commit | |
repo | |
git-pull-request | |
heart | |
mail | |
More Octicons | View all ⇨ |
All 250+ Feather Icons are supported by Custom Icon Badges.
Note: To use Feather Icons, you must use add the query parameter logoSource=feather
to the URL in addition to the logo
parameter.
Slug | Example |
---|---|
activity | |
airplay | |
bell | |
bluetooth | |
box | |
calendar | |
cast | |
command | |
lock | |
unlock | |
upload-cloud | |
tv | |
youtube | |
More Feather Icons | View all ⇨ |
Add your own! |
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.demolab.com
Click to get the URL!
By default, fetching a badge from Custom Icon Badges will use img.shields.io
as the badge host.
You can set the host
parameter to one of the following to override the hostname of the badge URL:
If you would like to use a different badge host, fork and modify this repository. Create a PR if it may be useful to others.
We welcome contributions!
Please see CONTRIBUTING.md for details.
Deploying on your own is optional. See the steps below.
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.<your-app-name>.herokuapp.com
in place of custom-icon-badges.demolab.com
Feel free to open an issue.
💙 If you like this project, give it a ⭐ and share it with friends!
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.