Skip to content

Commit 751e14f

Browse files
committed
create:README
1 parent 64d2fc2 commit 751e14f

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<p align='center'>
2+
<img width="400" src="assets/sample.png">
3+
<h3 align="center">leetcode-box</h3>
4+
<p align="center">Update a pinned gist to show your LeetCode stats.</p>
5+
</p>
6+
7+
---
8+
> 📌✨ For more pinned-gist projects like this one, check out: <https://github.com/matchai/awesome-pinned-gists>
9+
10+
## Prep Work
11+
12+
1. Create a new public GitHub Gist (https://gist.github.com/)
13+
2. Create a token with the `gist` scope and copy it. (https://github.com/settings/tokens/new)
14+
3. Find the username from your LeetCode profile `https://leetcode.com/{username}`
15+
16+
## Project Setup
17+
18+
1. Fork this repository
19+
2. Go to your fork's `Settings` > `Secrets` > `Add a new secret` for each environment secret:
20+
- **`GIST_ID`:** 32 bits ID from your gist URL
21+
>`https://gist.github.com/{github_username}/`**`762ebda9730630395aabdee06ce58fd1`**.
22+
- **`GH_TOKEN`:** The GitHub token generated above.
23+
- **`LEETCODE_USERNAME`:** Your LeetCode Username

assets/sample.png

57.8 KB
Loading

0 commit comments

Comments
 (0)