README: five screenshots of the main parts; themes picture reverted

Reverts cbfb90e and ab5f57c (the retaken screenshots, themes.png and
the shots.sh/render.py changes for them). The README shows the welcome
screen, then Server, Components, Manage and Users.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
vvvomitandClaude Opus 5.5 committed 2026-10-30 18:00:54 +03:30
1 parent ab5f57cfad
commit ca0da60b18
15 files changed
+13 -60

No files matched your search

+9 -3
View File
@@ -47,10 +47,16 @@ interzone servers over IPFS.
<table>
<tr>
<td width="50%" valign="top"><p align="center"><a href="docs/screenshots/server.png"><img src="docs/screenshots/server.png" alt="The Server step" width="400"></a></p>
<b>Server:</b> where it runs, where downloads come from, HTTPS and networking, in one form.</td>
<td width="50%" valign="top"><p align="center"><a href="docs/screenshots/components.png"><img src="docs/screenshots/components.png" alt="Picking bridges, clients and services" width="400"></a></p>
<b>Set up:</b> pick a homeserver and any of 63 bridges, bots, clients and services.</td>
<td width="50%" valign="top"><p align="center"><a href="docs/screenshots/themes.png"><img src="docs/screenshots/themes.png" alt="The welcome screen in six of interzone's themes" width="400"></a></p>
<b>Themes:</b> 13 of them, light and dark, switched with <code>ctrl+y</code>.</td>
<b>Components:</b> 63 bridges, bots, clients and services.</td>
</tr>
<tr>
<td width="50%" valign="top"><p align="center"><a href="docs/screenshots/manage.png"><img src="docs/screenshots/manage.png" alt="The Manage menu" width="400"></a></p>
<b>Manage the server:</b> updates, users, backups, rollback, logs and more.</td>
<td width="50%" valign="top"><p align="center"><a href="docs/screenshots/users.png"><img src="docs/screenshots/users.png" alt="Managing the server's users" width="400"></a></p>
<b>Users:</b> totals, a card per person, search, filter and sort.</td>
</tr>
</table>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 123 KiB

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 KiB

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 167 KiB

After

Width:  |  Height:  |  Size: 169 KiB

