API that generates GitHub-themed SVGs that show the percentage of a language in a GitHub user's public repositories
Inspired by GitHub Readme Stats and Shields.io
Language Bar:
Language Button (default, high contrast, dimmed):
Language Bar:
Language Button (default, high contrast):
-
Generate a GitHub personal access token with
public_repopermission
- Go to Vercel and
Continue with GitHub
- Click
Add New...>Project
- Find your repository and click
Import
- Click
Environment Variablesand addGPL_TOKENandGPL_USERNAME
- (Optional) Add languages that you want to ignore as comma-separated values (no spaces)
-
Click
Deploy -
Click
Continue to Dashboard -
Check your domains under
DOMAINS
Copy and paste the following Markdown and change DOMAIN, WIDTH, and THEME
Example:
DOMAIN→https://github-profile-languages.vercel.appWIDTH→830THEME→dark
Result:
Copy and paste the following Markdown and change DOMAIN, LANGUAGE, and THEME
Example:
DOMAIN→https://github-profile-languages.vercel.appLANGUAGE→C%2b%2b(Percent-encoded "C++")THEME→dark
Result:
Visit DOMAIN/api/stats for raw language statistics
Example:
DOMAIN→https://github-profile-languages.vercel.app
https://github-profile-languages.vercel.app/api/stats
Result:
Visit DOMAIN/api/readme to generate a README file
Example:
DOMAIN→https://github-profile-languages.vercel.app
https://github-profile-languages.vercel.app/api/readme
Result:
| ASCII | 2x | ASCII | 3x | ASCII | 4x | ASCII | 5x | ASCII | 6x | ASCII | 7x |
|---|---|---|---|---|---|---|---|---|---|---|---|
| space | %20 | : | %3a | @ | %40 | [ | %5b | ` | %60 | { | %7b |
| ! | %21 | ; | %3b | \ | %5c | | | %7c | ||||
| " | %22 | < | %3c | ] | %5d | } | %7d | ||||
| # | %23 | = | %3d | ^ | %5e | ~ | %7e | ||||
| $ | %24 | > | %3e | _ | %5f | ||||||
| % | %25 | ? | %3f | ||||||||
| & | %26 | ||||||||||
| ' | %27 | ||||||||||
| ( | %28 | ||||||||||
| ) | %29 | ||||||||||
| * | %2a | ||||||||||
| + | %2b | ||||||||||
| , | %2c | ||||||||||
| - | %2d | ||||||||||
| . | %2e | ||||||||||
| / | %2f |








