Scríobh

Self-hosted writing app

A writing app for long projects.

Scríobh is for the things that outgrow one file: a novel, a report, a run of essays. Your words are kept as plain text files you can open anywhere, and nothing leaves your computer unless you send it.

AI is off. It stays off unless you add your own key and switch it on, project by project, feature by feature.

There’s no analytics and no telemetry, and no account on anyone else’s server.

The writing view. A manuscript tree on the left lists a dedication, two parts and their chapters with word counts; a formatting toolbar sits above a single paper page where the chapter The Gauge is set in a serif face.
The writing view: your chapters on the left, one page of paper on the right.
Where it lives
On your computer, or a server you run
How it’s kept
As plain text files you can open anywhere
What leaves
Nothing, unless you send it
AI
Off until you turn it on

AI is off until you turn it on.

A fresh install sends nothing anywhere. There’s no built-in AI service. To use any, you add your own key or point Scríobh at a model running on your own computer. Even then it stays off for every project until you turn it on for that one.

Each feature is its own switch, per project: suggestions on a selection, alternative wordings, chat, critique, summaries, continuity checks, pulling characters and places out of a chapter, and the Lab. None of them starts on.

When it’s on, you see exactly what will be sent before it goes. You can keep it to a model on your own computer. Nothing it writes goes into your text unless you accept it.

The book works without it. Outline, characters, timeline, research, revisions and compile never need AI.

Demo

A short demo with no sound. It won’t start until you press play. It goes through the library, opening a project, typing a sentence, cycling alternative wordings, the outline, the Writing Studio and compiling an EPUB. The book is made up.

What it is

Most writing tools are note apps with a publish button, or word processors with a sync problem. Neither holds a manuscript well.

Scríobh is built around the project: a manuscript tree, a plan next to it, a cast of characters under it, and a history of every word you change. The name is Irish for “write”.

It isn’t a notes app, a live collaborative editor, a publishing platform or an AI book generator. Your work isn’t encrypted on disk either, so protect the disk it’s on.

The library: a shelf of five flat typographic covers, one per project, in moss, green, ochre, plum and blue, with a card to continue where you left off and a progress bar under each title.
The library: one cover per project, and a card to pick up where you left off.

What you can count on

  1. Your words stay yours

    There’s no analytics, no telemetry and no outside fonts, and the app doesn’t make requests you didn’t ask for. This page loads nothing from other sites either.

  2. Nothing gets in your way

    While you type, nothing animates, shifts around or interrupts you. Text you didn’t write never goes into your chapter unless you accept it, and live updates never overwrite something you haven’t saved.

  3. You can leave any time

    Export to Word, EPUB, print-ready PDF or Markdown, and import from Word, Scrivener, Obsidian and more. Every version of your text is kept, and you can compare any two and restore one.

Features

Alternative wordings

Keep other phrasings next to the one in the text. The page always holds the wording you picked, so an export reads as plain text. Ghosting a wording hides it. It never deletes it.

The writing view with a small bar above a word in the first paragraph that reads 2 of 3, with arrows to cycle its wording in place and an Original button to go back.
Cycling through three wordings of one word. The text holds the one you chose.

Outline

Synopses, targets and statuses, with progress for every part and chapter. Look at it in manuscript order, story-timeline order or by point of view.

The outline of a novel: a dedication, then parts and chapters, each with a one-line synopsis, a status such as Draft or Revise, and a progress bar toward its word target.
Every part and chapter has a synopsis, a status and a word target.

Compendium

Characters, places, items, organisations and concepts, with aliases and relations. It also has a timeline with continuity checks, research notes and attachments, and one Compendium can be shared across projects.

The Compendium: a list of seven entities for a novel, each with a type, a one-line description and its aliases, under tabs for Overview, Entities, Timeline, Research, Attachments and Scratchpad.
The cast and the places of the book.

Writing Studio

Words by day, week and year, a streak, sprints and goals. It counts words added, and cutting text never counts against you. Everything is worked out where your writing lives, and only you see it.

The Writing Studio: tiles for words written today and over 7, 30 and 365 days, a habit streak of eight days, and a calendar of writing activity in flat squares of five sizes.
The Writing Studio dashboard.

Compile

Make a US or UK manuscript DOCX, a styled DOCX, an EPUB, Markdown or a print-ready PDF with covers. You preview the pages first, and nothing is made until you press Download. Each export records a list of what it included.

The compile page with the EPUB 3 preset chosen, its options on the left, and a paged preview of the title page on the right, before anything is downloaded.
Compile, with a preview of the pages before anything is made.

On a phone

The same pages work at phone width. It can be installed as an app, it has an offline page, and the formatting bar sits above the keyboard.

The writing view on a phone: the chapter title and prose fill the screen, with a formatting bar above a bottom bar of Library, Write, Outline, Research, Compendium and More.

