Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iyehah/leetcode-status
Show your dynamically generated LeetCode stats on your GitHub profile or your website
https://github.com/iyehah/leetcode-status
github-profile leetcode leetcode-api profile status
Last synced: 3 months ago
JSON representation
Show your dynamically generated LeetCode stats on your GitHub profile or your website
- Host: GitHub
- URL: https://github.com/iyehah/leetcode-status
- Owner: iyehah
- License: mit
- Created: 2024-09-03T17:57:38.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-14T15:40:28.000Z (5 months ago)
- Last Synced: 2024-09-15T06:36:43.530Z (5 months ago)
- Topics: github-profile, leetcode, leetcode-api, profile, status
- Language: TypeScript
- Homepage: https://leetcode-status.vercel.app
- Size: 120 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## How to Use
To display your LeetCode stats on your GitHub profile or site, simply paste the following URL into your profile's README file and replace username with your actual LeetCode `username` (e.g., iyehah).
```md
![Stats](https://leetcode-status.vercel.app/api/iyehah?theme=transparent&logo=true&custom_title=Iyehah%20Hacen&logo_color=theme)
```Alternatively, you can use the tag:
```md
```## Available Themes
Choose from the available themes to match your profile's style:
| Name | Card Preview |Graph Preview|
| :----------------: | :---------------------------------------------------------------------------------------------------------------------------------------------: |:-------:|
| *light (Default)* | | |
| *dark* | | |
| *transparent* | ||## Customization
You can customize the appearance of your stats graph using various URL parameters.
### Common Options
| Argument | Description | Value Type |
| :-----------------: | :--------------------------------------: | :---------------------------------: |
| `border` | Show or hide the border | boolean (default: `true`) |
| `hide_title` | Show or hide the title | boolean (default: `false`) |
| `custom_title` | Set a custom title text | string |
| `logo` | Show or hide the logo | boolean (default: `true`) |
| `logo_color` | Set the logo color (`default`, `theme`, or your custom color) | string (default: `default`) |
| `animation` | Enable or disable animation | boolean (default: `true`) |
| `animation_duration`| Set animation duration time | string (default: `2s`) |
| `theme` | Set the theme (e.g., `dark`,`light`,`transparent`) | string (default: `light`) |### Example:
```md
![Stats](https://leetcode-status.vercel.app/api/iyehah?theme=transparent&logo=true&custom_title=Iyehah%20Hacen&logo_color=%2300FF00)
```
> - For `custom_title`, use `%20` for spaces (e.g., Iyehah%20Hacen).
> - For `logo_color`, use `%23` for the # symbol in hex codes (e.g., %2300712D for dark green).---