Pure text-based documentation

TEXTv1.2 source. SIDECAR structure. Deterministic HTML output.

Text2Doc is a clean document workflow built on strict separation. The source stays readable, the structure stays explicit, and rendering stays controlled.

One binary per platform. Embedded project init. No runtime template bundle beside the executable.

TEXTv1.2

Pure narrative content and natural structure.

SIDECAR

Semantic composition, injection, assets, and render control.

THEME

Templates and CSS define the final document appearance.

Quick start
./text2doc-cli init my_project
./text2doc-cli build my_project

# output
my_project/my_project.html

# extract (macOS / Linux)
tar -xzf text2doc-cli-v2026.04.19-aarch64-apple-darwin.tar.gz

# extract (Windows)
unzip text2doc-cli-v2026.04.19-x86_64-pc-windows-gnu.zip

# macOS (if blocked)
xattr -d com.apple.quarantine text2doc-cli

Strict by design

Text2Doc is not a loose markup dialect. It is a deterministic pipeline for documents where content, structure, and presentation do not leak into each other.

TEXT

Narrative stays clean

No HTML. No Markdown. No inline styling. TEXTv1.2 contains readable source content and natural structure only.

SIDECAR

Structure stays explicit

Richer document behavior lives beside the text: injections, figures, code blocks, tables, outline, header, and asset references.

THEME

Rendering stays separate

Templates and CSS define the final HTML. The visual layer can evolve without polluting the source document.

How the workflow fits together

Start from source text, apply semantic composition through SIDECAR, then render a stable HTML document.

1

Write TEXTv1.2

Author a simple source document with sections, paragraphs, and lists.

2

Define SIDECAR

Attach templates, CSS, outline, header, injections, assets, and reclassification rules.

3

Build with CLI

Use a single local binary to initialize a project and render the final document.

4

Review HTML

Open the generated document locally or work interactively with the WebAPP in the browser.

Download the CLI

Text2Doc CLI is distributed as a self-contained binary per platform. The init sample project is embedded into the executable.

macOS

Apple Silicon

Native build for Apple Silicon Macs.

File: text2doc-cli-v2026.04.19-aarch64-apple-darwin.tar.gz
Download macOS ARM64
Linux

x86_64 musl

Portable static-style Linux binary focused on zero-dependency deployment.

File: text2doc-cli-v2026.04.19-x86_64-unknown-linux-musl.tar.gz
Download Linux musl
Windows

x86_64 GNU

Standalone Windows executable packed as a zip archive.

File: text2doc-cli-v2026.04.19-x86_64-pc-windows-gnu.zip
Download Windows
Usage: ./text2doc-cli init my_project./text2doc-cli build my_project
macOS: if blocked, run xattr -d com.apple.quarantine text2doc-cli

Samples and tools

Explore the format, inspect a rendered example, or open the in-browser editor and renderer.

Sample

TEXTv1.2 specification

Download the structured sample that defines the pure text rules.

Download sample
Sample

SIDECAR capability demo

See injections, assets, render composition, and richer document structures.

Download demo project
Output

Rendered example

Open the HTML demo to see how a clean source becomes a composed document.

View demo HTML

More ways to explore

Read the specification, try the WebAPP, or reach out directly.

One source. One structure layer. One rendering pipeline.

Text2Doc is designed for documents that should remain readable in source form and stable in rendered form.