XTXT

Installation

Pick whichever fits how you work. Nothing here has a runtime dependency.

Command line

The fastest way to see what the format does.

go install github.com/SaiMouli3/xtxt/cmd/xtxt@latest

Go installs binaries into $(go env GOPATH)/bin. If xtxt is not found afterwards, that directory is not on your PATH:

export PATH="$PATH:$(go env GOPATH)/bin"     # add to ~/.zshrc or ~/.bashrc

Check it:

xtxt --help

Editor

The VS Code extension is published as XTXT. Search it in the Extensions panel, or:

code --install-extension xtxt.xtxt

It gives you highlighting, a live preview, problems as you type, an outline, folding, image paste and a chart builder. See the editors page for the detail.

For Obsidian, the plugin lives in the repository under integrations/obsidian.

Libraries

LanguageInstall
Gogo get github.com/SaiMouli3/xtxt
JavaScriptnpm install xtxt-js
Pythonpip install xtxt
Rustcargo add xtxt
Javaio.github.saimouli3:xtxt — built from source for now
Ccd sdk/c && make
C++cd sdk/cpp && cmake -S . -B build && cmake --build build

For an agent

An MCP server lets a model read and write XTXT documents directly:

npx xtxt-mcp

From source

git clone https://github.com/SaiMouli3/xtxt
cd xtxt
go test ./...
go run ./cmd/xtxt --help