RepositoryJavaScript
rocktimsaikia

rocktimsaikia/github-card

Github profile web component that actually looks good

73stars
8forks
0issues
1views

github-card 🌈

Beautiful embeddable GitHub profile card for your portfolio.
https://rocktimsaikia.github.io/github-card/

CI npm version

github-card demo

Highlights

  • Tiny and zero-dependency (~4kb)
  • Minimal and neat design
  • Dark theme available

Installation

npm install @rocktimsaikia/github-card

or with yarn

yarn add @rocktimsaikia/github-card

Usage

Since this is an ESM web component, you can use it either through installation or directly as a script.

Import it in your JavaScript:

import '@rocktimsaikia/github-card'

Then use the element anywhere in your HTML:

<github-card data-user="rocktimsaikia"></github-card>

Or skip the install and load it straight from a CDN in an HTML file:

Attributes

AttributeRequiredDescription
data-useryesGitHub username to render the card for
data-themenoSet to dark for the dark theme; omit for the default light theme

Theme

<github-card data-user="rocktimsaikia" data-theme="dark"></github-card>

Customization

Override the accent color with the --gh-accent CSS custom property on the element:

github-card {
	--gh-accent: #6366f1;
}

The card also surfaces location, company, and website from the GitHub profile when present.

License

2026 © MIT Rocktim Saikia

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
FajarKim/github-readme-profile

🙀 Generate dynamic GitHub stats cards in SVG format. Fast, customizable, and ready to embed in your profile README.

58
Oct 31, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

212.9k
Dec 2, 2026
RepositoryPython
microsoft/markitdown

Python tool for converting files and office documents to Markdown.

199.5k
Dec 2, 2026
RepositoryTypeScript
microsoft/vscode

Visual Studio Code

195.9k
Nov 30, 2026
RepositoryShell
ohmyzsh/ohmyzsh

🙃 A delightful, community-driven framework for managing your zsh configuration. Built by 2,600+ contributors, with hundreds of plugins (git, rails, laravel, node, python, docker, kubectl, aws, and more), themes to spice up your terminal, and automatic updates to keep your command line feeling like home.

191.0k
Nov 29, 2026
Repository
getify/You-Dont-Know-JS

A book series (2 published editions) on the JS language.

184.8k
Oct 31, 2026
RepositoryJavaScript
lowlighter/metrics

📊 An infographics generator with 30+ plugins and 300+ options to display stats about your GitHub account and render them as SVG, Markdown, PDF or JSON!

17.5k
May 29, 2026
RepositoryJavaScript
tabulator-tables/tabulator

Interactive Tables and Data Grids for JavaScript

7.8k
Nov 19, 2026