{"id":19961434,"url":"https://github.com/iyehah/leetcode-status","last_synced_at":"2025-07-02T22:33:12.733Z","repository":{"id":255791080,"uuid":"851793240","full_name":"iyehah/leetcode-status","owner":"iyehah","description":"Show your dynamically generated LeetCode stats on your GitHub profile or your website","archived":false,"fork":false,"pushed_at":"2025-06-08T17:18:46.000Z","size":374,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-08T18:26:03.973Z","etag":null,"topics":["card","github","graph","leetcode","status"],"latest_commit_sha":null,"homepage":"https://leetcode-status.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iyehah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-09-03T17:57:38.000Z","updated_at":"2025-06-08T17:18:43.000Z","dependencies_parsed_at":"2024-12-17T17:23:39.865Z","dependency_job_id":"a8a7d66d-37a0-4a89-9421-bd5c5b340c4c","html_url":"https://github.com/iyehah/leetcode-status","commit_stats":null,"previous_names":["iyehah/leetcode-status"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iyehah/leetcode-status","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyehah%2Fleetcode-status","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyehah%2Fleetcode-status/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyehah%2Fleetcode-status/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyehah%2Fleetcode-status/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iyehah","download_url":"https://codeload.github.com/iyehah/leetcode-status/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyehah%2Fleetcode-status/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263226825,"owners_count":23433781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["card","github","graph","leetcode","status"],"created_at":"2024-11-13T02:07:30.223Z","updated_at":"2025-07-02T22:33:12.650Z","avatar_url":"https://github.com/iyehah.png","language":"TypeScript","readme":"# LeetCode Status\n\nA Next.js application to display your LeetCode statistics as SVG cards or graphs, perfect for GitHub profiles or personal websites.\n\n## How to Use\n\nAdd your LeetCode stats to your GitHub profile or site by using the following URL in your README, replacing `username` with your LeetCode username (e.g., `iyehah`):\n\n```md\n![Stats](https://leetcode-status.vercel.app/api/card/iyehah?theme=gradient\u0026gradient_start=%236366F1\u0026gradient_end=%23A855F7\u0026logo=true\u0026custom_title=Iyehah%20Hacen)\n```\n\nOr use an `\u003cimg\u003e` tag:\n\n```md\n\u003cimg src=\"https://leetcode-status.vercel.app/api/card/iyehah?theme=gradient\u0026gradient_start=%236366F1\u0026gradient_end=%23A855F7\u0026logo=true\u0026custom_title=Iyehah%20Hacen\"/\u003e\n```\n\n\n## Available Themes\n\nChoose from the following themes:\n\n| Name | Card Preview | Graph Preview | Pie Preview |\n|------|--------------|---------------|-------------|\n| *light (Default)* | \u003cimg src=\"https://leetcode-status.vercel.app/api/card/iyehah?theme=light\u0026logo=true\u0026custom_title=Iyehah%20Hacen\" height=150/\u003e | \u003cimg src=\"https://leetcode-status.vercel.app/api/graph/iyehah?theme=light\u0026bars_width=50\" height=150/\u003e | \u003cimg src=\"https://leetcode-status.vercel.app/api/pie/iyehah?theme=light\u0026bars_width=50\" height=150/\u003e |\n| *dark* | \u003cimg src=\"https://leetcode-status.vercel.app/api/card/iyehah?theme=dark\u0026logo=true\u0026custom_title=Iyehah%20Hacen\" height=150/\u003e | \u003cimg src=\"https://leetcode-status.vercel.app/api/graph/iyehah?theme=dark\u0026bars_width=50\" height=150/\u003e | \u003cimg src=\"https://leetcode-status.vercel.app/api/pie/iyehah?theme=dark\u0026bars_width=50\" height=150/\u003e |\n| *transparent* | \u003cimg src=\"https://leetcode-status.vercel.app/api/card/iyehah?theme=transparent\u0026logo=true\u0026custom_title=Iyehah%20Hacen\" height=150/\u003e | \u003cimg src=\"https://leetcode-status.vercel.app/api/graph/iyehah?theme=transparent\u0026bars_width=50\" height=150/\u003e | \u003cimg src=\"https://leetcode-status.vercel.app/api/pie/iyehah?theme=transparent\u0026bars_width=50\" height=150/\u003e |\n| *neon* | \u003cimg src=\"https://leetcode-status.vercel.app/api/card/iyehah?theme=neon\u0026logo=true\u0026custom_title=Iyehah%20Hacen\" height=150/\u003e | \u003cimg src=\"https://leetcode-status.vercel.app/api/graph/iyehah?theme=neon\u0026bars_width=50\" height=150/\u003e | \u003cimg src=\"https://leetcode-status.vercel.app/api/pie/iyehah?theme=neon\u0026bars_width=50\" height=150/\u003e |\n| *pastel* | \u003cimg src=\"https://leetcode-status.vercel.app/api/card/iyehah?theme=pastel\u0026logo=true\u0026custom_title=Iyehah%20Hacen\" height=150/\u003e | \u003cimg src=\"https://leetcode-status.vercel.app/api/graph/iyehah?theme=pastel\u0026bars_width=50\" height=150/\u003e | \u003cimg src=\"https://leetcode-status.vercel.app/api/pie/iyehah?theme=pastel\u0026bars_width=50\" height=150/\u003e |\n| *gradient* | \u003cimg src=\"https://leetcode-status.vercel.app/api/card/iyehah?theme=gradient\u0026gradient_start=%236366F1\u0026gradient_end=%23A855F7\u0026logo=true\u0026custom_title=Iyehah%20Hacen\" height=150/\u003e |\n\n## Customization\n\nCustomize the appearance using URL parameters.\n\n### Common Options\n\n| Argument | Description | Value Type |\n|----------|-------------|------------|\n| `border` | Show or hide the border | boolean (default: `true`) |\n| `hide_title` | Show or hide the title | boolean (default: `false`) |\n| `custom_title` | Set a custom title text | string |\n| `logo` | Show or hide the LeetCode logo | boolean (default: `true`) |\n| `logo_color` | Set logo color (`default`, `theme`, or hex like `%2300FF00`) | string (default: `default`) |\n| `animation` | Enable or disable animation | boolean (default: `true`) |\n| `animation_duration` | Set animation duration | homing string (default: `2s`) |\n| `theme` | Set theme (`light`, `dark`, `transparent`, `neon`, `pastel`, `gradient`) | string (default: `light`) |\n| `bar_color` | Custom color for progress bars (hex like `%23FF0000`) | string |\n| `text_color` | Custom color for text (hex like `%230000FF`) | string |\n| `show_stats` | Show additional stats (ranking, acceptance rate) | boolean (default: `false`) |\n| `font` | Change font | boolean (default: `Robote`) |\n\n### Card-Specific Options\n\n| Argument | Description | Value Type |\n|----------|-------------|------------|\n| `gradient_start` | Gradient start color (hex like `%236366F1`) | string (default: `#6366F1` for gradient theme) |\n| `gradient_end` | Gradient end color (hex like `%23A855F7`) | string (default: `#A855F7` for gradient theme) |\n\n### Graph-Specific Options\n\n| Argument | Description | Value Type |\n|----------|-------------|------------|\n| `bars_width` | Width of bars in the graph | number (20-100, default: `50`) |\n\n### Pie-Specific Options\n\n| Argument      | Description                    | Value Type                |\n| ------------- | ------------------------------ | ------------------------- |\n| `easyColor`   | Color for Easy section (hex)   | `%23FF0000` (e.g., red)   |\n| `mediumColor` | Color for Medium section (hex) | `%2300FF00` (e.g., green) |\n| `hardColor`   | Color for Hard section (hex)   | `%230000FF` (e.g., blue)  |\n| `showLabels`  | Show or hide percentage labels | boolean (default: `true`) |\n| `showLegend`  | Show or hide the legend        | boolean (default: `true`) |\n| `pieRadius`   | Radius of the pie chart        | number (default: `100`)   |\n| `font`        | Font family used for text      | string (e.g., `Arial`)    |\n\n### Examples\n\nCard with gradient theme and custom gradient colors:\n\n```md\n\u003cimg src=\"https://leetcode-status.vercel.app/api/card/iyehah?theme=gradient\u0026gradient_start=%23FF0000\u0026gradient_end=%2300FF00\u0026show_stats=true\"/\u003e\n```\n\n\u003cimg src=\"https://leetcode-status.vercel.app/api/card/iyehah?theme=gradient\u0026gradient_start=%23FF0000\u0026gradient_end=%2300FF00\u0026show_stats=true\"/\u003e\n\nGraph with neon theme and wider bars:\n\n```md\n\u003cimg src=\"https://leetcode-status.vercel.app/api/graph/iyehah?theme=neon\u0026bars_width=80\"/\u003e\n```\n\n\u003cimg src=\"https://leetcode-status.vercel.app/api/graph/iyehah?theme=neon\u0026bars_width=80\"/\u003e\n\nPie with transparent theme without Labels :\n\n```md\n\u003cimg src=\"https://leetcode-status.vercel.app/api/pie/iyehah?theme=transparent\u0026showLabels=false\"/\u003e\n```\n\u003cimg src=\"https://leetcode-status.vercel.app/api/pie/iyehah?theme=transparent\u0026showLabels=false\"/\u003e\n\n\u003e **Notes**:\n\u003e - Use `%20` for spaces in `custom_title` (e.g., `Iyehah%20Hacen`).\n\u003e - Use `%23` for `#` in hex colors (e.g., `%2300712D` for dark green).\n\u003e - The `show_stats` option requires the LeetCode API to provide `ranking` and `acceptanceRate`.\n\n## Setup\n\n1. **Install Dependencies**:\n   ```bash\n   npm install\n   ```\n   For `canvas`:\n   - Install MSYS2 and GTK2:\n     ```bash\n     pacman -S mingw-w64-x86_64-gtk2\n     ```\n     Add `C:\\msys64\\mingw64\\bin` to `PATH`.\n   - Set GTK paths:\n     ```bash\n     set PKG_CONFIG_PATH=C:\\msys64\\mingw64\\lib\\pkgconfig\n     set CAIRO_CFLAGS=-IC:\\msys64\\mingw64\\include\\cairo\n     set CAIRO_LIBS=-LC:\\msys64\\mingw64\\lib -lcairo\n     npm install canvas --build-from-source\n     ```\n\n2. **Run Locally**:\n   ```bash\n   npm run dev\n   ```\n\n3. **Deploy**:\n   Deploy to Vercel or another platform supporting Next.js.\n\n## Contributing\n\nContributions are welcome! Please open an issue or pull request at [github.com/iyehah/leetcode-status](https://github.com/iyehah/leetcode-status).\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiyehah%2Fleetcode-status","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiyehah%2Fleetcode-status","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiyehah%2Fleetcode-status/lists"}