And

  • Writing and structure

    Links between pages and backlinks, a Source view that shows the plain text, search, light and dark themes, and versions you can compare and restore.

  • Review and sharing

    Comments tied to the text, suggestions an editor accepts or rejects, and read-only or comment-only links for guests.

  • Import, export and publishing

    Import from Word (tracked changes become suggestions), Scrivener, Obsidian, WordPress, Ghost, an EPUB, a PDF with a text layer or a folder of files. Export a submission bundle or HTML, or publish a static site.

Get the app

The desktop app runs on your computer and needs nothing set up. Open it, make a local profile (a name, no password) and start writing. Your writing lives in your system’s app data folder, and Help, Show the Data Folder opens it. The first time it opens it asks whether it may check GitHub for a newer version. Say yes and it looks about once a day and installs a new one only when you choose Restart. Say no and it never checks, so come back here for new versions.

It isn’t signed yet. macOS will make you allow it the first time (System Settings, Privacy & Security, Open Anyway), and after an update it asks once for your password so the app can open its key (choose Always Allow). Windows SmartScreen will warn you (More info, Run anyway), and Smart App Control, if it’s on, may block it altogether. The Status section below says how little it has been tested.

Version v2.7.3.

All downloads

Check what you downloaded

The checksums are in SHA256SUMS-desktop.txt. On Linux, run sha256sum -c --ignore-missing SHA256SUMS-desktop.txt in the folder with your download. On a Mac, run shasum -a 256 <file> and compare it by eye. The list comes from the same place as the files, so it catches a bad download, not a hostile release.

Running it on a server for yourself or other people? That’s at the bottom of this page.

For the people running it

Everything above is for writers. This part is for you if you’re putting Scríobh on a server, running the container or building it yourself.

How it’s built

It’s one Go binary and one SQLite file. Pages are rendered on the server with HTMX, the editor is one pinned ProseMirror bundle, and nothing needs npm at runtime. Every write is a registered operation, and each operation is served as a page, a REST route, a CLI command and an MCP tool, so an agent holding a scoped key can do what a person does and nothing more.

The database is the source of truth. A read-only Markdown copy of every project is written continuously, so grep, git and a text editor always see the work. Git sync is push-only. Scríobh never pulls, and import is the only way text comes in from a remote.

The desktop app is a native window, written in Go with Wails, around the same server binary. Only that window can use its loopback port; other programs on the computer reach it through a socket only your account can open. It runs its own embedded OpenID Connect issuer and signs in through it, the same way the server does.

Sign-in

Sign-in is OpenID Connect only. There are no local passwords. Register Scríobh with your identity provider as a confidential client, authorization code with PKCE. The redirect URI is $SCRIOBH_BASE_URL/auth/oidc/callback. The ID token itself needs sub, email, a true email_verified and a groups list. Roles come from three groups, scriobh-admins, scriobh-writers and scriobh-readers, and you can rename them.

The container image

  1. Register the client with your identity provider and note the issuer, client id and secret.
  2. Write an .env with SCRIOBH_BASE_URL, SCRIOBH_OIDC_ISSUER, SCRIOBH_OIDC_CLIENT_ID, SCRIOBH_OIDC_CLIENT_SECRET and SCRIOBH_SECRET_KEY. Make the key with openssl rand -hex 32 and keep a copy off the machine. It isn’t in backups.
  3. Run it, then put TLS in front. Run one container per data volume.
docker run -d --name scriobh --restart unless-stopped \
  --read-only --tmpfs /tmp --cap-drop ALL --security-opt no-new-privileges:true \
  -p 127.0.0.1:8080:8080 -v scriobh-data:/data --env-file .env \
  ghcr.io/crueber/scriobh:latest

latest moves, so pin a release tag if you need it to stay put. The full guide, with reverse-proxy examples and backups, is docs/OPERATIONS.md. To look at it without an identity provider, make run or docker compose up --build gives a development build with three fixed test users. Never expose that to a network.

AI providers

There’s no built-in AI service. An administrator adds a provider in the app: a local Ollama, any OpenAI-compatible server, OpenRouter or OpenCode. A project’s owner then picks, per project, a mode, which features are allowed, which providers and models, a budget and whether names are redacted. A project with no policy has mode off, and nothing is sent.

Server binaries

Server and CLI archives for v2.7.3, with SHA256SUMS.txt. They’re static, the server is the production build with no development sign-in, and only the macOS Apple silicon one has been run. The rest are cross-compiled.

Documentation

  • OperationsInstall, sign-in, proxy, backup and restore, AI providers, Git sync, webhooks.
  • ArchitectureGo, HTMX, SQLite, the operation registry, security and performance budgets.
  • Working with an agentA scoped key, the command-line tool and the generated skill.
  • DesktopWhat the app is made of, where it keeps things, and what is verified.
  • OverviewWhat exists, what isn’t built and what isn’t verified.
  • FeaturesEvery feature, and the things deliberately left out.
  • VisionWho it’s for and the rules that decide arguments.
  • DesignType, colour and motion. This page borrows from it.