Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/KnlnKS/leetcode-stats
Dynamically generated LeetCode stats for your GitHub READMEs!
https://github.com/KnlnKS/leetcode-stats
gh-readme gh-readme-profile github-actions go golang leetcode leetcode-stats profile-readme readme readme-profile vercel
Last synced: 11 days ago
JSON representation
Dynamically generated LeetCode stats for your GitHub READMEs!
- Host: GitHub
- URL: https://github.com/KnlnKS/leetcode-stats
- Owner: KnlnKS
- Created: 2021-05-16T18:10:04.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-01T07:00:16.000Z (about 2 years ago)
- Last Synced: 2023-03-08T19:17:59.278Z (over 1 year ago)
- Topics: gh-readme, gh-readme-profile, github-actions, go, golang, leetcode, leetcode-stats, profile-readme, readme, readme-profile, vercel
- Language: Go
- Homepage: https://leetcode-stats-six.vercel.app
- Size: 184 KB
- Stars: 84
- Watchers: 1
- Forks: 24
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-profile - leetcode Stats
README
LeetCode Readme Stats
Dynamically generated LeetCode stats for your readmes!
## How To Use
Copy-paste this into your markdown content, and that's it. Simple!
Change the `?username=` value to your LeetCode username.```md
[![KnlnKS's LeetCode stats](https://leetcode-stats-six.vercel.app/?username=KnlnKS)](https://github.com/KnlnKS/leetcode-stats)
```Which will appear as:
[![KnlnKS's LeetCode stats](https://leetcode-stats-six.vercel.app/?username=KnlnKS)](https://github.com/KnlnKS/leetcode-stats)
## Themes
You can customize your card with themes! There are currently 2 themes available.
light (default) and dark. To use them, simply add `&theme=` to the
end of the url with the theme you'd like to use.
Ex.```md
[![KnlnKS's LeetCode stats](https://leetcode-stats-six.vercel.app/?username=KnlnKS&theme=dark)](https://github.com/KnlnKS/leetcode-stats)
```Which will appear as:
[![KnlnKS's LeetCode stats](https://leetcode-stats-six.vercel.app/?username=KnlnKS&theme=dark)](https://github.com/KnlnKS/leetcode-stats)
## Themes
If you have an account on `https://leetcode.cn/` (LeetCode China),
you can add `&cn` or `&CN` to the end of the url to show your stats on LeetCode China.
Ex.```md
[![KnlnKS's LeetCode stats](https://leetcode-stats-six.vercel.app/?username=KnlnKS&CN)](https://github.com/KnlnKS/leetcode-stats)
```
or```md
[![KnlnKS's LeetCode stats](https://leetcode-stats-six.vercel.app/?username=KnlnKS&cn)](https://github.com/KnlnKS/leetcode-stats)
```## GitHub Actions
If you don't want to rely on an external api for your LeetCode stats I have provided a solution via GitHub Actions.
You can find it on the following branch: https://github.com/KnlnKS/leetcode-stats/tree/github-actions