-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
377 lines (336 loc) · 9.38 KB
/
index.html
File metadata and controls
377 lines (336 loc) · 9.38 KB
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
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>clawssh — AI coding agents on any machine over SSH</title>
<script src="https://unpkg.com/lucide@latest"></script>
<style>
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Space Grotesk", sans-serif;
background: #fff;
color: #111;
-webkit-font-smoothing: antialiased;
}
.w {
max-width: 800px;
margin: 0 auto;
padding: 0 32px;
}
nav {
padding: 20px 0;
display: flex;
justify-content: space-between;
align-items: center;
}
nav .logo {
font-family: "IBM Plex Mono", monospace;
font-weight: 600;
font-size: 0.85rem;
color: #111;
text-decoration: none;
}
nav a.gh {
font-family: "IBM Plex Mono", monospace;
font-size: 0.7rem;
color: #999;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 0.08em;
}
nav a.gh:hover {
color: #111;
}
/* hero — tight, focused on getting started */
.hero {
padding: 64px 0 0;
margin-bottom: 48px;
}
.hero h1 {
font-size: 2.4rem;
font-weight: 700;
letter-spacing: -0.035em;
line-height: 1.15;
margin-bottom: 16px;
max-width: 520px;
}
.hero p {
font-size: 0.9rem;
color: #555;
line-height: 1.6;
max-width: 420px;
margin-bottom: 32px;
}
/* demo */
.demo {
position: relative;
}
.demo pre {
font-family: "IBM Plex Mono", monospace;
font-size: 0.88rem;
line-height: 1.3;
color: #c0c0c0;
overflow-x: auto;
white-space: pre;
background: #1a1a1a;
padding: 28px 24px;
}
.demo .dollar {
color: #d4a843;
user-select: none;
}
.copy-install {
position: absolute;
top: 12px;
right: 12px;
background: none;
border: 1px solid #555;
color: #aaa;
font-family: "IBM Plex Mono", monospace;
font-size: 0.6rem;
padding: 3px 10px;
cursor: pointer;
text-transform: uppercase;
letter-spacing: 0.06em;
}
.copy-install:hover {
color: #eee;
border-color: #555;
}
.demo .y {
color: #d4a843;
}
.demo .wh {
color: #f0f0f0;
}
.demo .p {
color: #9b72cf;
}
.demo .g {
color: #5fb87a;
}
.demo .d {
color: #999;
}
.demo .logo {
line-height: 1;
display: block;
margin: 4px 0;
}
@keyframes blink {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0;
}
}
.cursor {
animation: blink 1.06s step-end infinite;
color: #d4a843;
}
.rotate {
display: inline-block;
transition: opacity 0.3s, color 0.3s;
}
.rotate.claude {
color: #d97706;
}
.rotate.opencode {
color: #2563eb;
}
/* features */
.features {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 56px 64px;
margin-bottom: 96px;
}
.feat-icon {
display: block;
width: 28px;
height: 28px;
margin-bottom: 14px;
color: #d4a843;
}
.agent-logos {
display: flex;
align-items: center;
gap: 10px;
font-family: "IBM Plex Mono", monospace;
font-size: 0.85rem;
font-weight: 500;
margin-bottom: 8px;
}
.feat h3 {
font-size: 1.05rem;
font-weight: 600;
margin-bottom: 6px;
letter-spacing: -0.01em;
}
.feat p {
font-size: 0.85rem;
color: #555;
line-height: 1.6;
}
.feat code {
display: block;
margin-top: 10px;
font-family: "IBM Plex Mono", monospace;
font-size: 0.72rem;
color: #888;
background: #f5f5f5;
padding: 6px 10px;
}
nav .gh {
font-family: "IBM Plex Mono", monospace;
font-size: 0.7rem;
color: #999;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 0.08em;
}
nav .gh:hover {
color: #111;
}
@media (max-width: 600px) {
.hero h1 {
font-size: 1.8rem;
}
.hero {
padding: 48px 0 0;
}
.features {
grid-template-columns: 1fr;
gap: 40px;
}
.demo pre {
font-size: 0.7rem;
padding: 20px 16px;
}
.w {
padding: 0 16px;
}
}
</style>
</head>
<body>
<div class="w">
<nav>
<a href="/" class="logo">clawssh</a>
<a href="https://github.com/denoland/clawssh" class="gh">GitHub</a>
</nav>
<div class="hero">
<h1>
<span class="rotate claude" id="agent-name">Claude Code</span> over
SSH
</h1>
<p>
Works with Claude Code and OpenCode. Nothing installed on the remote.
Your credentials never leave your laptop.
</p>
<div class="demo">
<pre>
<span class="dollar">$</span> curl -fsSL https://denoland.github.io/clawssh/install.sh | sh
</pre>
<button
class="copy-install"
onclick="navigator.clipboard.writeText('curl -fsSL https://denoland.github.io/clawssh/install.sh | sh');this.textContent='copied';setTimeout(()=>this.textContent='copy',1500)"
>
copy
</button>
</div>
<div class="demo" style="margin-top: 8px">
<pre>
<span class="dollar">$</span> clawssh pi@raspberrypi.local
<span class="d">[clawssh] Connected — remote cwd: /home/pi/sensors</span>
<span class="logo"> <span class="p">▐▛███▜▌</span> <span class="wh">Claude Code</span> <span class="d">v2.1.84</span>
<span class="p">▝▜█████▛▘</span> <span class="d">Opus 4.6 (1M context)</span>
<span class="p">▘▘ ▝▝</span> <span class="d">/home/pi/sensors</span></span>
<span class="y">❯</span> <span class="wh">the temperature readings are off, debug it</span>
<span class="y">Read</span><span class="d">(</span>src/sensor.py<span class="d">)</span>
<span class="d">⎿</span> <span class="d">Found offset miscalculation on line 42</span>
<span class="y">Edit</span><span class="d">(</span>src/sensor.py<span class="d">)</span>
<span class="d">⎿</span> Fixed calibration offset: <span class="g">+2.5°C → +0.3°C</span>
<span class="y">Bash</span><span class="d">(</span>python3 test_sensors.py<span class="d">)</span>
<span class="d">⎿</span> 8 tests passed <span class="g">✓</span>
<span class="y">❯</span> <span class="cursor">█</span></pre>
</div>
</div>
</div>
<div class="w">
<div class="features">
<div class="feat">
<i data-lucide="zap" class="feat-icon"></i>
<h3>Zero install on the remote</h3>
<p>
Servers, VMs, containers, Pis, NAS boxes. If it runs sshd, clawssh
works on it.
</p>
</div>
<div class="feat">
<i data-lucide="shield-check" class="feat-icon"></i>
<h3>Agent loop sandboxed locally</h3>
<p>
The AI runs on your machine. API keys, auth, config, and history
never touch the remote.
</p>
</div>
<div class="feat">
<i data-lucide="arrow-right-left" class="feat-icon"></i>
<h3>Cross-machine sessions</h3>
<p>
Start on your Mac, resume from Linux. Sessions live locally. The
remote is stateless.
</p>
<code>$ clawssh dev@server --resume</code>
</div>
<div class="feat">
<div class="agent-logos">
<img
src="https://cdn.simpleicons.org/anthropic/d97706"
alt="Claude Code"
height="20"
>
<span style="color: #ccc">+</span>
<img
src="https://opencode.ai/favicon.ico"
alt="OpenCode"
height="20"
>
</div>
<h3>Multi-agent support</h3>
<p>
Works with Claude Code and OpenCode. Use whichever agent fits your
workflow.
</p>
<code>$ clawssh --opencode dev@server</code>
</div>
</div>
</div>
<script>
lucide.createIcons();
const el = document.getElementById("agent-name");
const items = [{ name: "Claude Code", cls: "claude" }, {
name: "OpenCode",
cls: "opencode",
}];
let i = 0;
setInterval(() => {
el.style.opacity = "0";
setTimeout(() => {
i = (i + 1) % items.length;
el.textContent = items[i].name;
el.className = "rotate " + items[i].cls;
el.style.opacity = "1";
}, 300);
}, 2000);
</script>
</body>
</html>