New:Socket for Asana Is Now Available.Learn more
Get Started

@mightbeandrew/devcard

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mightbeandrew/devcard

Generate a beautiful developer trading card from your GitHub profile

latest
Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
3
-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

devcard

Generate a beautiful developer trading card from any GitHub profile — one command, zero setup.

npm version CI npm downloads License: MIT

Quick Start

npx @mightbeandrew/devcard YOUR_GITHUB_USERNAME

That's it. No install, no config. A PNG is saved to your current directory.

Example

npx @mightbeandrew/devcard torvalds

Generates devcard-torvalds.png — a full trading card with stats, top repos, and languages.

Features

  • Trading card aesthetic — HP, ATK, DEF, SPD, LVL stats mapped from real GitHub data
  • Rarity system — Common → Uncommon → Rare → Ultra Rare → Secret Rare → Legendary
  • Auto-themed — card color scheme matches your dominant language (JS = Electric, Python = Fire, etc.)
  • Terminal preview — see a rich terminal preview before the PNG saves
  • Zero config — works with any public GitHub profile, no auth required
  • Fast — 4 API calls, 1-hour local cache

Themes

ThemeAuto-detected for
electricJavaScript, TypeScript
firePython, Ruby
waterGo, Kotlin, Swift, Java
earthC, C++, Rust, Assembly
psychicHaskell, Scala, Clojure, Elixir
darkDefault / C#, PHP, Shell
lightLight mode
holoHolographic (force with --theme holo)

Options

npx @mightbeandrew/devcard <username> [options]

Options:
  -o, --output <path>    Output file path (default: devcard-<username>.png)
  -t, --theme <theme>    Force a theme (auto|dark|light|holo|fire|water|electric|psychic|earth)
  --token <token>        GitHub token for higher rate limits (or set GITHUB_TOKEN)
  --no-preview           Skip terminal preview
  --open                 Auto-open the PNG after saving
  --no-cache             Bypass the 1-hour local cache
  --copy                 Copy file path to clipboard
  -v, --version          Show version
  -h, --help             Show help

Stat Mapping

Card StatGitHub DataFormula
❤ HPTotal starslog scale (max 50k)
⚔ ATKTotal commits (approx)log scale (max 100k)
🛡 DEFFollowerslog scale (max 100k)
📅 SPDAccount agelinear (max 15 years)
📦 LVLPublic reposlog scale (max 1000)

Rarity Tiers

TierCriteria
COMMON< 100 followers & < 50 stars
UNCOMMON< 1k followers & < 500 stars
RAREDefault for active developers
ULTRA RARE ✦> 10k followers or > 5k stars
SECRET RARE ✦✦> 100k followers or > 50k stars
LEGENDARY ✦✦✦> 150k followers or > 100k stars

GitHub Profile README

After generating your card, add it to your profile README:

![My DevCard](https://raw.githubusercontent.com/YOUR_USERNAME/YOUR_USERNAME/main/devcard-YOUR_USERNAME.png)
  • Run npx devcard YOUR_USERNAME
  • Commit devcard-YOUR_USERNAME.png to your profile repo
  • Add the markdown above to your README.md

Rate Limits

Without a token: 60 requests/hour (1 card per run = 4 requests — plenty for normal use).

For higher limits: npx devcard username --token YOUR_TOKEN or set GITHUB_TOKEN env var.

Get a token (no scopes needed for public data): https://github.com/settings/tokens

Share

Post your card with #devcard on Twitter/X or LinkedIn!

License

MIT

Keywords

github

FAQs

Package last updated on 28 Mar 2026

Related posts