Noureddine RAMDI / Atuin Desktop: executable runbooks with local-first CRDT sync and shell integration

Created Mon, 04 May 2026 10:23:02 +0000 Modified Sat, 23 May 2026 20:41:27 +0000

atuinsh/desktop

Atuin Desktop tackles a problem most infrastructure and operations teams know too well: documentation rots and automation scripts break. It combines the best of both worlds by offering executable runbooks — documentation you can run, sync, and iterate on locally, with full offline support and seamless collaboration.

What Atuin Desktop does and how it’s built

Atuin Desktop is a local-first executable runbook editor built in TypeScript. It uses CRDTs (Conflict-free Replicated Data Types) to sync runbooks via Atuin Hub, enabling teams to safely collaborate on infrastructure workflows without worrying about merge conflicts or losing changes. The editor allows chaining of shell commands, database queries, and HTTP requests, all within a single interface. This is paired with Jinja-style templating, so runbooks can be parameterized and dynamically constructed based on variables or previous command outputs.

The core idea is to bridge the gap between static documentation and fragile automation scripts. Traditional runbooks often live in wikis or markdown files that quickly become outdated. Automation scripts tend to be brittle and scattered. Atuin Desktop offers a hybrid approach: runbooks that are both human-readable and machine-executable.

Under the hood, the app is built with TypeScript leveraging modern frontend frameworks (React is implied by the tech stack and ecosystem). It integrates tightly with shell history for autocomplete and supports live database queries and Prometheus monitoring, making it a versatile tool for teams managing releases, migrations, incident response, or other complex infrastructure tasks.

What makes Atuin Desktop technically interesting

The standout technical element is the local-first CRDT-based architecture. CRDTs allow multiple users to edit the same runbook concurrently, offline or online, and sync changes later without conflicts. This is a significant upgrade over traditional syncing systems that rely on locking or manual merging. It means that your runbook is always available and editable even without internet access.

Another key feature is the executable runbook design itself. The ability to chain shell commands, database queries, and HTTP requests within the same document is powerful. It turns runbooks into live workflows. The use of Jinja-style templating adds flexibility — you can parameterize commands with variables, reuse snippets, and build dynamic automation steps. This templating also facilitates cleaner separation between the workflow logic and environment-specific data.

Integration with shell history for autocomplete shows attention to developer experience (DX). This feature helps surface relevant commands quickly, reducing friction when building or running runbooks.

The support for live database queries and Prometheus metrics expands the tool’s applicability beyond just running shell commands. Teams can embed real-time data checks and monitoring queries directly into their runbooks, making them central hubs for incident response and operations.

The tradeoff with this approach is complexity and maturity. The app is currently in open beta, so while the architecture is promising, the ecosystem and user workflows might still evolve. CRDT syncing, templating engines, and shell integration each bring their own edge cases and potential bugs that users should be aware of.

Getting started with Atuin Desktop

  1. Download a package for your platform on our releases page
  2. Sign up for an account on Atuin Hub
  3. Log into Atuin Desktop and create your first runbook

This simple setup emphasizes ease of access. The desktop app is cross-platform and local-first, so you get offline access immediately. Signing up for Atuin Hub enables syncing and collaboration.

Verdict

Atuin Desktop is a compelling tool for teams that want executable documentation tightly integrated with their infrastructure workflows. Its local-first CRDT sync model and Jinja templating offer a modern take on runbooks that can finally be both readable and runnable.

That said, it’s still in open beta, so expect some rough edges and evolving features. It’s best suited for teams comfortable experimenting with new tooling and aiming to centralize their shell commands, DB queries, and monitoring workflows in a single place.

If your team struggles with out-of-date runbooks or brittle automation scripts, Atuin Desktop is worth exploring. The mix of offline-first editing, conflict-free sync, and live command execution fills a niche most documentation or automation tools don’t cover well yet.


→ GitHub Repo: atuinsh/desktop ⭐ 2,402 · TypeScript