Skip to content

Commit f78022d

Browse files
authored
Merge branch 'main' into feat/preview-click-focus
2 parents 826599b + 224528c commit f78022d

87 files changed

Lines changed: 9270 additions & 1207 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.local.example

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,19 @@ NEXT_PUBLIC_SITE_URL=http://localhost:3000
4747
# 4. Replace <password> with your DB user's password
4848
# ------------------------------------------------------------
4949
# MONGODB_URI=mongodb+srv://<username>:<password>@cluster.mongodb.net/commitpulse?retryWrites=true&w=majority
50+
51+
# ------------------------------------------------------------
52+
# OPTIONAL — Upstash Redis / Vercel KV (Distributed Rate Limiting)
53+
# ------------------------------------------------------------
54+
# Enables distributed rate limiting across all serverless instances.
55+
# Without these, rate limiting is per-instance (each Vercel function
56+
# gets its own counter), which allows N× the intended limit under load.
57+
#
58+
# How to get one (free):
59+
# 1. Create a free Upstash Redis database at https://console.upstash.com
60+
# 2. Copy the REST API URL and token
61+
# 3. If using Vercel KV, link it to your project in the Vercel dashboard
62+
# — it sets KV_REST_API_URL and KV_REST_API_TOKEN automatically.
63+
# ------------------------------------------------------------
64+
# KV_REST_API_URL=https://<your-db>.upstash.io
65+
# KV_REST_API_TOKEN=<your-token>

THEMES.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 🎨 CommitPulse Themes
1+
# CommitPulse Themes
22

33
All 20 available themes for your CommitPulse badge. Use the `?theme=<slug>` query parameter to apply a theme.
44

@@ -37,7 +37,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
3737

3838
## Preview Gallery
3939

40-
### 🌑 Dark (default)
40+
### Dark (default)
4141

4242
![dark](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=dark)
4343

@@ -49,7 +49,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
4949

5050
---
5151

52-
### ☀️ Light
52+
### Light
5353

5454
![light](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=light)
5555

@@ -61,7 +61,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
6161

6262
---
6363

64-
### Neon
64+
### Neon
6565

6666
![neon](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=neon)
6767

@@ -73,7 +73,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
7373

7474
---
7575

76-
### 🐙 GitHub
76+
### GitHub
7777

7878
![github](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=github)
7979

@@ -85,7 +85,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
8585

8686
---
8787

88-
### 🧛 Dracula
88+
### Dracula
8989

9090
![dracula](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=dracula)
9191

@@ -97,7 +97,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
9797

9898
---
9999

100-
### 🌊 Ocean
100+
### Ocean
101101

102102
![ocean](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=ocean)
103103

@@ -109,7 +109,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
109109

110110
---
111111

112-
### 🌅 Sunset
112+
### Sunset
113113

114114
![sunset](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=sunset)
115115

@@ -121,7 +121,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
121121

122122
---
123123

124-
### 🌲 Forest
124+
### Forest
125125

126126
![forest](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=forest)
127127

@@ -133,7 +133,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
133133

134134
---
135135

136-
### 🌸 Rose
136+
### Rose
137137

138138
![rose](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=rose)
139139

@@ -145,7 +145,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
145145

146146
---
147147

148-
### ❄️ Nord
148+
### Nord
149149

150150
![nord](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=nord)
151151

@@ -157,7 +157,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
157157

158158
---
159159

160-
### 🎵 Synthwave
160+
### Synthwave
161161

162162
![synthwave](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=synthwave)
163163

@@ -169,7 +169,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
169169

170170
---
171171

172-
### 🪵 Gruvbox
172+
### Gruvbox
173173

174174
![gruvbox](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=gruvbox)
175175

@@ -181,7 +181,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
181181

182182
---
183183

184-
### 🔮 Aurora Cyberpunk
184+
### Aurora Cyberpunk
185185

186186
![aurora_cyberpunk](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=aurora_cyberpunk)
187187

@@ -193,7 +193,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
193193

194194
---
195195

196-
### 🔦 High Contrast
196+
### High Contrast
197197

198198
![highcontrast](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=highcontrast)
199199

@@ -205,7 +205,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
205205

206206
---
207207

208-
### 🐱 Catppuccin Latte
208+
### Catppuccin Latte
209209

210210
![catppuccin_latte](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=catppuccin_latte)
211211

@@ -217,7 +217,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
217217

218218
---
219219

220-
### 🌞 Solarized Light
220+
### Solarized Light
221221

222222
![solarized_light](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=solarized_light)
223223

@@ -229,7 +229,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
229229

230230
---
231231

232-
### 🌻 Gruvbox Light
232+
### Gruvbox Light
233233

234234
![gruvbox_light](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=gruvbox_light)
235235

@@ -241,7 +241,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
241241

242242
---
243243

244-
### 🏔️ Nord Light
244+
### Nord Light
245245

246246
![nord_light](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=nord_light)
247247

@@ -253,7 +253,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
253253

254254
---
255255

256-
### 💠 Cyber Pulse
256+
### Cyber Pulse
257257

258258
![cyber-pulse](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=cyber-pulse)
259259

@@ -265,7 +265,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
265265

266266
---
267267

268-
### 🪨 Obsidian
268+
### Obsidian
269269

270270
![obsidian](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=obsidian)
271271

@@ -277,22 +277,22 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
277277

278278
---
279279

280-
## 🎛️ Custom Theme
280+
## Custom Theme
281281

282-
Not finding what you want? Build your own using raw color parameters all values are hex codes **without** the `#` prefix:
282+
Not finding what you want? Build your own using raw color parameters - all values are hex codes **without** the `#` prefix:
283283

284284
```
285285
https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&bg=1a1b27&text=a9b1d6&accent=7aa2f7
286286
```
287287

288288
---
289289

290-
## 🔄 Auto Theme
290+
## Auto Theme
291291

292-
Automatically switches between light and dark based on the viewer's OS setting no hex values needed:
292+
Automatically switches between light and dark based on the viewer's OS setting - no hex values needed:
293293

294294
```
295295
https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=auto
296296
```
297297

298-
> 💡 **Tip:** You can combine `theme=` with individual overrides. For example, `theme=dracula&accent=ff79c6` applies the Dracula theme but swaps only the accent color.
298+
> **Tip:** You can combine `theme=` with individual overrides. For example, `theme=dracula&accent=ff79c6` applies the Dracula theme but swaps only the accent color.

0 commit comments

Comments
 (0)