PublicTxt Web Client

wiki

Part of PublicTxt Web.

A browser UI that does what Obsidian plus the PublicTxt plugins do today, for people who won’t use Git.

Why parked

ADR-0008: Obsidian is the editor. Custom clients wait until a workflow can’t be done with Obsidian, the CLI and the static site.

Unparks when: someone who won’t use Git wants to contribute, or cross-repo browsing via a PublicTxt Aggregator needs a UI that PublicTxt-Pages can’t provide.

Scope (when unparked)

CapabilityReads fromWrites to
Open a repo or folder; browse by facets; searchRepo (clone/fetch), Discovery IndexLocal cache only
Follow repos; mirror and fork pagesDiscovery Index, source reposUser’s repo
Write and edit pagesUser’s repoUser’s repo (commit + push)
Discover repos and resourcesAggregator API, or index repos directly—

Output must be identical to Obsidian output under the spec.

Candidate architectures

Both consume the same format-neutral Aggregator API (JSON + feeds). The client choice must not shape the node.

A. Blazor WebAssembly (PublicTxt.net): local-first.

  • Client-side SQLite cache of opened repos for fast search and facets.
  • Server side only where the browser can’t do the work (Git auth, CORS, large fetches). Prefer the Aggregator over a separate backend.

B. Phoenix LiveView: server-rendered, live-first.

  • UI state is a server process per user over a socket; PubSub and Presence are built in.
  • Shares a codebase with the Aggregator if it is Elixir.
A. Blazor WASMB. LiveView
StateBrowser (SQLite)Server process per user
OfflinePossibleNo
Search latencyLocalRound trip
Live collaboration and presenceHand-built (SignalR)Built in
Server costStatic + APIMemory per connected user
Fit with Git-as-truth / local-firstStrongAdequate; the server is the hub
Ecosystem.NET (marketable, existing code)Elixir (one stack with the Aggregator)

Deciding question: local-first/offline vs live collaborative editing. If live co-editing becomes a must-have, B gains a lot of ground.

(The nearest .NET match to B is Blazor Server, not WASM.)

Open questions

  • Git in the browser (isomorphic-git or similar) vs a server-side proxy.
  • Auth: OAuth to GitHub/GitLab vs a service-hosted Git (shared with PublicTxt Web Hosting).
  • Offline and sync model for the SQLite cache.
  • Live collaborative editing (“Google Docs for the wiki”): worth the cost? It conflicts with Git-as-truth unless sessions commit out.
  • Sanitising untrusted Markdown from followed repos.