Commit bd5e0a9da5

bd5e0a9da568b536a7075f691b60a18762134ec1

parent: a2733a87cd

Verified · cmc

cmc <hello@cleberg.net> · 2026-09-16 05:02 UTC

Make the home page a directory of everything krz runs

The home page listed no apps or services; both sat behind buttons. It
now renders every app and all 23 services inline, grouped, each row a
single link covering name, description, and host.

Services move from markdown bullets in content/services/_index.md to
data/services.toml so the home page and /services/ render from one
source. /services/ gets its own template; the shared markup lives in
templates/partials/.

About, principles, status, and greetz move from the home page to
/about/, which is now in the nav.

Styling: --max 52rem -> 60rem so the service grid fits two columns
above 48rem, one below. Section headings were dimmer and smaller than
body text; they now sit on a rule. Adds a focus-visible outline.

Layout: unified · split

content/_index.md +2 −18
@@ -2,21 +2,5 @@
22title = "krz"
33+++
44
5## about
6
7krz builds native apps and self-hosted, privacy-respecting frontends. two people, a few servers, no investors. local-first data, few dependencies, no ads, no tracking.
8
9## principles
10
11- fixed scope. a tool that's done stays done.
12- local-first. your data stays on your device, not our servers.
13- fewer dependencies. less to break, less to trust.
14- maintenance over features. we'd rather fix than pad.
15
16## status
17
18active. slow. not recruiting.
19
20## greetz
21
22everyone still writing plain text on purpose.
5krz builds native apps and self-hosted, privacy-respecting frontends. no
6accounts, no ads, no tracking. [about krz &rarr;](@/about.md)
content/about.md added +21
@@ -0,0 +1,21 @@
1+++
2title = "About"
3description = "Small, durable software focused on utility, privacy, and control."
4+++
5
6krz builds native apps and self-hosted, privacy-respecting frontends. two people, a few servers, no investors. local-first data, few dependencies, no ads, no tracking.
7
8## principles
9
10- fixed scope. a tool that's done stays done.
11- local-first. your data stays on your device, not our servers.
12- fewer dependencies. less to break, less to trust.
13- maintenance over features. we'd rather fix than pad.
14
15## status
16
17active. slow. not recruiting.
18
19## greetz
20
21everyone still writing plain text on purpose.
content/services/_index.md +3 −37
@@ -1,42 +1,8 @@
11+++
22title = "Services"
33description = "Public self-hosted services from krz."
4sort_by = "weight"
4template = "services.html"
55+++
66
7Public services hosted by krz.
8
9These are maintained on a best-effort basis. Logging and retention are kept
10minimal where practical.
11
12## proxies / front-ends
13
14- [AnonymousOverflow](https://ao.krz.sh) — StackOverflow alternative front-end
15- [BiblioReads](https://br.krz.sh) — Goodreads alternative front-end
16- [BreezeWiki](https://bw.krz.sh) — Fandom alternative front-end
17- [Gothub](https://gh.krz.sh) — alternative GitHub interface
18- [LibremDB](https://ld.krz.sh) — IMDb alternative front-end
19- [Binternet](https://pin.krz.sh) — Pinterest alternative front-end
20- [Piped](https://pipedapi.krz.sh) — YouTube alternative front-end
21- [Small](https://small.krz.sh) — Medium alternative front-end
22
23## other services
24
25- [CyberChef](https://cc.krz.sh) — the Cyber Swiss Army Knife
26- [Hat.sh](https://hat.krz.sh) — simple, fast, secure client-side file encryption
27- [LibreTranslate](https://lt.krz.sh) — a translation engine
28- [Mazanoke](https://mz.krz.sh) — local image optimizer that runs in your browser
29- [FlashPaper](https://paste.krz.sh) — one-time encrypted password and secret sharing
30- [SearXNG](https://search.krz.sh) — a privacy-respecting open metasearch engine
31- [Send](https://send.krz.sh) — simple, private file sharing
32- [Slash](https://slash.krz.sh) — bookmark and link sharing platform; account required
33
34## software i maintain
35
36- [1kb](https://rogue.krz.sh/1kb/#g) — ultra-small roguelike game
37- [1mb](https://rogue.krz.sh/1mb/) — extension of 1kb, showing what's possible with 1mb
38- [gitbay](https://gitbay.org) — a CLI-first git forge, where SSH is the API
39- [hn](https://hn.krz.sh) — Hacker News proxy
40- [Office](https://office.krz.sh) — the world's smallest office suite; fork of awfice
41- [org-live](https://org.krz.sh) — a basic org-mode editor for the web
42- [SkunkyArt](https://art.krz.sh) — DeviantArt alternative front-end; fork of an unmaintained upstream
7Public services hosted by krz. Maintained on a best-effort basis; logging and
8retention are kept minimal where practical.
data/services.toml added +125
@@ -0,0 +1,125 @@
1# Public services hosted by krz. Rendered on the home page and /services/.
2
3[[groups]]
4name = "proxies / front-ends"
5
6 [[groups.items]]
7 name = "AnonymousOverflow"
8 url = "https://ao.krz.sh"
9 description = "StackOverflow alternative front-end"
10
11 [[groups.items]]
12 name = "BiblioReads"
13 url = "https://br.krz.sh"
14 description = "Goodreads alternative front-end"
15
16 [[groups.items]]
17 name = "BreezeWiki"
18 url = "https://bw.krz.sh"
19 description = "Fandom alternative front-end"
20
21 [[groups.items]]
22 name = "Gothub"
23 url = "https://gh.krz.sh"
24 description = "alternative GitHub interface"
25
26 [[groups.items]]
27 name = "LibremDB"
28 url = "https://ld.krz.sh"
29 description = "IMDb alternative front-end"
30
31 [[groups.items]]
32 name = "Binternet"
33 url = "https://pin.krz.sh"
34 description = "Pinterest alternative front-end"
35
36 [[groups.items]]
37 name = "Piped"
38 url = "https://pipedapi.krz.sh"
39 description = "YouTube alternative front-end"
40
41 [[groups.items]]
42 name = "Small"
43 url = "https://small.krz.sh"
44 description = "Medium alternative front-end"
45
46[[groups]]
47name = "other services"
48
49 [[groups.items]]
50 name = "CyberChef"
51 url = "https://cc.krz.sh"
52 description = "the Cyber Swiss Army Knife"
53
54 [[groups.items]]
55 name = "Hat.sh"
56 url = "https://hat.krz.sh"
57 description = "simple, fast, secure client-side file encryption"
58
59 [[groups.items]]
60 name = "LibreTranslate"
61 url = "https://lt.krz.sh"
62 description = "a translation engine"
63
64 [[groups.items]]
65 name = "Mazanoke"
66 url = "https://mz.krz.sh"
67 description = "local image optimizer that runs in your browser"
68
69 [[groups.items]]
70 name = "FlashPaper"
71 url = "https://paste.krz.sh"
72 description = "one-time encrypted password and secret sharing"
73
74 [[groups.items]]
75 name = "SearXNG"
76 url = "https://search.krz.sh"
77 description = "a privacy-respecting open metasearch engine"
78
79 [[groups.items]]
80 name = "Send"
81 url = "https://send.krz.sh"
82 description = "simple, private file sharing"
83
84 [[groups.items]]
85 name = "Slash"
86 url = "https://slash.krz.sh"
87 description = "bookmark and link sharing platform; account required"
88
89[[groups]]
90name = "software i maintain"
91
92 [[groups.items]]
93 name = "1kb"
94 url = "https://rogue.krz.sh/1kb/#g"
95 description = "ultra-small roguelike game"
96
97 [[groups.items]]
98 name = "1mb"
99 url = "https://rogue.krz.sh/1mb/"
100 description = "extension of 1kb, showing what's possible with 1mb"
101
102 [[groups.items]]
103 name = "gitbay"
104 url = "https://gitbay.org"
105 description = "a CLI-first git forge, where SSH is the API"
106
107 [[groups.items]]
108 name = "hn"
109 url = "https://hn.krz.sh"
110 description = "Hacker News proxy"
111
112 [[groups.items]]
113 name = "Office"
114 url = "https://office.krz.sh"
115 description = "the world's smallest office suite; fork of awfice"
116
117 [[groups.items]]
118 name = "org-live"
119 url = "https://org.krz.sh"
120 description = "a basic org-mode editor for the web"
121
122 [[groups.items]]
123 name = "SkunkyArt"
124 url = "https://art.krz.sh"
125 description = "DeviantArt alternative front-end; fork of an unmaintained upstream"
sass/main.scss +68 −3
@@ -34,7 +34,7 @@
3434
3535:root {
3636 --mono: "SF Mono", "JetBrains Mono", "Fira Code", ui-monospace, Menlo, Consolas, monospace;
37 --max: 52rem;
37 --max: 60rem;
3838}
3939
4040* { box-sizing: border-box; }
@@ -57,6 +57,7 @@ a { color: var(--blue); text-decoration: none; }
5757a:hover { text-decoration: underline; text-underline-offset: 3px; }
5858
5959::selection { background: var(--sel-bg); color: var(--sel-fg); }
60:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
6061
6162// ---- Header ----------------------------------------------------------------
6263.site-header {
@@ -91,7 +92,6 @@ a:hover { text-decoration: underline; text-underline-offset: 3px; }
9192// ---- Hero ------------------------------------------------------------------
9293.tagline { color: var(--muted); font-size: 1rem; margin: 0 0 2rem; }
9394
94.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 0 0 1rem; }
9595.btn {
9696 display: inline-block;
9797 font-family: var(--mono);
@@ -105,6 +105,71 @@ a:hover { text-decoration: underline; text-underline-offset: 3px; }
105105.btn-primary { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
106106.btn-primary:hover { opacity: 0.88; border-color: var(--btn-bg); }
107107
108// ---- Directory (home + services) -------------------------------------------
109.dir { margin: 2.5rem 0 0; }
110
111.dir-label {
112 color: var(--muted);
113 font-size: 0.8rem;
114 font-weight: 700;
115 text-transform: uppercase;
116 letter-spacing: 0.18em;
117 margin: 0;
118 padding-bottom: 0.6rem;
119 border-bottom: 1px solid var(--border);
120}
121
122.dir-list { list-style: none; padding: 0; margin: 0; }
123.dir-grid { display: grid; grid-template-columns: 1fr; column-gap: 2rem; }
124.dir-item { border-bottom: 1px solid var(--border); }
125
126.dir-row {
127 display: block;
128 padding: 0.7rem 0.6rem;
129 margin: 0 -0.6rem;
130 color: var(--muted);
131}
132.dir-row:hover { background: var(--surface); text-decoration: none; }
133.dir-row:hover .dir-name { color: var(--blue); }
134
135.dir-head { display: flex; align-items: baseline; gap: 0.75rem; }
136.dir-name { color: var(--text); font-weight: 700; }
137.dir-host { color: var(--dim); font-size: 0.78rem; margin-left: auto; }
138.dir-desc {
139 display: block;
140 color: var(--muted);
141 font-size: 0.86rem;
142 line-height: 1.5;
143 margin-top: 0.1rem;
144}
145
146.dir-item-app { display: flex; flex-direction: column; align-items: flex-start; }
147.dir-item-app .dir-row { width: 100%; }
148.dir-actions {
149 display: flex;
150 gap: 1.1rem;
151 font-size: 0.84rem;
152 padding: 0 0 0.75rem;
153}
154
155@media (min-width: 44rem) {
156 .dir-item-app { flex-direction: row; align-items: center; gap: 1.5rem; }
157 .dir-item-app .dir-row { flex: 1; min-width: 0; }
158 .dir-actions { white-space: nowrap; padding: 0; }
159}
160
161@media (min-width: 48rem) {
162 .dir-grid { grid-template-columns: 1fr 1fr; }
163}
164
165.home-note {
166 margin: 3.5rem 0 0;
167 padding-top: 1.5rem;
168 border-top: 1px solid var(--border);
169 font-size: 0.88rem;
170}
171.home-note p { margin: 0; }
172
108173// ---- Prose -----------------------------------------------------------------
109174.prose { max-width: 44rem; }
110175.page-label {
@@ -116,7 +181,7 @@ a:hover { text-decoration: underline; text-underline-offset: 3px; }
116181 margin: 0 0 1.75rem;
117182}
118183.prose h2 {
119 color: var(--dim);
184 color: var(--muted);
120185 font-size: 0.82rem;
121186 font-weight: 700;
122187 text-transform: uppercase;
templates/base.html +3 −1
@@ -21,9 +21,11 @@
2121 <header class="site-header">
2222 <a class="brand" href="{{ get_url(path="/") | safe }}">krz</a>
2323 <nav class="site-nav">
24 <a href="{{ get_url(path="/apps/") | safe }}">apps</a>
25 <span class="sep">·</span>
2426 <a href="{{ get_url(path="/services/") | safe }}">services</a>
2527 <span class="sep">·</span>
26 <a href="{{ get_url(path="/apps/") | safe }}">apps</a>
28 <a href="{{ get_url(path="/about/") | safe }}">about</a>
2729 </nav>
2830 </header>
2931
templates/index.html +5 −7
@@ -1,14 +1,12 @@
11{% extends "base.html" %}
22
33{% block content %}
4<p class="tagline">small, durable software · privacy-first tools you control</p>
4<p class="tagline">{{ config.extra.tagline | lower }}</p>
55
6<div class="hero-actions">
7 <a class="btn btn-primary" href="{{ get_url(path="/services/") | safe }}">view services &rarr;</a>
8 <a class="btn" href="{{ get_url(path="/apps/") | safe }}">browse apps</a>
9</div>
6{% include "partials/apps.html" %}
7{% include "partials/services.html" %}
108
11<article class="prose">
9<div class="home-note prose">
1210 {{ section.content | safe }}
13</article>
11</div>
1412{% endblock content %}
templates/partials/apps.html added +19
@@ -0,0 +1,19 @@
1<section class="dir">
2 <h2 class="dir-label">apps</h2>
3 <ul class="dir-list">
4 {% set apps = get_section(path="apps/_index.md") %}{% for page in apps.pages %}
5 <li class="dir-item dir-item-app">
6 <a class="dir-row" href="{{ page.permalink | safe }}">
7 <span class="dir-head">
8 <span class="dir-name">{{ page.title }}</span>
9 </span>
10 <span class="dir-desc">{{ page.description }}</span>
11 </a>
12 <span class="dir-actions">
13 {% if page.extra.appstore %}<a href="{{ page.extra.appstore }}">app store &rarr;</a>{% endif %}
14 {% if page.extra.link %}<a href="{{ page.extra.link }}">{{ page.extra.link_label | default(value="source") | lower }} &rarr;</a>{% endif %}
15 </span>
16 </li>
17 {% endfor %}
18 </ul>
19</section>
templates/partials/services.html added +18
@@ -0,0 +1,18 @@
1{% set services = load_data(path="data/services.toml") %}{% for group in services.groups %}
2<section class="dir">
3 <h2 class="dir-label">{{ group.name }}</h2>
4 <ul class="dir-list dir-grid">
5 {% for item in group.items %}
6 <li class="dir-item">
7 <a class="dir-row" href="{{ item.url }}">
8 <span class="dir-head">
9 <span class="dir-name">{{ item.name }}</span>
10 <span class="dir-host">{{ item.url | replace(from="https://", to="") }}</span>
11 </span>
12 <span class="dir-desc">{{ item.description }}</span>
13 </a>
14 </li>
15 {% endfor %}
16 </ul>
17</section>
18{% endfor %}
templates/services.html added +13
@@ -0,0 +1,13 @@
1{% extends "base.html" %}
2
3{% block title %}{{ section.title | lower }} &middot; {{ config.title }}{% endblock title %}
4{% block description %}{{ section.description | default(value=config.description) }}{% endblock description %}
5
6{% block content %}
7<article class="prose">
8 <h1 class="page-label">{{ section.title }}</h1>
9 {{ section.content | safe }}
10</article>
11
12{% include "partials/services.html" %}
13{% endblock content %}