
Security News
Socket Security Analysis Is Now One Click Away on npm
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.
yet-another-github-card
Advanced tools
Yet another github card profile for use it on your social-networks, blogs or portfolio.
Say hello to YACG 🎉: The GitHub card for your developer portfolio
You'll find all the required directories and files within the download, logically grouping common assets and providing compiled and minified variations.
Include the YAGC in your HTML, copy and paste the following code replacing data-user with your GitHub username:
<github-card data-style="defaultTheme" data-user="carlesloriente" data-user-stars="true" data-user-stats='[{"name": "commits"}, {"name": "contributions">
<script type="module" src="https://unpkg.com/yet-another-github-card@1.0.7/yagc.min.js"></script>
Select your favourite package manager and follow the instructions below.
npm install yet-another-github-card --save
yarn add yet-another-github-card
composer require yet-another-github-card
The package folder structure looks like this:
yet-another-github-card/
├─ css/
├─ images/
| ├─ docs/
| ├─ favicon_io/
├─ themes/
└─ utils/
└─ js/
| Name | Description | Default value |
|---|---|---|
data-style | Set header background image. | defaultTheme |
data-user | Your GitHub username value | `` |
data-user-stars | Count all your obtained stars, includes; repositories and gists | true |
data-user-stats | Show selected stats adding/removing JSON key:value entries. Key: name. Values: 'commits', 'contributions', 'followers', 'following', 'prs' | [{"name": "commits"}, {"name": "prs}] |
At the moment, three prebuilt themes are available. Feel free to design unique cards by selecting your own colors and backgrounds!



The source includes resources for building and running locally your Github Card.
If you want to see it in action, there's a demo included, complete the following steps.
Open with your code editor the file utils/index.html
1.- Locate the custom element github-card, edit data-user attribute with your own GitHub username.
2.- Fill with your preferred settings the attributes: data-user-stars and data-user-stats.
3.- Done, save the file and run the command:
npm run compile-demo
The folder demo will be created and contain all the required files.
To run it throught the bundled web server, run the command:
npm run server-watch
Additionally, if you want execute all these steps altogether, run the command:
npm run build-demo
Have a bug or an issue with this package? Open a new issue here on GitHub!
New contributors are always welcome! Check out CONTRIBUTING.md to get involved.
Carles Loriente is the creator and maintainer of the NOCC Bootstrap theme.
Thanks to you.
Copyright (c) 2026 Carles Loriente. Code released under the MIT license.
FAQs
Yet another github card profile for use it on your social-networks, blogs or portfolio.
The npm package yet-another-github-card receives a total of 15 weekly downloads. As such, yet-another-github-card popularity was classified as not popular.
We found that yet-another-github-card demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.

Security News
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.

Product
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.