§ xanatoo

xanatoo.

A document you can walk around in. Write in it, stretch it, link it, and read the rest of the world in the same window.

xanatoo is a lightweight, native hypertext workspace in the spirit of Xanadu, HyperCard and the Canon Cat. It edits Markdown, Org and structured documents in place; it also reads web pages, feeds, books and discussions through the same semantic layout system. Type, fold a section, or resize a pane, and the page reflows around you.

The xanatoo window showing its own README: a toolbar, tabs, and set text with an embedded screenshot.
xanatoo reading its own README. An editable document, not a rendered preview. Fig. 1

§Download

Version 0.1.0-dev.1123+geb0ed2c — a development snapshot; each file below shows the revision it was built from; a build that failed keeps its previous version.

The Windows versions are early offline editions: they include the editor, local document readers and passage links, but none of the in-app network services. The browser version reaches only the few services whose servers allow requests from other web pages (Wikipedia, Hacker News, some feeds and sites); most web pages, Gemini, Reddit and Nostr stay out of reach, and it does not keep your changes.

Linux and macOS

There is no installer yet; Nix builds the program and every library it needs. With flakes enabled, run it directly:

nix run github:xanatoo/xanatoo

or open a file or address:

nix run github:xanatoo/xanatoo -- notes.md
nix run github:xanatoo/xanatoo -- wikipedia:Ted_Nelson

Without Nix: use CMake with a C++20 compiler, SDL2, FreeType and the dependencies of the enabled optional features. See the build instructions.

Android

Download the APK on the device and open it; Android will ask once to allow installs from your browser. Touch is first class: tap, drag and fling to scroll, long-press to select, pinch to zoom.

R36S, ArkOS and other PortMaster devices

Unzip into the ports folder of the SD card (or add it through PortMaster’s “install local zip”). The gamepad controls a software pointer and scrolls; an on-screen keyboard handles text input.

Windows 32- and 64-bit

Download the ZIP matching your Windows architecture and extract the whole directory. Run bin/xanatoo.exe; the included libraries, styles, toolbar icons, examples and fonts must stay alongside it. These are initial MinGW-w64 builds without the built-in HTTP, Gemini or social-site readers. Ordinary web links can still open in your default browser.

WebAssembly — try it in a browser

Open the live preview without installing anything. It starts with xanatoo’s welcome document and demonstrates text editing, layout and navigation; Open file… reads a document, PDF, DjVu or comic archive from your computer into the page (nothing is uploaded).

Online access is limited by the browser: a page may only read another site that explicitly allows it (CORS). Wikipedia, Hacker News, Mastodon, Bluesky, Stack Exchange, GitHub / GitLab, the Internet Archive, some feeds, Lemmy instances and ebook hosts do. Ordinary web pages, archived snapshots, Reddit and YouTube do not, and fail with “request failed or blocked by the browser”. Nostr relays can be read (no posting). Gemini needs sockets a browser does not offer, and remote images do not load yet. For the full network features use the Linux, macOS or Android version.

Changes exist only in the current session; refreshing the page discards them. Exports and persistent storage are still planned.

§The idea

Most document tools treat a link as a jump to another file. xanatoo treats a passage as something you can name, bookmark, mark in context, show on its own, or include elsewhere. Named sections and text quotes have addresses; the arrangement on screen is just one view of the content.

notes.md#id:introduction     show the whole page; mark the section
notes.md//id:introduction    show the section as its own view

Fold a section to its heading or expand a stretchtext note in place. Switch from a flowing document to ebook-style pages, or change its appearance with a semantic style sheet. The document itself does not need to change.

Editing is direct: no source/preview split, no stale rendering. Local unsaved edits are kept as drafts in a content-addressed revision store, and the last session's tabs and reading positions can be restored.

§What it reads

Different sources become a common, navigable document structure, with headings, links, figures and threads where the source supports them:

A built-in directory collects links to feeds and sites. The search bar offers Wikipedia, arXiv, Internet Archive, book catalogues, discussion services, and independent web search engines, with custom engines in a small S-expression file.

§Working with it

Several reading and editing tools cooperate without separate modes or plugins:

Read in parallel — tabs, panes and windows

Split the centre view, open a link from the left into the right, compare two documents with diff marks, or tear a tab into a floating/dockable document window. Outline, bookmarks, backlinks, and page navigation are dockable panels rather than copies of the document.

Keep your place — passages and bookmarks

Bookmark a page, a selected quotation, or a reading position. Marks and margin ribbons bring the passage back in context. Reader mode hides web navigation clutter; paged mode lays the text out in one to three columns. Both are choices of view, not changes to the document.

Compose freely — sections, columns and side notes

Drag blocks to rearrange them, resize column gutters and images, include a labelled passage from another document, and set notes in the page margin. Footnotes, bibliography, math and figures belong to the semantic document, while typography comes from the chosen style.

Start with the feature tour or read the passage design to see where the hypertext model is heading.

Development status. This is experimental software. The built-in OpenSSL and Mbed TLS clients currently do not verify peer certificates; do not use them for sensitive or authenticated browsing. Service APIs may also change.

§Source

xanatoo is free software under the GPL, version 3 or later. The code, the issue tracker and the design notes live on GitHub. Start with PROPOSAL.md for the original vision, or the README for builds, formats and keyboard controls.