180 Commits
Author SHA1 Message Date
vvvomitandClaude Opus 5.5 d7f17372fd Host stops sharing with ctrl+x and removes the node with ctrl+d
Someone who only hosts for the IPFS swarm had no way to stop but a
systemctl line on the server. ctrl+x disables the node and its hourly
update; ctrl+d, after asking, also deletes them, everything they
downloaded and their user. interzone-mirror's own node is docker's,
so neither is offered there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 01:57:50 +03:30
vvvomitandClaude Opus 5.5 c5d137e16a README links the wiki's screenshot gallery
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 22:50:02 +03:30
vvvomitandClaude Opus 5.5 74189928a9 shots.sh wiki draws the wiki's images, a 1600x900 gallery too
The wiki's guide shots came from TestShot with no command to make
them, and the wiki now has a gallery of every screen: shots.sh wiki
renders both into a wiki checkout, render.py fits an image into an
exact WxH, and the gallery's empty screens get sample data.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 22:50:02 +03:30
vvvomitandClaude Opus 5.5 bd4dcb7be6 Rooms counts all a room takes on disk, its history too
Media alone missed most of it: on a 12 GB database the biggest room's
history was 2.3 GB beside 20 MB of files. Each table with rooms in it is
now split among them by their rows there, which adds up to the tables'
size on disk with their indexes and takes seconds, where measuring every
row took minutes. Size, on the card and as the default sort, is history
plus media; without the database it falls back to state events.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 22:27:57 +03:30
vvvomitandClaude Opus 5.5 75f3f5a08d Rooms shows each room's media and age, and sorts by them
Admins asked which rooms fill the disk. Synapse's admin API lists a
room's media but not their sizes, so the admin script asks the database,
read only, in one query: every room's creation time, and the files its
messages link to with their size on disk (remote ones as cached). An
encrypted room's files are hidden from the server, and the card says so.
o sorts by Synapse's size, members, newest or media, keeping the cursor
on its room; the list shows the total. If the query fails, the list
loads as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 22:22:29 +03:30
vvvomitandClaude Opus 5.5 3a46277acb go.mod drops harmonica too
The go.sum commit before this left its go.mod line behind.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 22:02:50 +03:30
vvvomitandClaude Opus 5.5 3039224f0e go.sum drops harmonica, which nothing uses any more
go mod tidy removes it, online or from the mirror alike.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 22:02:31 +03:30
vvvomitandClaude Opus 5.5 13174b46d9 Test shows who a server's owner says to ask for help
The support well-known was only counted ("lists 2 contacts"); someone
testing a server they can't reach wants the contacts themselves. Each
now gets a row with its role, Matrix ID and email, and the support page
its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 21:50:55 +03:30
vvvomitandClaude Opus 5.5 beda79dcda Test checks the way to a server, its TLS and its sign-ups
Testing a server from Iran mostly asks: is it filtered, where is it, does
it answer, and is it safe to point people at. So Test now resolves each
name (flagging the filter's 10.10.34.x), places each address with the geo
data, tries IPv4 and IPv6, times the client API, reads each certificate
and whether TLS 1.0/1.1 still work, and checks HSTS. It also asks the
server whether sign-ups are open, counts its public rooms, names its
Matrix features, and warns when its software is older than the playbook
installs. ctrl+o copies the results for a support chat (and saves them),
ctrl+r tests again every 30 s while someone fixes things.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 21:48:22 +03:30
vvvomitandClaude Opus 5.5 9ea05b0a89 README shows the dashboard and the IPFS swarm's map
Both are drawn from the layout tests' sample data by shots.sh users,
like users.png, so they need no server; the map's shot adds nodes
across Iran to the host-map sample.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 21:29:31 +03:30
vvvomitandClaude Opus 5.5 008f4537a1 Host's big map names the Persian Gulf
Its label was always dropped: the gulf is narrow, and at its middle the
coast or a town's name was in the way. A sea's name now takes the nearest
free spot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 20:55:48 +03:30
vvvomitandClaude Opus 5.5 0ed9e81fca Host's big map pings like sonar instead of sweeping like radar
Every 4 seconds a ring spreads from the node, bright at first and
fading as it grows, with two fainter echoes behind; peers light up as
it reaches them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 20:47:01 +03:30
vvvomitandClaude Opus 5.5 0802be973b Host's map animates at five frames a second, not ten
Each frame redraws most of the screen, which costs the terminal too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 20:43:15 +03:30
vvvomitandClaude Opus 5.5 e72c1d494a Host's big map draws a frame in a thirteenth of the time
It used about 5-7% of a core: each frame tested every cell for being in
Iran, blended colours from scratch and had lipgloss render each run.
The land is now drawn once per size and theme, blends are remembered,
runs are wrapped in each style's codes, and the map's rows are joined to
the details' directly. 3.5 ms a frame to 0.27 ms; under 1% of a core.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 20:38:28 +03:30
vvvomitandClaude Opus 5.5 8e81c02895 Host's big map: l sets where this machine's node is
The address's town can still be wrong, and the user knows better. The
choice is kept in host-place in the config directory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 20:05:03 +03:30
vvvomitandClaude Opus 5.5 8dd13b6d10 geo: regional providers' unplaced ranges go to their province, not Tehran
DB-IP puts 58% of Iran's IPv4 at a few points in Tehran when it doesn't
know the town, so a node in Bushehr on Khalij Fars showed in Tehran. A
network whose placed ranges mostly sit in one other province now has its
unplaced ones there too; national networks stay as they were.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 20:05:03 +03:30
vvvomitandClaude Opus 5.5 6a7f00c09b Host is a big map of the swarm on a machine running interzone-mirror's node
That node needs no setting up, so the form only got in the way. The map
fills the screen with provinces, cities, a radar sweep, comets along the
links and ripples where peers come and go; beside it the node's numbers,
each peer's place, network, latency and traffic, and who came and went.
s shows the form for hosting elsewhere; esc returns. Tests no longer ask
this machine whether it runs the mirror.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 19:55:09 +03:30
vvvomitandClaude Opus 5.5 f2823ad950 Host stats read each peer's latency and who dialled whom
ipfs swarm peers --latency --direction, for the big map's peer table.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 19:55:09 +03:30
vvvomitandClaude Opus 5.5 0e572e386c geo: Iranian addresses' networks, and provinces, cities and seas for the big map
DB-IP Lite's ASN data, kept only for Iran's ranges, names each peer's
network (TCI, MCI, Irancell...); Natural Earth's 1:10m provinces draw
inside the border.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 19:55:09 +03:30
vvvomitandClaude Opus 5.5 39dde3c737 Host draws the swarm on a map of Iran, with data pulsing along each link
The node reads its peers and each one's bitswap ledger; links between
peers are a guess and the legend says so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 19:22:59 +03:30
vvvomitandClaude Opus 5.5 0ccda18a8d geo: offline IP locations and Iran's borders, for the swarm map
DB-IP Lite (CC BY 4.0) for Iranian towns and other countries, Natural
Earth for the borders; scripts/geo/build.py makes both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 19:22:59 +03:30
vvvomitandClaude Opus 5.5 5add571571 A machine running interzone-mirror's IPFS node isn't given a second one
An IPFS deploy there uses the mirror's node and gateway, Host refuses, and
the Server step drops the share question: two daemons would fight over 4001.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 19:22:59 +03:30
vvvomitandClaude Opus 5.5 a45220caa4 Host shows interzone-mirror's IPFS node when this machine runs one
It's read through docker, without sudo, and pins only the root, so every
part under a pinned root counts as kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 18:54:35 +03:30
vvvomitandClaude Opus 5.5 ca0da60b18 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>
2026-10-30 18:00:54 +03:30
vvvomitandClaude Opus 5.5 ab5f57cfad Link preview redrawn from the new Server screenshot
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 17:58:21 +03:30
vvvomitandClaude Opus 5.5 cbfb90e66e Screenshots retaken, and one picture of the themes
The README's three are the welcome screen, Components, and a new
themes.png: the welcome screen cut into slices of six themes, each on
its own background, so the colours show at a glance. shots.sh draws it
(themes) by cycling ctrl+y on Welcome; render.py --slices joins them.

The phone shots had stopped working: a step change blanks the screen for
a moment, press took that for the new screen, and the next enter went
past Homeserver. A blank screen no longer counts as changed.

usage.md listed 7 themes of the 13.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 17:57:35 +03:30
vvvomitandClaude Opus 5.5 2f5eb3dd58 README: three screenshots, the welcome screen first
Nine screenshots were most of the page again. The welcome screen stays
the main one, with setting up and managing beside each other below it.
The other images stay in docs/screenshots for the wiki and the link
preview.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 17:39:14 +03:30
vvvomitandClaude Opus 5.5 3c1f426c4e README: a page you can read; the details move to docs/
At almost 600 lines the README buried what interzone is under every
feature's fine print. It now keeps the intro, screenshots and a short
feature list; the full Features section is docs/features.md, and Use
plus build and test details are docs/usage.md, word for word. The
component count there was still 79 from before the removals; it's 63.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 17:37:07 +03:30
vvvomitandClaude Opus 5.5 92c4da5107 README: building from interzone's mirror in a blackout
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 05:01:46 +03:30
vvvomitandClaude Opus 5.5 170a197d21 Drop the 16 components whose images the mirror no longer carries
Slack, Messenger, Instagram, Bluesky, both LinkedIn bridges, Google
Chat, Google Voice, iMessage, LINE, GroupMe, both Steam bridges,
WeChat, Rageshake and Cactus Comments: a server on interzone's mirror
or swarm couldn't pull them, so offering them only set up failures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 04:44:25 +03:30
vvvomitandClaude Opus 5.5 98ac8e8104 Container images are about 11.7 GB
The mirror drops the wechat and steam bridges as well.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 04:40:03 +03:30
vvvomitandClaude Opus 5.5 606ece5b26 Container images are about 12 GB now
The mirror stops carrying 17 images (bluesky, googlechat, gvoice,
linkedin, meta, slack, cactus, beeper line, mx-puppet-steam, rageshake,
mx-puppet-groupme, the wechat agent, imessage), 3.8 GB of the 16.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 04:19:27 +03:30
vvvomitandClaude Opus 5.5 81f62b43bb Host lets you pick any of the images, packages, git and programs
Four switches instead of everything/images only; the statistics follow
the parts picked, and say when the timer checks next.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 03:48:06 +03:30
vvvomitandClaude Opus 5.5 8b2fb34614 ipfs-follow takes any set of parts and doesn't hang on a stalled fetch
A pin that gets no new block for 20 minutes gives up, so a publish the
swarm can't serve whole no longer holds the node until the next hour
never comes. A fresh daemon has no peers yet, so the name lookup is
retried for a few minutes instead of failing the first run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 03:48:06 +03:30
vvvomitandClaude Opus 5.5 68ba3c0d8c Host shows live statistics while the node is hosting
Read every 5s while the screen is open, and a second after the form's
server changes, so a server that already hosts shows its numbers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 03:34:55 +03:30
vvvomitandClaude Opus 5.5 fbee1a1a71 Read a hosting node's numbers over SSH or locally
One script asks systemd and kubo for state, peers, traffic, bitswap,
disk and the followed publish's parts; part sizes come from the root's
own block so the total is known before anything arrives.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 03:34:55 +03:30
vvvomitandClaude Opus 5.5 134d1167f8 Host in the menu sets up hosting on this machine or a server
It runs on its own target, apart from the active server's answers, so
anyone can open interzone and help the swarm.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 03:18:00 +03:30
vvvomitandClaude Opus 5.5 d760c42ca0 A machine can host the swarm's files without a homeserver
ActionHost joins the swarm as a seeder and installs a timer running the
new ipfs-follow command, which resolves the newest publish, checks its
signature and pins it (everything, or only the images), then lets the
previous one go. It refuses a publish older than one already hosted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 03:18:00 +03:30
vvvomitandClaude Opus 5.5 30c23a26f7 Mirrors and interzone mirrors check the IPFS swarm too
Its publish and entry node get their own section whatever the network
situation, so the swarm can be checked before choosing it. Preflight
uses the same probe.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 01:37:50 +03:30
vvvomitandClaude Opus 5.5 100ba9e05c Bundled kubo lands in the cache every server shares; README covers IPFS
Unbundle copied the IPFS daemon next to the playbook, which for a second
server isn't where kuboBinary looks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 01:10:24 +03:30
vvvomitandClaude Opus 5.5 a6770e2748 The Server step offers IPFS as a network situation
It hides the git and registry fields the swarm replaces, asks whether to
seed with no answer preselected, and shows an IPFS badge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 01:08:54 +03:30
vvvomitandClaude Opus 5.5 bd3bfeff65 Deploys can fetch everything from interzone's IPFS swarm
With the IPFS source, the run first installs kubo on the server, joins
the private swarm, finds the newest signed publish (by IPNS, or over
HTTPS if the swarm is slow) and serves its OCI layout as a local
registry. The playbook, roles, packages and images then all come
through the server's gateway, an SSH forward reaching it from here.
Seeding is a choice the setup asks: seeders keep the daemon running and
listen on 4001, others stop it after the run. The publish's playbook
commit is pinned, so the roles match the images it carries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 01:08:54 +03:30
vvvomitandClaude Opus 5.5 725a1f4259 ipfs: the swarm key, entry nodes and signed index
interzone-mirror publishes one signed index.json per run, naming the
IPFS directories that hold the packages, images, git repos and binaries.
Verify checks the signature and the shape of every value that later ends
up in a URL or a command. The swarm key ships here on purpose: it keeps
the public IPFS network from seeing who holds what, not a secret.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 01:08:54 +03:30
vvvomitandClaude Opus 5.5 56edbf05b3 serve-registry: a read-only registry over an OCI layout on IPFS
The first piece of fetching everything over IPFS: on the server, Docker
pulls the playbook's images from it, and it reads them through the local
IPFS gateway. Manifests are checked against the layout's digests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 00:28:35 +03:30
NarratorandClaude Opus 5.5 ec1f489385 Passwords Ansible or mas-cli would misread are caught
- Ansible runs every value through Jinja, so an admin or sudo password
  with "{{" or "{%" failed the deploy, and one with "{#…#}" was quietly
  shortened, creating the admin with a password other than the one
  saved. Missing() now names them before the deploy starts.
- mas-cli read a new password starting with "-" as an option. The
  password goes as --password=… and the user name after "--".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 19:33:38 +01:00
NarratorandClaude Opus 5.5 336b52bc66 Screenshot scripts find their fonts on any distribution
render.py and social.py had Arch's font paths built in, so on Debian or
Ubuntu 'shots.sh all' built and started everything and then failed on
the fonts. They now look the fonts up by name under /usr/share/fonts
(or FONT_DIR). The README lists fontTools and the fonts, and mentions
'make test'. shots.sh's shows() no longer pipes into grep -q, which
under pipefail can miss a match when tmux is still writing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 19:32:41 +01:00
NarratorandClaude Opus 5.5 619be81c89 The wizard says why a rollback didn't start
A deploy whose saved answers can't be read, or answers that can't be
saved, made enter on the rollback prompt do nothing at all. The reason
now shows on the status bar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 19:31:58 +01:00
NarratorandClaude Opus 5.5 895e5e63d4 Screens get their results after you look away, and keys do what they say
- Only some background results were routed to their own screen when
  another one was showing; the rest were dropped by whatever screen was
  up. Leaving Mirrors, Review, the Server step's source test, Fine-tune's
  defaults or Updates mid-check left it spinning for good. Leaving
  Users after "new password" lost the password, shown only once, after
  the server had already changed it, and kept every user action blocked.
  An import finished in the background never switched to the server.
  mirrorsMsg, checksPartMsg, checksMsg, userOpMsg, defaultsMsg,
  changesMsg, importReadMsg, importSavedMsg and servicesMsg now name
  their screen like the others.
- pgup went back from every screen, so the deploy log, the logs view
  and Fine-tune's lists never got to scroll with it. Past the wizard it
  now goes to the screen, as pgdown does; ctrl+p still goes back.
- Components bound ctrl+k to "up", but ctrl+k opens Go-to everywhere
  first. The binding is gone, and the cursor can't go to -1 when a
  search matches nothing.
- Forgetting a server showed no error when it failed: enter() cleared
  it straight after.
- "The database shell ended: exit status 1" was shown in green.
- Unused gradientLines and cPanel removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 19:31:39 +01:00
NarratorandClaude Opus 5.5 c8ab8fddd3 Background checks get their own copy of the answers
The dashboard, mirror, review, users, rooms, tokens and update checks
copied the config with *s.cfg, which still shares the Components,
Values and Overrides maps. They read those maps (VarsYAML, DNSRecords)
while the UI writes them: leaving Settings or saving a Fine-tune value
during a check could abort the app with "concurrent map iteration and
map write". config.Clone copies the maps and slices too, and the deploy
runner and history snapshot use it as well.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 19:28:59 +01:00
NarratorandClaude Opus 5.5 87e848dede Ansible checks the server's host key, and secrets stay off command lines
- Every playbook ran with ANSIBLE_HOST_KEY_CHECKING=False, so anyone in
  the middle could pose as the server and be handed the sudo password
  and every secret in vars.yml. Ansible's ssh now uses
  StrictHostKeyChecking=accept-new, like interzone's own ssh calls: a
  new server is trusted on first sight, a changed key stops the run.
- The ssh connection-sharing folder in /tmp is only used when it's this
  user's own and closed to others; someone else could have made it
  first and planted a socket.
- Registering a user passed the password in --extra-vars, readable with
  ps. It goes through a 0600 vars file, like the other admin actions.
- The restore source and backup destination are passed as JSON, so a
  path with a space no longer breaks them.
- The update preview's git fetch puts "--" before the URL, as every
  other git call does.
- A domain's backup list no longer includes dumps of another domain
  that starts with the same name and a dash (a.org vs a.org-b.net).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 19:28:07 +01:00