swadhinbiswas # Changelog Β· 1/17/2026
1464862
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
---
import BaseLayout from "@/layouts/BaseLayout.astro";
import { BookOpen, Code, Zap, GitBranch, Bot, GitMerge, BarChart3, MessageSquare, Terminal } from "lucide-react";
const features = [
{
icon: GitBranch,
title: "Stacked Pull Requests",
description: "Break large changes into reviewable stacks",
href: "/docs/features/stacked-prs",
color: "from-blue-500 to-cyan-500"
},
{
icon: Bot,
title: "AI Code Review",
description: "Get instant feedback from GPT-4 or Claude",
href: "/docs/features/ai-review",
color: "from-purple-500 to-pink-500"
},
{
icon: GitMerge,
title: "Smart Merge Queue",
description: "Automate merging with CI optimization",
href: "/docs/features/merge-queue",
color: "from-green-500 to-emerald-500"
},
{
icon: BarChart3,
title: "Developer Metrics",
description: "Track velocity and review efficiency",
href: "/admin/metrics",
color: "from-orange-500 to-red-500"
},
{
icon: MessageSquare,
title: "Slack Integration",
description: "Get notifications in Slack",
href: "/settings/integrations",
color: "from-indigo-500 to-blue-500"
},
{
icon: Terminal,
title: "OCH CLI",
description: "Powerful command-line interface",
href: "https://github.com/swadhinbiswas/OpencodeHub/tree/main/cli",
color: "from-cyan-500 to-teal-500"
}
];
const quickLinks = [
{ title: "Getting Started", href: "#getting-started", icon: Zap },
{ title: "Features", href: "#features", icon: Code },
{ title: "Tutorials", href: "#tutorials", icon: BookOpen },
];
---
<BaseLayout title="Documentation - OpenCodeHub">
<div class="container mx-auto py-12 px-4">
<!-- Hero -->
<div class="text-center mb-16">
<h1 class="text-5xl font-bold mb-4">
<span class="bg-clip-text text-transparent bg-gradient-to-r from-primary to-purple-400">
Documentation
</span>
</h1>
<p class="text-xl text-muted-foreground max-w-2xl mx-auto">
Everything you need to know about OpenCodeHub - from getting started to advanced features
</p>
</div>
<!-- Quick Links -->
<div class="grid md:grid-cols-3 gap-6 mb-16">
{quickLinks.map((link) => {
const Icon = link.icon;
return (
<a
href={link.href}
class="group relative p-6 rounded-xl border border-white/10 bg-card/50 backdrop-blur-sm hover:border-primary/50 transition-all hover:scale-105 hover:shadow-lg"
>
<div class="flex items-center gap-3 mb-2">
<Icon className="h-6 w-6 text-primary" />
<h3 class="text-lg font-semibold">{link.title}</h3>
</div>
<p class="text-sm text-muted-foreground">Quick access</p>
</a>
);
})}
</div>
<!-- Features Grid -->
<section id="features" class="mb-16">
<h2 class="text-3xl font-bold mb-8">Core Features</h2>
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6">
{features.map((feature) => {
const Icon = feature.icon;
return (
<a
href={feature.href}
class="group relative p-6 rounded-xl border border-white/10 bg-card/50 backdrop-blur-sm hover:border-primary/50 transition-all hover:scale-105"
>
<div class={`inline-flex p-3 rounded-lg bg-gradient-to-br ${feature.color} mb-4`}>
<Icon className="h-6 w-6 text-white" />
</div>
<h3 class="text-xl font-semibold mb-2">{feature.title}</h3>
<p class="text-sm text-muted-foreground mb-4">{feature.description}</p>
<span class="text-sm text-primary group-hover:underline">
Learn more β
</span>
</a>
);
})}
</div>
</section>
<!-- Getting Started -->
<section id="getting-started" class="mb-16">
<h2 class="text-3xl font-bold mb-8">Getting Started</h2>
<div class="grid md:grid-cols-2 gap-6">
<div class="p-6 rounded-xl border border-white/10 bg-card/50">
<h3 class="text-xl font-semibold mb-4">π Quick Start (5 minutes)</h3>
<div class="space-y-4">
<div class="p-4 rounded-lg bg-background/50">
<h4 class="font-medium mb-2">1. Install with Docker</h4>
<pre class="text-sm bg-black/50 p-3 rounded overflow-x-auto"><code>docker-compose up -d</code></pre>
</div>
<div class="p-4 rounded-lg bg-background/50">
<h4 class="font-medium mb-2">2. Create admin user</h4>
<pre class="text-sm bg-black/50 p-3 rounded overflow-x-auto"><code>docker-compose exec app bun run scripts/seed-admin.ts</code></pre>
</div>
<div class="p-4 rounded-lg bg-background/50">
<h4 class="font-medium mb-2">3. Open browser</h4>
<pre class="text-sm bg-black/50 p-3 rounded overflow-x-auto"><code>http://localhost:3000</code></pre>
</div>
</div>
<a href="/docs/installation" class="inline-flex items-center gap-2 mt-4 text-sm text-primary hover:underline">
Full installation guide β
</a>
</div>
<div class="p-6 rounded-xl border border-white/10 bg-card/50">
<h3 class="text-xl font-semibold mb-4">π First Steps</h3>
<div class="space-y-3">
<a href="/docs/tutorials/your-first-stack" class="block p-3 rounded-lg bg-background/50 hover:bg-primary/10 transition-colors">
<div class="font-medium">Tutorial: Your First Stack</div>
<div class="text-sm text-muted-foreground">Create your first stacked PR in 15 minutes</div>
</a>
<a href="/docs/features/ai-review" class="block p-3 rounded-lg bg-background/50 hover:bg-primary/10 transition-colors">
<div class="font-medium">Setup AI Code Review</div>
<div class="text-sm text-muted-foreground">Configure GPT-4 or Claude for automatic reviews</div>
</a>
<a href="/docs/features/merge-queue" class="block p-3 rounded-lg bg-background/50 hover:bg-primary/10 transition-colors">
<div class="font-medium">Use Merge Queue</div>
<div class="text-sm text-muted-foreground">Automate merging with stack awareness</div>
</a>
</div>
</div>
</div>
</section>
<!-- Tutorials -->
<section id="tutorials" class="mb-16">
<h2 class="text-3xl font-bold mb-8">Hands-On Tutorials</h2>
<div class="space-y-4">
<a
href="/docs/tutorials/your-first-stack"
class="block p-6 rounded-xl border border-white/10 bg-card/50 hover:border-primary/50 transition-all"
>
<div class="flex items-center justify-between">
<div>
<h3 class="text-xl font-semibold mb-2">π Your First Stacked PR</h3>
<p class="text-sm text-muted-foreground">
Learn how to split a large feature into reviewable chunks in 15 minutes
</p>
<div class="flex items-center gap-4 mt-3 text-xs text-muted-foreground">
<span>β±οΈ 15-20 minutes</span>
<span>π Beginner</span>
<span>π» Hands-on coding</span>
</div>
</div>
<span class="text-primary">β</span>
</div>
</a>
</div>
</section>
<!-- Resources -->
<section class="mb-16">
<h2 class="text-3xl font-bold mb-8">Additional Resources</h2>
<div class="grid md:grid-cols-3 gap-6">
<a
href="https://github.com/swadhinbiswas/OpencodeHub"
target="_blank"
class="p-6 rounded-xl border border-white/10 bg-card/50 hover:border-primary/50 transition-all"
>
<h3 class="text-lg font-semibold mb-2">π GitHub Repository</h3>
<p class="text-sm text-muted-foreground">View source code and contribute</p>
</a>
<a
href="https://github.com/swadhinbiswas/OpencodeHub/issues"
target="_blank"
class="p-6 rounded-xl border border-white/10 bg-card/50 hover:border-primary/50 transition-all"
>
<h3 class="text-lg font-semibold mb-2">π Report Issues</h3>
<p class="text-sm text-muted-foreground">Found a bug? Let us know</p>
</a>
<a
href="https://github.com/swadhinbiswas/OpencodeHub/discussions"
target="_blank"
class="p-6 rounded-xl border border-white/10 bg-card/50 hover:border-primary/50 transition-all"
>
<h3 class="text-lg font-semibold mb-2">π¬ Discussions</h3>
<p class="text-sm text-muted-foreground">Ask questions and share ideas</p>
</a>
</div>
</section>
<!-- Feature Comparison -->
<section>
<h2 class="text-3xl font-bold mb-8">Why OpenCodeHub?</h2>
<div class="overflow-x-auto">
<table class="w-full border-collapse">
<thead>
<tr class="border-b border-white/10">
<th class="text-left p-4">Feature</th>
<th class="text-center p-4">GitHub</th>
<th class="text-center p-4">GitLab</th>
<th class="text-center p-4 text-primary">OpenCodeHub</th>
</tr>
</thead>
<tbody>
<tr class="border-b border-white/5">
<td class="p-4">Stacked PRs</td>
<td class="text-center p-4">β</td>
<td class="text-center p-4">β</td>
<td class="text-center p-4 text-green-400">β
Native</td>
</tr>
<tr class="border-b border-white/5">
<td class="p-4">AI Code Review</td>
<td class="text-center p-4">β οΈ Copilot</td>
<td class="text-center p-4">β</td>
<td class="text-center p-4 text-green-400">β
GPT-4 & Claude</td>
</tr>
<tr class="border-b border-white/5">
<td class="p-4">Smart Merge Queue</td>
<td class="text-center p-4">β οΈ Basic</td>
<td class="text-center p-4">β οΈ Basic</td>
<td class="text-center p-4 text-green-400">β
Stack-aware</td>
</tr>
<tr class="border-b border-white/5">
<td class="p-4">Self-Hosted</td>
<td class="text-center p-4">β</td>
<td class="text-center p-4">β
Complex</td>
<td class="text-center p-4 text-green-400">β
Simple</td>
</tr>
<tr>
<td class="p-4">Cost</td>
<td class="text-center p-4">$$$</td>
<td class="text-center p-4">$$$</td>
<td class="text-center p-4 text-green-400">Free</td>
</tr>
</tbody>
</table>
</div>
</section>
</div>
</BaseLayout>
<style>
.container {
max-width: 1200px;
}
</style>