v0.24.0 166837a

home.html RawHistoryFolder

1<!doctype html>
2<html lang="en">
3<head>
4<meta charset="utf-8">
5<meta name="viewport" content="width=device-width, initial-scale=1">
6<meta name="color-scheme" content="light dark">
7<title>example.test</title>
8<meta name="theme-color" media="(prefers-color-scheme: light)" content="#ffffff">
9<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#0c0c0c">
10<meta name="apple-mobile-web-app-title" content="ermite">
11<link rel="icon" type="image/svg+xml" href="/-/static/img/icon.HASH.svg">
12<link rel="apple-touch-icon" href="/-/static/app/apple-touch-icon.HASH.png">
13<link rel="manifest" href="/-/static/app/manifest.HASH.webmanifest">
14<link rel="preload" href="/-/static/fonts/atkinson-next.HASH.woff2" as="font" type="font/woff2" crossorigin>
15<link rel="stylesheet" href="/-/static/css/ermite.HASH.css">
16<meta name="htmx-config" content='{"history":false,"includeIndicatorCSS":false,"extensions":"sse, hx-live"}'>
17<script src="/-/static/js/htmx.min.HASH.js" defer>
18</script>
19<script src="/-/static/js/hx-live.min.HASH.js" defer>
20</script>
21<script src="/-/static/js/hx-sse.min.HASH.js" defer>
22</script>
23<script src="/-/static/js/ermite.HASH.js" defer>
24</script>
25<script src="/-/static/js/files.HASH.js" defer>
26</script>
27<script src="/-/static/js/passkey.HASH.js" defer>
28</script>
29<script src="/-/static/js/log.HASH.js" defer>
30</script>
31</head>
32<body data-ref="" data-sha="" data-sel="" data-nav="">
33<a class="skip" href="#main">skip to content</a>
34<header class="hdr">
35<div class="hdr-top">
36<a class="brand" href="/" data-g="h" aria-label="home" title="home (g h)">
37<span class="brand-mark" aria-hidden="true">
38</span>
39</a>
40<div class="hdr-acts">
41<button type="button" class="btn search" data-js aria-haspopup="dialog" aria-controls="panel-cmd" aria-keyshortcuts="Control+K :" title="go to a section, ref, file or repo (ctrl k or :)" data-fire="cmd">
42<span class="ico i-search" aria-hidden="true">
43</span>
44<span class="search-label">Go to…</span>
45<kbd aria-hidden="true">ctrl k</kbd>
46</button>
47</div>
48</div>
49</header>
50<div class="work">
51<main id="main" tabindex="-1">
52<h1 class="sr">Repositories</h1>
53<div class="home">
54<section class="home-repos" aria-label="Repositories">
55<div class="home-bar">
56<div class="filter">
57<label for="home-filter" class="sr">filter</label>
58<input id="home-filter" type="search" data-filter="#repo-rows > li" placeholder="Filter repositories…" autocomplete="off" hx-on:input="ermite.filter(this)">
59</div>
60<nav class="sort" aria-label="Sort repositories">
61<span class="mute">sort</span>
62<a href="/?sort=push&amp;dir=asc" aria-current="true">last push <span aria-hidden="true">▼</span>
63<span class="sr">, descending, select for ascending</span>
64</a>
65<a href="/?sort=name&amp;dir=asc">name </a>
66</nav>
67</div>
68<ul class="repos" id="repo-rows" data-rows>
69<li id="repo-demo" class="repo" data-cursor>
70<div class="repo-main">
71<h2 class="repo-name">
72<a href="/demo">demo</a>
73</h2>
74<p class="repo-desc">A demo repository</p>
75<figure class="repo-pulse">
76<svg viewBox="0 0 600 64" role="img" aria-label="Activity: 0 commits in the last 90 days" focusable="false">
77<defs>
78<linearGradient id="hb-demo" x1="0" y1="0" x2="0" y2="1">
79<stop class="pulse-stop-top" offset="0">
80</stop>
81<stop class="pulse-stop-bottom" offset="1">
82</stop>
83</linearGradient>
84</defs>
85<path class="pulse-grid" d="M0 21.5 H600 M0 42.5 H600 M0 63.5 H600" vector-effect="non-scaling-stroke">
86</path>
87<path class="pulse-area" d="M0 58 C98.3 58 491.7 58 590 58 L590 64 L0 64 Z" fill="url(#hb-demo)">
88</path>
89<path class="pulse-line" d="M0 58 C98.3 58 491.7 58 590 58" vector-effect="non-scaling-stroke">
90</path>
91<circle class="pulse-ring" cx="590" cy="58" r="4">
92</circle>
93<circle class="pulse-dot" cx="590" cy="58" r="3.5">
94</circle>
95</svg>
96<figcaption class="pulse-cap" aria-hidden="true">
97<span>90 days ago</span>
98<span>today</span>
99</figcaption>
100</figure>
101</div>
102<div class="repo-head">
103<dl class="repo-stats" aria-label="Figures of demo">
104<div>
105<dt>commits</dt>
106<dd>2</dd>
107</div>
108<div>
109<dt>last 30 days</dt>
110<dd>0</dd>
111</div>
112<div class="rs-tag">
113<dt>latest tag</dt>
114<dd>
115<a href="/demo/tree/SHA40" title="v0.2.0 · made AGO">v0.2.0</a>
116</dd>
117</div>
118<div>
119<dt>last activity</dt>
120<dd>
121<time datetime="STAMP" title="STAMP">AGO</time>
122</dd>
123</div>
124</dl>
125</div>
126<ul class="repo-commits" aria-label="Recent commits of demo">
127<li>
128<a class="rc-sha" href="/demo/commit/SHA40">SHA7</a>
129<span class="rc-subject" title="add main.go">add main.go</span>
130<time class="dim" datetime="STAMP" title="STAMP">AGO</time>
131</li>
132<li>
133<a class="rc-sha" href="/demo/commit/SHA40">SHA7</a>
134<span class="rc-subject" title="first commit">first commit</span>
135<time class="dim" datetime="STAMP" title="STAMP">AGO</time>
136</li>
137</ul>
138</li>
139<li id="repo-quiet" class="repo">
140<div class="repo-main">
141<h2 class="repo-name">
142<a href="/quiet">quiet</a>
143</h2>
144<p class="repo-desc mute">no description</p>
145</div>
146<div class="repo-head">
147<dl class="repo-stats" aria-label="Figures of quiet">
148<div>
149<dt>last activity</dt>
150<dd class="mute">never</dd>
151</div>
152</dl>
153</div>
154<p class="repo-commits mute">no commits yet</p>
155</li>
156</ul>
157</section>
158</div>
159</main>
160</div>
161<footer class="foot">
162<span>ermite devel</span>
163<a href="http://example.test/ermite" rel="noopener" title="source of this version (AGPL-3.0-or-later)">source</a>
164<button type="button" class="foot-keys" data-js data-fire="help" aria-haspopup="dialog" aria-controls="panel-help" aria-keyshortcuts="?">
165<kbd aria-hidden="true">?</kbd> keyboard shortcuts</button>
166</footer>
167<div class="hint" role="status" aria-live="polite">
168<span class="hint-nav" :text="document.body.dataset.nav || ''">
169</span>
170<span class="hint-sel" :text="document.body.dataset.sel ? document.body.dataset.sel + ' · y permalink' : ''">
171</span>
172<span class="hint-flash" :text="document.body.dataset.flash || ''">
173</span>
174<span class="hint-live" data-state="connecting" hx-sse:connect="/-/events?topic=home" hx-swap="none" :text="data.state === 'offline' ? 'live updates paused' : ''" hx-on="htmx:sse:after:connection -> ermiteLive.back();
175           htmx:sse:close, htmx:sse:error -> ermiteLive.lost();
176           htmx:sse:error -> ermiteLive.error(event.detail.status);
177           htmx:sse:before:connection -> ermiteLive.gate(event);
178           home-list, repo-last-push, refs-list, commits-head, mr-notice, ci-run, ci-job -> ermiteLive.swap(event.detail.data);
179           gap -> ermiteLive.reload()">
180</span>
181</div>
182<dialog id="panel-help" class="panel modal" aria-label="Keyboard shortcuts" hx-on:keydown="event.key === 'Escape' && (event.preventDefault(), this.close())" hx-on:click="event.target === this && this.close()">
183<div class="panel-head">
184<h2>Keyboard shortcuts</h2>
185<button type="button" class="panel-x" aria-label="Close" hx-on:click="closest('dialog').close()">
186<kbd>esc</kbd> close</button>
187</div>
188<div class="keys-pref">
189<label>
190<input type="checkbox" id="keys-off" aria-describedby="keys-note" hx-on:change="ermite.setKeysOff(this.checked)"> Turn off single-key shortcuts</label>
191<p id="keys-note" class="dim">Single-key shortcuts are on. ctrl k and esc work whatever this says.</p>
192</div>
193<dl class="keys">
194<div>
195<dt>
196<kbd>ctrl k</kbd>
197<kbd>:</kbd>
198</dt>
199<dd>go to a section, branch, tag, file or repository</dd>
200</div>
201<div>
202<dt>
203<kbd>?</kbd>
204</dt>
205<dd>this list</dd>
206</div>
207<div>
208<dt>
209<kbd>j</kbd>
210<kbd>k</kbd>
211</dt>
212<dd>move the row cursor down / up</dd>
213</div>
214<div>
215<dt>
216<kbd>enter</kbd>
217</dt>
218<dd>open the row under the cursor; on Files, a directory opens or closes in place</dd>
219</div>
220<div>
221<dt>
222<kbd>↑</kbd>
223<kbd>↓</kbd>
224<kbd>←</kbd>
225<kbd>→</kbd>
226<kbd>home</kbd>
227<kbd>end</kbd>
228</dt>
229<dd>in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file</dd>
230</div>
231<div>
232<dt>
233<kbd>l</kbd>
234<kbd>h</kbd>
235</dt>
236<dd>on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls</dd>
237</div>
238<div>
239<dt>
240<kbd>g g</kbd>
241<kbd>G</kbd>
242</dt>
243<dd>first / last row</dd>
244</div>
245<div>
246<dt>
247<kbd>/</kbd>
248</dt>
249<dd>filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)</dd>
250</div>
251<div>
252<dt>
253<kbd>b</kbd>
254</dt>
255<dd>switch branch or tag</dd>
256</div>
257<div>
258<dt>
259<kbd>s</kbd>
260<kbd>t</kbd>
261<kbd>c</kbd>
262<kbd>r</kbd>
263<kbd>m</kbd>
264</dt>
265<dd>tabs: summary, files, commits, branches &amp; tags, merge requests</dd>
266</div>
267<div>
268<dt>
269<kbd>g h</kbd>
270</dt>
271<dd>home</dd>
272</div>
273<div>
274<dt>
275<kbd>y</kbd>
276</dt>
277<dd>copy a permalink pinned to the commit</dd>
278</div>
279<div>
280<dt>
281<kbd>d</kbd>
282<kbd>u</kbd>
283<kbd>x</kbd>
284</dt>
285<dd>diff: split / unified / collapse or expand all</dd>
286</div>
287<div>
288<dt>
289<kbd>e</kbd>
290<kbd>E</kbd>
291</dt>
292<dd>diff: the whole file in view / every file, with the lines the hunks hide</dd>
293</div>
294<div>
295<dt>
296<kbd>n</kbd>
297</dt>
298<dd>merge request: next note in the diff</dd>
299</div>
300<div>
301<dt>
302<kbd>esc</kbd>
303</dt>
304<dd>close a dialog, leave a field</dd>
305</div>
306</dl>
307</dialog>
308<dialog id="panel-cmd" class="panel modal" aria-label="Go to" hx-on:close="ermiteFinder.paletteClose()" hx-on:keydown="event.key === 'Escape' && (event.preventDefault(), this.close())" hx-on:click="event.target === this && this.close()">
309<div class="panel-head">
310<label for="cmd-q" class="sr">go to</label>
311<input id="cmd-q" type="search" placeholder="Go to a section, branch, tag, file or repository…" autocomplete="off" spellcheck="false" role="combobox" aria-autocomplete="list" aria-expanded="true" aria-controls="cmd-list" aria-activedescendant="cmd-o0" hx-on:input="ermite.cmdFilter(this); ermiteFinder.palette(this)" hx-on:keydown="ermite.cmdKey(event)">
312<button type="button" class="panel-x" aria-label="Close" hx-on:click="closest('dialog').close()">
313<kbd>esc</kbd>
314</button>
315</div>
316<ul id="cmd-list" class="cmd-list" role="listbox" aria-label="Targets">
317<li id="cmd-o0" role="option" aria-selected="true" data-k="go home" data-cursor>
318<a href="/" tabindex="-1">
319<span class="lbl">home</span>
320<span class="k">go</span>
321</a>
322</li>
323<li id="cmd-o1" role="option" aria-selected="false" data-k="repo demo">
324<a href="/demo" tabindex="-1">
325<span class="lbl">demo</span>
326<span class="k">repo</span>
327</a>
328</li>
329<li id="cmd-o2" role="option" aria-selected="false" data-k="repo quiet">
330<a href="/quiet" tabindex="-1">
331<span class="lbl">quiet</span>
332<span class="k">repo</span>
333</a>
334</li>
335<li id="cmd-o3" role="option" aria-selected="false" data-k="action turn single-key shortcuts on off keyboard">
336<a href="#" data-fire="keys" tabindex="-1">
337<span class="lbl">turn single-key shortcuts off</span>
338<span class="k">action</span>
339</a>
340</li>
341</ul>
342<p class="panel-foot">
343<span>
344<kbd>↑</kbd>
345<kbd>↓</kbd> move</span>
346<span>
347<kbd>enter</kbd> open</span>
348<span>
349<kbd>esc</kbd> close</span>
350</p>
351</dialog>
352<div id="keys" hidden hx-on="k-j from:body -> ermite.move(1);
353         k-k from:body -> ermite.move(-1);
354         k-top from:body -> ermite.edge(false);
355         k-bottom from:body -> ermite.edge(true);
356         k-open from:body -> ermite.open();
357         k-right from:body -> ermite.rail(true);
358         k-left from:body -> ermite.rail(false);
359         k-esc from:body -> ermite.closeDialogs();
360         k-help from:body -> ermite.dialog('panel-help');
361         k-refs from:body -> ermite.dialog('panel-refs', 'refs-filter');
362         k-cmd from:body -> ermite.dialog('panel-cmd', 'cmd-q'); ermiteFinder.load();
363         k-filter from:body -> ermite.focusFilter();
364         k-gh from:body -> ermite.go('.brand');
365         k-s from:body -> ermite.tab('s');
366         k-t from:body -> ermite.tab('t');
367         k-c from:body -> ermite.tab('c');
368         k-r from:body -> ermite.tab('r');
369         k-m from:body -> ermite.tab('m');
370         k-next from:body -> ermite.nextNote();
371         k-split from:body -> ermite.layout('split');
372         k-unified from:body -> ermite.layout('unified');
373         k-collapse from:body -> ermite.collapse();
374         k-expand from:body -> ermite.expandFile();
375         k-expandAll from:body -> ermite.expandAll();
376         k-permalink from:body -> ermite.permalink();
377         k-merge from:body -> window.ermiteMR?.openMerge();
378         k-read from:body -> window.ermiteMR?.markRead();
379         k-gf from:body -> window.ermiteMR?.focusFiles();
380         k-keys from:body -> ermite.toggleKeys()">
381</div>
382</body>
383</html>

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 2

Tags 45

↑↓ moveenter openesc close