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. π
Copy and paste this into your GitHub README.md:

π¨ 18+ themes | β‘ Real-time | π Open Source
Choose from 18+ professionally designed themes to match your style. Here are our most beautiful themes:
| 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 |
| 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 |
GET /api/top-languages
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
username |
string | β Yes | - | GitHub username |
theme |
string | β No | pink |
Theme name (see themes list below) |
curl "https://github-languages-card.vercel.app/api/top-languages?username=VIDAKHOSHPEY22&theme=hacker"pink, dark, mint, purple, ocean, sunset, graphite, coffee,
lavender, peach, neon, strawberry, darkNeon, fire, snow,
hacker, white, golden
The API returns an SVG image that can be embedded directly in markdown:
- Node.js (v18 or higher)
- npm or yarn
- Git
- Clone the repository
git clone https://github.com/VIDAKHOSHPEY22/github-languages-card.git
cd github-languages-card- Install dependencies
npm install- Configure environment
cp .env.example .env
# Edit .env with your GitHub token (optional but recommended)- Start the server
node server.js- Open your browser
http://localhost:3000
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| 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 | - |
- 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
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
Contributions are what make the open source community such an amazing place! Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
# Install dependencies
npm install
# Run in development mode
node server.js
# The server will restart on changes- GitHub API has rate limits (60 requests/hour without token)
- Use
GITHUB_TOKENenvironment variable for higher limits (5000/hour) - First request may be slow due to GitHub API response time
| Vida Khoshpey | Yalda Khoshpey |
|---|---|
| π§ vviiddaa2@gmail.com | π§ yaldatwin@gmail.com |
Made with β€οΈ by Vida & Yalda β Twin Coders π―ββοΈ
MIT License β’ Open Source


















