Say hello to YACG π: The GitHub card for your developer portfolio
- Responsive design
- Dual color mode (light & dark)
- Customizable stats
- Different Theme styles
- Free
- Yet Another Github Card - Show your developer skills in social networks
- Introduction
- Features
- Let's make this project even better for everyone. Sponsorship fuels new features! π
- Share on
- Table of contents
- What's included
- Quick Start
- Documentation
- Using the Yet-Another-Github-Card npm package in your project
- Bugs and Issues
- Contributing
- Creator
- Thanks
- Copyright and License
You'll find all the required directories and files within the download, logically grouping common assets and providing compiled and minified variations.
- SVG Backgrounds
- A few Bootstrap 5 icons
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"}]'></github-card>
<script type="module" src="https://unpkg.com/yet-another-github-card@1.0.10/yagc.min.js"></script>Select your favourite package manager and follow the instructions below.
- npm:
npm install yet-another-github-card --save- Yarn:
yarn add yet-another-github-card- Composer:
composer require yet-another-github-cardThe 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-demoThe 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-watchAdditionally, if you want execute all these steps altogether, run the command:
npm run build-demoHave 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.



