v0.3.2 MIT Rust · single binary no X11 · runs in tty

Write long-form prose in your terminal.

scribe is a focused editor for books stored as ODT. One chapter at a time, a centered text column, live counts, autosave, and a self-hosted cloud. It works on local files out of the box; Nextcloud is optional.

Linux x86_64 · static Linux arm64 · static macOS · universal
~/projects/scribe
$ cargo install --git https://github.com/sinanislekdemir/scribe --locked
Then: scribe open path/to/book.odt  ·  or grab a prebuilt binary from Releases
scribe — A Winter in the City — Ch 4/12
scribe editing a chapter in a terminal: page rules, justified prose, and a status bar with word, character, and page counts
One chapter at a time, with live word/char/page counts and autosave status.F9 menu · F7 notes · F5 spell
01

Small on purpose

Built for a narrow document shape: one book title, chapters, subheadings, paragraphs.

odt

ODT, edited in place

Your package, styles.xml, page layout, fonts, and automatic styles are preserved. Real character styles are written for bold, italic, underline, and strikethrough.

net

Nextcloud, optional

Browser login with Login Flow v2, WebDAV saves with ETag conflict detection, and a visible sidecar lock so two editors cannot overwrite each other. Local files never need credentials.

sav

Autosave + backups

Local cache after 2s idle, cloud upload after 8s. Every successful save keeps one of the last 100 distinct versions under ~/.cache/scribe.

ai

Suggestions, never edits

F8 checks a chapter through any OpenAI-compatible endpoint; F5 runs local Hunspell. Every suggestion is inert until you approve it, and applies as one undo step.

txt

Writer-first editing

Smart quotes, Turkish-aware capitalization, word-sized undo, mark-and-select, internal clipboard, F3 find, and a notes sidecar toggled with F7.

tty

Ten themes, no GPU

Monokai through Solarized, saved to settings.toml. The UI only redraws when something changes, so an idle editor does not drain a laptop battery.

02

Screenshots

Click any image to enlarge. The interface is one terminal window; no panels, no toolbars.

03

Why it exists

From the README: old laptops, good keyboards, and a self-hosted cloud.

I have a few old laptops from around 2010. I like their keyboards and their size… The laptop does not have enough resources to run modern cloud-based word processors. What can be lighter than a terminal app? — Sinan Islekdemir, scribe README

scribe does not try to be a full word processor. It edits one chapter at a time, keeps the ODT valid, and gets out of the way. If that fits how you write, good.

What it supports

  • One H1 book title, H2 chapters, H3 subheadings
  • Justified or aligned paragraphs with first-line indent
  • Soft line breaks inside a paragraph
  • Bold, italic, underline, strikethrough
  • Notes sidecar and case-insensitive find
  • Local Hunspell and optional AI review

Tables, images, lists, sections, footnotes, comments, tracked changes, and hyperlinks are refused with a clear message instead of being guessed at. Edit those in OnlyOffice.

04

A few keys

The full table lives in the README. Everything is reachable from the menu, too.

KeyActionNote
F9Menu barArrows navigate, Enter runs
F3FindCase-insensitive, wraps, no replace
F5 / F8Spell / AI checkCurrent chapter only
F4 / F6Ask AI / show answerSelection or chapter; read-only buffer
F7Notes sidecarbook.odt.notes.odt
Ctrl+SpaceStart/end markSelection is limited to one chapter
Ctrl+SSave nowCtrl+Q saves and quits
Ctrl+Z / Ctrl+YUndo / redoTyping is grouped by word
Ctrl+,ConfigurationTheme, width, spell language
Ctrl+LFull redrawRecover a corrupted terminal
Italic is Alt+I because most terminals send Ctrl+I as Tab. Word deletion is Ctrl+W, not Ctrl+Backspace.
05

Install

Prebuilt binaries are static where it matters. The source build needs only the Rust toolchain.

From source

  1. Install Rust if you do not have it: rustup from rust-lang.org.
  2. Build the binary.
    git clone https://github.com/sinanislekdemir/scribe
    cd scribe
    cargo install --path . --locked
  3. Open a document.
    scribe open path/to/book.odt
    scribe path/to/book.odt
    If the file does not exist, it is created.

First run

With no saved credentials, scribe offers Nextcloud login, a local ODT file, or quit. Cloud storage is never required.

To connect a Nextcloud instance:

scribe login https://cloud.example.com

A browser opens; approve the login and scribe stores an app password in ~/.config/scribe/credentials.toml with mode 0600.

Spell check needs the external hunspell binary and a dictionary. The default is Turkish (tr_TR); change it under Ctrl+,.