Skip to content

VIDAKHOSHPEY22/github-languages-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

67 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

LangCard Banner



GitHub Languages Card

GitHub Developer Program

✨ Generate beautiful, real-time SVG cards showcasing your GitHub top programming languages ✨


✨ Demo



Demo Animation
Interactive demo β€” real-time theme switching & card generation



πŸ”— Live URL: github-languages-card.vercel.app



Note for users from restricted regions (e.g., Iran):
If Vercel is inaccessible, please use a VPN to access the live demo. πŸ™

πŸš€ Quick Start

Copy and paste this into your GitHub README.md:

![GitHub Languages](https://github-languages-card.vercel.app/api/top-languages?username=VIDAKHOSHPEY22&theme=pink)

Example Result

GitHub Languages Card - Created by VIDAKHOSHPEY22



✨ Built by VIDAKHOSHPEY22 with LangCard ✨




![GitHub Languages](https://github-languages-card.vercel.app/api/top-languages?username=YOUR_USERNAME&theme=pink)

🎨 18+ themes | ⚑ Real-time | πŸš€ Open Source

🎨 Themes Gallery

Choose from 18+ professionally designed themes to match your style. Here are our most beautiful themes:

Theme Preview Theme Preview
Pink ⭐ Dark Neon πŸ’š
Neon πŸ’™ Hacker πŸ’š
Purple πŸ’œ Coffee 🀎
Golden ⭐ Ocean 🌊
Sunset πŸŒ… Fire πŸ”₯
Mint 🌿 Strawberry πŸ“
Lavender 🌸 Peach πŸ‘
Dark πŸŒ™ Graphite ⚫
Snow ❄️ White 🀍

🌟 Top Picks (Most Popular)

Rank Theme Why It's Special
1 πŸ₯‡ Pink Sweet, modern, and eye-catching gradient
2 πŸ₯ˆ Dark Neon Cyberpunk vibes with glowing effects
3 πŸ₯‰ Neon Bright, energetic, and futuristic
4 Hacker Classic matrix-style green on black
5 Coffee Warm, cozy, and professional
6 Purple Royal and elegant deep purple tones
7 Golden Premium, luxurious golden gradient
8 Ocean Calm, professional blue tones

πŸ“Š Features

Feature Description
🎨 18+ Themes Professionally designed color schemes
πŸ“ˆ Top Languages Shows your most used programming languages with percentages
πŸ‘₯ GitHub Stats Displays repositories, followers, stars, and forks
πŸ–ΌοΈ Avatar Support Shows your GitHub profile picture
πŸ“± Responsive Works perfectly on all devices
⚑ Real-time Live preview with instant theme switching
πŸ”’ Privacy Focused No data storage, direct API calls
πŸš€ Fast Loading Optimized SVG generation with caching

πŸ› οΈ API Documentation

Endpoint

GET /api/top-languages

Parameters

Parameter Type Required Default Description
username string βœ… Yes - GitHub username
theme string ❌ No pink Theme name (see themes list below)

Example Request

curl "https://github-languages-card.vercel.app/api/top-languages?username=VIDAKHOSHPEY22&theme=hacker"

Available Themes

pink, dark, mint, purple, ocean, sunset, graphite, coffee, 
lavender, peach, neon, strawberry, darkNeon, fire, snow, 
hacker, white, golden

Response Format

The API returns an SVG image that can be embedded directly in markdown:

![GitHub Languages](https://github-languages-card.vercel.app/api/top-languages?username=VIDAKHOSHPEY22&theme=pink)

πŸ’» Self-Hosting

Prerequisites

  • Node.js (v18 or higher)
  • npm or yarn
  • Git

Installation

  1. Clone the repository
git clone https://github.com/VIDAKHOSHPEY22/github-languages-card.git
cd github-languages-card
  1. Install dependencies
npm install
  1. Configure environment
cp .env.example .env
# Edit .env with your GitHub token (optional but recommended)
  1. Start the server
node server.js
  1. Open your browser
http://localhost:3000

Docker Deployment

Create a Dockerfile:

FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
COPY . .
EXPOSE 3000
CMD ["node", "server.js"]

Build and run:

docker build -t langcard .
docker run -p 3000:3000 langcard

Environment Variables

Variable Description Default
PORT Server port 3000
GITHUB_TOKEN GitHub API token (higher rate limit) -
NODE_ENV Environment development
RENDER_EXTERNAL_URL External URL for production -

🎯 Use Cases

  • GitHub Profile README - Showcase your coding skills
  • Developer Portfolio - Display your tech stack
  • Team Dashboard - Monitor team language usage
  • Coding Blog - Add interactive stats to articles
  • CV/Resume - Showcase your programming language proficiency

πŸ“ Project Structure

github-languages-card/
β”œβ”€β”€ server.js              # Main Express server
β”œβ”€β”€ public/                # Static files
β”‚   β”œβ”€β”€ index.html         # Landing page
β”‚   └── images/            # Documentation images
β”œβ”€β”€ utils/                 # Utility functions
β”‚   β”œβ”€β”€ github.js          # GitHub API integration
β”‚   β”œβ”€β”€ svgBuilder.js      # SVG card builder
β”‚   └── helpers.js         # Helper functions
β”œβ”€β”€ themes/                # Theme definitions
β”‚   β”œβ”€β”€ pink.js
β”‚   β”œβ”€β”€ dark.js
β”‚   β”œβ”€β”€ mint.js
β”‚   └── ... (all themes)
β”œβ”€β”€ .env                   # Environment variables
β”œβ”€β”€ package.json           # Dependencies
└── README.md              # Documentation

πŸ”§ Tech Stack

Technology Purpose
Node.js Runtime Environment
Express Web Framework
Axios HTTP Client
SVG Graphics Generation

πŸ“Έ Screenshots

my favorite Card
Main application interface with live preview

🀝 Contributing

Contributions are what make the open source community such an amazing place! Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Development Setup

# Install dependencies
npm install

# Run in development mode
node server.js

# The server will restart on changes

πŸ› Known Issues

  • GitHub API has rate limits (60 requests/hour without token)
  • Use GITHUB_TOKEN environment variable for higher limits (5000/hour)
  • First request may be slow due to GitHub API response time

πŸ‘¨β€πŸ’» Author

Vida Khoshpey Yalda Khoshpey
πŸ“§ vviiddaa2@gmail.com πŸ“§ yaldatwin@gmail.com

πŸ“¬ Contact Us

Email Vida Email Yalda


Made with ❀️ by Vida & Yalda β€” Twin Coders πŸ‘―β€β™€οΈ


⭐ Support This Project


Star on GitHub



πŸ“Š GitHub Stats


Stars Forks





πŸ“œ License

MIT License β€’ Open Source


Back to Top

About

🎨 Generate beautiful, real-time SVG cards showcasing your GitHub top programming languages. Perfect for GitHub profile README, portfolios, and documentation. Supports 18+ themes including Pink, Dark Neon, Hacker, Coffee, and more.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors