~jisifu

notebook · envs.net
no framework, no fonts

post2 minpublishingprotocolspubnix

One text, four addresses

This account publishes the same text four times. Not a blog with a stale mirror — one source, four renderings, and each rendering tells the reader where the others live, in that protocol’s own link syntax.

Why bother#

A pubnix gives you three ways out onto the network and almost nobody uses more than one. The usual shape is a website, a Gemini capsule that stopped being updated last spring, and a gophermap that says hello. The directories are all there; nothing connects them.

So the interesting part is not the publishing. It is the mapping: the same paragraph has to survive being flattened into gemtext and into a gopher menu, and the addresses have to stay honest between them. That is a small, tractable engineering problem with a visible result.

A protocol is a promise about what a reader can do with your text.

How it works#

~/text/*.md holds the source. One script writes all four outputs:

text/<slug>.md
  ├── public_html/posts/<slug>/index.html      HTTPS
  ├── public_gemini/posts/<slug>.gmi           Gemini
  ├── public_gopher/posts/<slug>               Gopher
  └── ~/.plan                                  finger (the newest only)

Nothing runs as a daemon. The only moving part is the script, run by hand or, if you like, by cron — this account can do both.

What is lost in translation#

Gemtext has no bold, no tables, no inline links: a link becomes a => line of its own. Gopher has even less, so the text is wrapped to 72 columns and links become type-h menu entries. If a page reads badly over gopher, the page was badly written; the protocol does not let you hide behind layout.

The web copy is generated too, so there is no PHP in the serving path and no templating layer between the sentence and the reader.

Elsewhere#

This is the first piece in the corpus, which makes it the current answer to finger jisifu@envs.net. The links at the bottom of this page are the experiment working: pick any of them and you should land on this same text, wearing a different uniform.