-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
360 lines (338 loc) · 21 KB
/
Copy pathindex.html
File metadata and controls
360 lines (338 loc) · 21 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Capsule — an open-source Mac app for Apple's container CLI</title>
<meta name="description" content="Capsule is an open-source, native macOS app for Apple's container CLI: browse and manage containers, images, volumes, networks and machines with an embedded terminal and a command palette." />
<link rel="icon" href="assets/capsule-icon-256.png" />
<meta property="og:title" content="Capsule" />
<meta property="og:description" content="An open-source, native macOS app for Apple's container CLI." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://capsule-native.github.io/" />
<meta property="og:image" content="https://capsule-native.github.io/assets/og.png" />
<meta property="og:image:width" content="2400" />
<meta property="og:image:height" content="1260" />
<meta property="og:image:alt" content="Capsule — an open-source Mac app for Apple's container CLI" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Capsule" />
<meta name="twitter:description" content="An open-source, native macOS app for Apple's container CLI." />
<meta name="twitter:image" content="https://capsule-native.github.io/assets/og.png" />
<style>
:root {
--bg: #070b14;
--text: #eaf0fb;
--muted: #93a1bd;
--accent: #0a84ff;
--accent-hi: #4a9bff;
--cyan: #64d2ff;
--glass: rgba(255,255,255,.055);
--glass-brd: rgba(255,255,255,.11);
--glass-hi: rgba(255,255,255,.20);
--mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
--sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
background: var(--bg); color: var(--text); font-family: var(--sans);
-webkit-font-smoothing: antialiased; line-height: 1.6; overflow-x: hidden;
}
.field { position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); }
.b1 { width: 62vw; height: 62vw; left: -14vw; top: -20vw;
background: radial-gradient(circle at 30% 30%, #1b6dff, transparent 62%); opacity: .55; }
.b2 { width: 46vw; height: 46vw; right: -10vw; top: 4vh;
background: radial-gradient(circle at 60% 40%, #0a84ff, transparent 60%); opacity: .42; }
.b3 { width: 52vw; height: 52vw; left: 26vw; top: 44vh;
background: radial-gradient(circle at 50% 50%, #34d0ff, transparent 60%); opacity: .26; }
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none;
background-image: radial-gradient(rgba(255,255,255,.028) 1px, transparent 1px); background-size: 3px 3px; }
@media (prefers-reduced-motion: no-preference) {
.b1 { animation: drift 24s ease-in-out infinite alternate; }
.b2 { animation: drift 30s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(3vw, 3vh, 0) scale(1.07); } }
}
.shell { position: relative; z-index: 2; max-width: 1040px; margin: 0 auto; padding: 0 22px; }
nav {
position: sticky; top: 14px; z-index: 5;
display: flex; align-items: center; justify-content: space-between; gap: 16px;
margin-top: 14px; padding: 9px 12px 9px 14px;
background: var(--glass); border: 1px solid var(--glass-brd); border-radius: 14px;
backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
box-shadow: inset 0 1px 0 var(--glass-hi), 0 12px 40px rgba(0,0,0,.35);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -.01em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; box-shadow: 0 3px 12px rgba(10,90,220,.5); }
.gh { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none;
font-size: 14px; padding: 8px 13px; border-radius: 10px; border: 1px solid transparent; }
.gh:hover { color: var(--text); background: rgba(255,255,255,.06); }
.gh svg { width: 17px; height: 17px; }
.hero { text-align: center; padding: 70px 0 6px; }
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--cyan); }
h1 { font-size: clamp(34px, 5.6vw, 58px); line-height: 1.05; letter-spacing: -.035em; font-weight: 720;
margin: 16px auto 0; max-width: 15ch; }
h1 .accent { background: linear-gradient(100deg, var(--accent-hi), var(--cyan));
-webkit-background-clip: text; background-clip: text; color: transparent; }
h1 code { font-family: var(--mono); font-size: .82em; font-weight: 640; }
.lede { color: var(--muted); font-size: 18.5px; margin: 22px auto 0; max-width: 52ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; border-radius: 12px;
font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent;
transition: transform .06s, filter .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { color: #eaf4ff; background: linear-gradient(180deg, var(--accent-hi), var(--accent));
box-shadow: 0 8px 26px rgba(10,132,255,.45), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-glass { color: var(--text); background: var(--glass); border-color: var(--glass-brd);
backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
box-shadow: inset 0 1px 0 var(--glass-hi); }
.btn-glass:hover { background: rgba(255,255,255,.09); }
.meta { margin-top: 15px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.install { margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.install-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cmd { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 11px 16px; border-radius: 12px;
font-family: var(--mono); font-size: 13.5px; color: var(--text); cursor: pointer;
background: var(--glass); border: 1px solid var(--glass-brd);
backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
box-shadow: inset 0 1px 0 var(--glass-hi); transition: background .15s, transform .06s; }
.cmd:hover { background: rgba(255,255,255,.09); }
.cmd:active { transform: translateY(1px); }
.cmd .prompt { color: var(--cyan); user-select: none; }
.cmd code { min-width: 0; overflow-x: auto; white-space: nowrap; }
.cmd .copy { color: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; user-select: none; }
.cmd.copied .copy { color: var(--accent-hi); }
/* Screenshot carousel — a looping, stacked card deck */
.showcase { padding: 40px 0 4px; }
.stage { position: relative; max-width: 900px; margin: 0 auto; padding-top: 46px; padding-bottom: 88px; }
.glow { position: absolute; left: 12%; right: 12%; top: -2%; bottom: 30%; z-index: 0; border-radius: 50%;
background: radial-gradient(closest-side, rgba(10,132,255,.4), transparent 72%); filter: blur(56px); pointer-events: none; }
.deckframe { position: relative; z-index: 1; aspect-ratio: 1352 / 832; }
.deck { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; will-change: transform, opacity;
transition: transform .8s cubic-bezier(.22,.61,.36,1), opacity .6s ease; }
.slide:first-child { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: contain;
filter: drop-shadow(0 26px 52px rgba(2,8,26,.62)); transition: filter .6s ease; }
.navpair { position: absolute; top: 0; right: 2px; z-index: 30; display: flex; gap: 7px; }
.arrow { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
color: var(--text); font-size: 17px; line-height: 0; padding: 0 0 2px;
background: var(--glass); border: 1px solid var(--glass-brd);
backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
box-shadow: inset 0 1px 0 var(--glass-hi); transition: background .15s, transform .06s; }
.arrow:hover { background: rgba(255,255,255,.13); }
.arrow:active { transform: scale(.92); }
.hud { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: -4px; }
.cap { font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; color: var(--muted); text-align: center; margin: 0; min-height: 1.3em; }
.dots { display: flex; gap: 9px; }
.dot { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
background: rgba(255,255,255,.22); transition: background .2s, transform .2s, box-shadow .2s; }
.dot.on { background: var(--accent-hi); transform: scale(1.3); box-shadow: 0 0 10px rgba(10,132,255,.7); }
@media (max-width: 620px) { .stage { padding-top: 42px; } }
@media (prefers-reduced-motion: reduce) { .slide, .slide img { transition-duration: .01ms; } }
.features { padding: 64px 0 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { padding: 20px; border-radius: 15px; background: var(--glass); border: 1px solid var(--glass-brd);
backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
box-shadow: inset 0 1px 0 var(--glass-hi); }
.card .k { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 14px;
color: var(--accent-hi); background: linear-gradient(155deg, rgba(74,155,255,.28), rgba(10,132,255,.10));
border: 1px solid rgba(120,180,255,.28); }
.card .k svg { width: 18px; height: 18px; }
.card h3 { margin: 0 0 6px; font-size: 15px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 13.5px; }
footer { margin: 64px 0 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08);
display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
color: var(--muted); font-size: 13px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 10px; }
@media (max-width: 760px) {
.features { grid-template-columns: repeat(2, 1fr); }
.brand span { display: none; }
}
@media (max-width: 460px) { .features { grid-template-columns: 1fr; } }
</style>
</head>
<body>
<div class="field" aria-hidden="true"><div class="blob b1"></div><div class="blob b2"></div><div class="blob b3"></div></div>
<div class="grain" aria-hidden="true"></div>
<div class="shell">
<nav>
<span class="brand"><img src="assets/capsule-icon-256.png" alt="" /> <span>Capsule</span></span>
<a class="gh" href="https://github.com/capsule-native/capsule">
<svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 .5C5.37.5 0 5.87 0 12.5c0 5.3 3.44 9.8 8.21 11.39.6.11.82-.26.82-.58 0-.29-.01-1.04-.02-2.05-3.34.73-4.04-1.61-4.04-1.61-.55-1.39-1.34-1.76-1.34-1.76-1.09-.75.08-.73.08-.73 1.2.08 1.84 1.24 1.84 1.24 1.07 1.83 2.81 1.3 3.5.99.11-.78.42-1.3.76-1.6-2.67-.3-5.47-1.34-5.47-5.96 0-1.32.47-2.39 1.24-3.23-.12-.3-.54-1.53.12-3.18 0 0 1.01-.32 3.3 1.23a11.5 11.5 0 0 1 6 0C17.99 4.7 19 5.02 19 5.02c.66 1.65.24 2.88.12 3.18.77.84 1.24 1.91 1.24 3.23 0 4.63-2.81 5.65-5.49 5.95.43.37.81 1.1.81 2.22 0 1.61-.01 2.9-.01 3.29 0 .32.22.7.83.58C20.57 22.29 24 17.8 24 12.5 24 5.87 18.63.5 12 .5z"/></svg>
GitHub
</a>
</nav>
<header class="hero">
<div class="eyebrow">Open source · Native macOS · Apple silicon</div>
<h1>An <span class="accent">open-source</span> Mac app for Apple's <code>container</code> CLI.</h1>
<p class="lede">
Browse and manage containers, images, volumes, networks and machines in a real macOS
window — with an embedded terminal and a command palette for everything else.
</p>
<div class="cta">
<a class="btn btn-primary" href="https://github.com/capsule-native/capsule/releases/latest">Download for macOS</a>
<a class="btn btn-glass" href="https://github.com/capsule-native/capsule">View source</a>
</div>
<div class="install">
<span class="install-label">or install with Homebrew</span>
<button class="cmd" id="brew" type="button"
aria-label="Copy Homebrew install command: brew install --cask capsule-native/tap/capsule">
<span class="prompt" aria-hidden="true">$</span>
<code>brew install --cask capsule-native/tap/capsule</code>
<span class="copy" aria-hidden="true">Copy</span>
</button>
</div>
<p class="meta">Free & open source · no accounts, no telemetry</p>
</header>
<section class="showcase" aria-roledescription="carousel" aria-label="Capsule screenshots">
<div class="stage" id="stage">
<div class="glow" aria-hidden="true"></div>
<div class="deckframe">
<div class="deck" id="deck">
<figure class="slide" data-cap="Embedded terminal, with live CPU / memory / network metrics">
<img src="assets/ss2.png" alt="Capsule with the embedded terminal running apk update inside a container while the inspector shows live CPU, memory, network and block-I/O metrics" />
</figure>
<figure class="slide" data-cap="Browse & pull straight from Docker Hub">
<img src="assets/ss3.png" alt="The Pull Image sheet browsing Docker Hub for nginx, listing official and community images with stars and pull counts" />
</figure>
<figure class="slide" data-cap="Create Linux machines — see the exact command first">
<img src="assets/ss4.png" alt="The Create Machine sheet showing options and a live container-machine command preview" />
</figure>
<figure class="slide" data-cap="Registry login — password over stdin, never argv">
<img src="assets/ss5.png" alt="The Registry Login sheet with a command preview using container registry login --password-stdin" />
</figure>
<figure class="slide" data-cap="See what you can reclaim — and reclaim it in a click">
<img src="assets/ss6.png" alt="The System Storage dashboard showing reclaimable space for images, containers and volumes side by side" />
</figure>
</div>
</div>
<div class="navpair">
<button class="arrow prev" id="prev" type="button" aria-label="Previous screenshot">‹</button>
<button class="arrow next" id="next" type="button" aria-label="Next screenshot">›</button>
</div>
</div>
<div class="hud">
<p class="cap" id="cap" aria-live="polite"></p>
<div class="dots" id="dots" role="tablist" aria-label="Choose screenshot"></div>
</div>
</section>
<section class="features">
<div class="card">
<div class="k"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><rect x="3" y="4" width="18" height="4" rx="1"/><rect x="3" y="10" width="18" height="4" rx="1"/><rect x="3" y="16" width="18" height="4" rx="1"/></svg></div>
<h3>Everything, live</h3>
<p>Containers, images, volumes, networks and machines — searchable, inspectable, updating in real time.</p>
</div>
<div class="card">
<div class="k"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><rect x="3" y="4" width="18" height="16" rx="2"/><path d="M7 9l3 3-3 3M13 15h4"/></svg></div>
<h3>Embedded terminal</h3>
<p>Exec into a container or open a shell without ever leaving the window.</p>
</div>
<div class="card">
<div class="k"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><rect x="3" y="4" width="18" height="16" rx="2"/><path d="M8 10l2 2-2 2"/></svg></div>
<h3>Command palette</h3>
<p>⌘K for anything, with a faithful preview of the exact <code>container</code> command being run.</p>
</div>
<div class="card">
<div class="k"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><circle cx="12" cy="12" r="3"/><path d="M12 2v3M12 19v3M2 12h3M19 12h3M5 5l2 2M17 17l2 2M19 5l-2 2M7 17l-2 2"/></svg></div>
<h3>Scriptable</h3>
<p>Drive it from Shortcuts, AppleScript or an App Intent — every action is automatable.</p>
</div>
</section>
<footer>
<span>© 2026 Capsule · an open-source app for Apple's <code>container</code> CLI</span>
<span>
<a href="https://github.com/capsule-native/capsule">GitHub</a> ·
<a href="https://capsule-native.github.io/appcast.xml">appcast</a>
</span>
</footer>
</div>
<script>
(function () {
var deck = document.getElementById('deck');
var cards = Array.prototype.slice.call(deck.children);
var dots = document.getElementById('dots');
var cap = document.getElementById('cap');
var stage = document.getElementById('stage');
var N = cards.length, active = 0, timer = null;
var reduce = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
// Depth by distance from the front card; anything deeper is hidden behind the stack.
var STEP = [
{ t: 'translateY(0) scale(1)', o: 1, b: '0px' },
{ t: 'translateY(30px) scale(.93)', o: .5, b: '1.5px' },
{ t: 'translateY(56px) scale(.86)', o: .22, b: '3px' }
];
var HIDDEN = { t: 'translateY(72px) scale(.82)', o: 0, b: '4px' };
cards.forEach(function (c, i) {
var d = document.createElement('button');
d.className = 'dot'; d.type = 'button';
d.setAttribute('role', 'tab');
d.setAttribute('aria-label', 'Show screenshot ' + (i + 1));
d.addEventListener('click', function () { go(i); });
dots.appendChild(d);
});
var dotEls = Array.prototype.slice.call(dots.children);
function render() {
for (var i = 0; i < N; i++) {
var rel = (i - active + N) % N;
var s = STEP[rel] || HIDDEN;
var card = cards[i];
card.style.transform = s.t;
card.style.opacity = s.o;
card.style.zIndex = String(100 - rel);
card.querySelector('img').style.filter =
'drop-shadow(0 26px 52px rgba(2,8,26,.62)) blur(' + s.b + ')';
card.setAttribute('aria-hidden', rel === 0 ? 'false' : 'true');
}
for (var j = 0; j < N; j++) {
dotEls[j].classList.toggle('on', j === active);
dotEls[j].setAttribute('aria-selected', j === active ? 'true' : 'false');
}
cap.textContent = cards[active].getAttribute('data-cap');
}
function go(i) { active = (i % N + N) % N; render(); kick(); }
function next() { go(active + 1); }
function prev() { go(active - 1); }
function kick() { if (reduce) return; clearInterval(timer); timer = setInterval(next, 4200); }
document.getElementById('next').addEventListener('click', next);
document.getElementById('prev').addEventListener('click', prev);
stage.addEventListener('mouseenter', function () { clearInterval(timer); });
stage.addEventListener('mouseleave', kick);
document.addEventListener('visibilitychange', function () {
if (document.hidden) clearInterval(timer); else kick();
});
// Touch swipe
var x0 = null;
stage.addEventListener('touchstart', function (e) { x0 = e.touches[0].clientX; }, { passive: true });
stage.addEventListener('touchend', function (e) {
if (x0 === null) return;
var dx = e.changedTouches[0].clientX - x0;
if (Math.abs(dx) > 40) { if (dx < 0) next(); else prev(); }
x0 = null;
}, { passive: true });
render(); kick();
})();
// Click-to-copy the Homebrew install command.
(function () {
var brew = document.getElementById('brew');
if (!brew) return;
var CMD = 'brew install --cask capsule-native/tap/capsule';
var label = brew.querySelector('.copy');
var reset = null;
brew.addEventListener('click', function () {
if (navigator.clipboard && navigator.clipboard.writeText) {
navigator.clipboard.writeText(CMD);
}
brew.classList.add('copied');
if (label) label.textContent = 'Copied ✓';
clearTimeout(reset);
reset = setTimeout(function () {
brew.classList.remove('copied');
if (label) label.textContent = 'Copy';
}, 1500);
});
})();
</script>
</body>
</html>