npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

yet-another-github-card

v1.0.6

Published

Yet another github card profile for use it on your social-networks, blogs or portfolio.

Readme

Yet Another Github Card - Show your developer skills in social networks

YAGC logo

yagc package NPM Downloads CI/CD license Socket Badge

Introduction

Say hello to YACG 🎉: The GitHub card for your developer portfolio

Features

  • Responsive design
  • Dual color mode (light & dark)
  • Customizable stats
  • Different Theme styles
  • Free

Let's make this project even better for everyone. Sponsorship fuels new features! 🎉

Become a sponsor today

Share on

Facebook Messenger Twitter X WhatsApp Telegram LinkedIn WordPress Gmail Reddit

Table of contents

What's included

You'll find all the required directories and files within the download, logically grouping common assets and providing compiled and minified variations.

Bundled dependencies

Quick Start

Including the card in your portfolio site

Get your HTML embed code at yagc, fill in the form with your GitHub username and grab the result code.

Documentation

Using the Yet-Another-Github-Card npm package in your project

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-card

The package folder structure looks like this:

  yet-another-github-card/
  ├─ css/
  ├─ images/
  |  ├─ docs/
  |  ├─ favicon_io/
  ├─ themes/
  └─ utils/
     └─ js/

Github Card Data Options

| 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}] |

Themes

At the moment, three prebuilt themes are available. Feel free to design unique cards by selecting your own colors and backgrounds!

1. DefaultTheme

YAGC defaultTheme

2. Cloud

YAGC cloud

3. Polygon

YAGC polygon

Local Demo card

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

Bugs and Issues

Have a bug or an issue with this package? Open a new issue here on GitHub!

Contributing

New contributors are always welcome! Check out CONTRIBUTING.md to get involved.

Creator

Carles Loriente is the creator and maintainer of the NOCC Bootstrap theme.

Thanks

Thanks to you.

Copyright and License

Copyright (c) 2025 Carles Loriente. Code released under the MIT license.