+1 -2
View File
@@ -50,8 +50,7 @@ at the bottom of the menu, cycles auto, compact and wide and remembers the
choice; `-layout` picks one for a single run.
`ctrl+y`, or `◐` under it, switches the colours between interzone,
Catppuccin, Nord, Gruvbox, Dracula, Solarized, Tokyo Night, Rosé Pine,
Everforest, Kanagawa, One Dark, Synthwave and mono; each has a light
Catppuccin, Nord, Gruvbox, Dracula, Solarized and mono; each has a light
and a dark variant that follows the terminal's background.
| Key | Action |
-25
View File
@@ -4,9 +4,6 @@
# README's screenshots are.
# render.py --join OUT.png A.png B.png …
# Puts already rendered windows side by side (docs/screenshots/phone.png).
# render.py --slices OUT.png theme-A.png theme-B.png …
# One window cut into vertical slices, each from the next picture of the
# same screen, named after the file in the title bar (themes.png).
#
# Needs Pillow, fontTools and the DejaVu and Noto symbol fonts.
import glob, os, re, sys, unicodedata
@@ -29,8 +26,6 @@ FONTS = [font("DejaVuSansMono.ttf"), font("DejaVuSansMono-Bold.ttf")]
FALLBACK = [font("DejaVuSans.ttf"), font("NotoSansSymbols2-Regular.ttf"), font("NotoSansMath-Regular.ttf")]
EMOJI = font("NotoColorEmoji.ttf") # a bitmap font: drawn at 109 px, then scaled
BG, FG = (21, 19, 30), (220, 216, 235)
if os.environ.get("BG"): # a theme's own background, for themes.png
BG = tuple(bytes.fromhex(os.environ["BG"].lstrip("#")))
reg = ImageFont.truetype(FONTS[0], SIZE)
bold = ImageFont.truetype(FONTS[1], SIZE)
@@ -90,26 +85,6 @@ if sys.argv[1] == "--join":
finish(out, sys.argv[2], 1400) # as wide as the other shots
sys.exit()
if sys.argv[1] == "--slices":
paths = sys.argv[3:]
parts = [Image.open(p).convert("RGB") for p in paths]
out = parts[0].copy()
d = ImageDraw.Draw(out)
x0, x1 = 40, out.width - 40 # the window, inside the margin render draws
step = (x1 - x0) / len(parts)
for i, (p, part) in enumerate(zip(paths, parts)):
a, b = round(x0 + i * step), round(x0 + (i + 1) * step)
out.paste(part.crop((a, 0, b, out.height)), (a, 0))
if i:
d.line([(a, 40 + 54), (a, out.height - 41)], fill=(13, 12, 19), width=3)
name = os.path.basename(p)[:-4].removeprefix("theme-")
w = bold.getlength(name)
cx = (a + b) / 2 if i else max((a + b) / 2, 150 + w / 2) # clear of the window's dots
d.rounded_rectangle([cx - w / 2 - 14, 52, cx + w / 2 + 14, 52 + CH + 4], 12, fill=(58, 54, 80))
d.text((cx - w / 2, 54), name, font=bold, fill=FG)
finish(out, sys.argv[2], 1400)
sys.exit()
lines = open(sys.argv[1], encoding="utf-8").read().rstrip("\n").split("\n")
cells = [] # rows of (ch, fg, bg, bold)
sgr = re.compile(r"\x1b\[([0-9;]*)m")
+3 -30
View File
@@ -12,8 +12,6 @@
# scripts/screenshots/shots.sh phone A B C join three phone shots into phone.png
# scripts/screenshots/shots.sh users draw users.png from the layout tests'
# sample people (no server needed)
# scripts/screenshots/shots.sh themes from the running session, on Welcome: the
# screen in a slice of each of THEMES (themes.png)
# scripts/screenshots/shots.sh stop
#
# Drive the session between grabs with tmux send-keys or tmux attach -t shot.
@@ -82,28 +80,6 @@ users() {
python3 "$repo/scripts/screenshots/render.py" "$work/raw/users.ans" "$out/users.png" 1400
}
# themes cycles every theme with ctrl+y on Welcome, grabbing the screen in
# the ones named here, and ends on the first theme again. Up and down
# clear the "theme: …" note that takes the place of the key hints.
THEMES="interzone catppuccin nord gruvbox everforest synthwave"
themes() {
pngs=()
for t in $("$work/iz" -help 2>&1 | sed -n 's/.*the colours for this run: \(.*\); ctrl+y.*/\1/p' | tr -d ,); do
waitfor "◐ $t "
waitfor "◉ Manage the server"
waitfor "enter continue"
if [[ " $THEMES " == *" $t "* ]]; then
# the window in the theme's own background, its dark panel colour
BG=$(sed -n "/{\"$t\",/,/}},/p" "$repo/internal/ui/theme.go" | grep -o 'Dark: "#[0-9A-Fa-f]*"' | sed -n '9s/.*"\(#.*\)"/\1/p') \
grab "theme-$t" 0
pngs+=("$work/raw/theme-$t.png")
fi
press C-y
press Up && press Down
done
python3 "$repo/scripts/screenshots/render.py" --slices "$out/themes.png" "${pngs[@]}"
}
stop() {
tmux kill-session -t shot 2>/dev/null || true
}
@@ -140,9 +116,7 @@ press() {
before=$(screen)
tmux send-keys -t shot "$1"
for _ in $(seq 20); do
now=$(screen)
# a step change blanks the screen for a moment: that isn't the new one yet
[ "$now" != "$before" ] && [ -n "${now//[[:space:]]/}" ] && return
[ "$(screen)" != "$before" ] && return
sleep 0.1
done
}
@@ -173,7 +147,6 @@ all() {
press Escape
waitfor "Manage the server"
grab welcome
themes
toHomeserver server
grab homeserver
press Down && press Down && press Down
@@ -218,12 +191,12 @@ all() {
cmd=${1:-}
case $cmd in
start | grab | phone | users | themes | stop | all)
start | grab | phone | users | stop | all)
shift
"$cmd" "$@"
;;
*)
sed -n '2,24p' "$0" | sed 's/^# \{0,1\}//'
sed -n '2,22p' "$0" | sed 's/^# \{0,1\}//'
exit 1
;;
esac