You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,9 +22,16 @@ LeetCode and LeetCode CN are both supported.
22
22
23
23
It also has a [NPM package](https://www.npmjs.com/package/leetcode-card) and a [highly extensible system](./src/core/index.ts), so you can easily customize it to your needs.
24
24
25
-
CLI tool will be created if I have time.
26
25
Want to contribute? Feel free to open a pull request!
27
26
27
+
## Self-hosting
28
+
29
+
You can also self-host this service using the [`jacoblincool/leetcode-stats-card`](https://hub.docker.com/r/jacoblincool/leetcode-stats-card) Docker image.
30
+
31
+
To build the image by yourself, use `pnpm build:image` script.
32
+
33
+
See [docker-compose.yml](./docker-compose.yml) for an example.
34
+
28
35
## Usage
29
36
30
37
Simply copy the code below, paste it into your `README.md`, and change the path to your leetcode username (case-insensitive).
0 commit comments