MCPcopy Create free account
hub / github.com/avelino/outl

github.com/avelino/outl @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
3,908 symbols 13,730 edges 476 files ⚖ MIT 1,334 documented · 34% ● updated 2d agov0.13.0-beta.321 · 2026-11-26★ 27876 open issues

Browse by type

⨍ Functions 3,488◇ Types & classes 420
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

outl

outl

Discord Sponsor outl

Local-first outliner. Markdown is the source of truth. Sync that doesn't corrupt your tree when two devices edit offline.

outl TUI: mentioning @Priya Shah in today's journal, then opening her page with the new backlink

outl desktop, today's journal outl desktop, a person page with its backlinks (dark) outl on iPhone, today's journal

Inspired by Roam Research and Logseq. Tree CRDT sync (Kleppmann et al. 2022), per-device append-only op log, IDs in a sidecar so the .md you see is the .md you wrote.

Install

Client How
Terminal (TUI + CLI + MCP), macOS and Linux brew tap outlmd/outl https://github.com/outlmd/outl && brew trust outlmd/outl && brew install outl-beta
Terminal, Windows scoop bucket add outl https://github.com/outlmd/outl && scoop install outl/outl-beta
Terminal, Nix nix profile add github:outlmd/outl (Nix)
Desktop, macOS brew install --cask outl-desktop-beta
Desktop, Linux and Windows AppImage, .deb, .rpm and an NSIS installer on every release, for x86_64 and aarch64
iOS TestFlight beta
Android outl-android-arm64.apk on every release
From source git clone https://github.com/outlmd/outl && cd outl && cargo build --release

outl-beta is the nightly channel, cut from main. The stable outl formula appears with the first stable release. Both desktop builds are unsigned for now, so macOS and Windows warn on first launch; Getting started has the two-line fix for each.

Android is sideload-only for now: it is not on Play, and each release is signed with a fresh key, so a new build means uninstalling the old one first (#171).

The iOS app keeps your notes in its own folder on the phone and syncs peer to peer. Pair it with your computer by scanning a QR; there is no account and no cloud folder.

Quick start

outl init ~/notes              # scaffold a workspace
outl --workspace ~/notes       # opens the TUI on today's journal

Press ? for the keymap, : for the command palette, Ctrl+P to fuzzy-jump, q q to quit. Type i, write met with [[Ana]] about #roadmap, press Esc, move onto Ana with w, press Enter: the page exists and its backlinks are on it.

On the desktop and phone you pick or accept a folder on first launch, and land on the same journal.

Second device:

outl peer pair                                   # on the device that has your notes
outl peer pair --ticket <ticket>                 # on the other, from an empty folder
outl sync

On a phone, scan the QR the desktop shows (Settings → Sync → Pair a new device…). The guide for every pairing combination is Sync your devices.

Get help

  • Something broke: troubleshooting, or run outl doctor.
  • Questions and ideas: Discord.
  • Bugs and missing features: open an issue with outl --version, the client, and what you did.

Optional: an always-on peer

You don't need a server. Pair your laptop and your phone and they sync directly, P2P. That's the normal setup.

But P2P converges only when two devices can reach each other, and a laptop shut at 18:00 never overlaps a phone edited at 22:00. If that's you, a third device that never sleeps closes the gap, on hardware you own.

docker compose build
outl peer pair --name laptop                                  # on a device that HAS your notes
docker compose run --rm outl peer pair --ticket <ticket>      # the server joins
docker compose up -d

Not a server your notes sync through: no account, no upload, nobody else's infrastructure holding your graph. Just one more peer that happens to be awake all the time, holding a full replica of the op log. Turn it off and your other devices carry on talking to each other. Self-hosting guide.

Coming from Roam, Logseq or Obsidian?

outl import auto ~/path/to/your/graph ~/notes --dry-run   # measure first, writes nothing
outl import auto ~/path/to/your/graph ~/notes             # then import

auto detects the source: a Roam JSON backup, a Logseq graph folder, a Logseq DB export, or an Obsidian vault. Name the format (roam, logseq, logseq-db, obsidian) if you prefer. Logseq's new DB version stores a graph in SQLite; export it with Export graph → Export EDN file and import that .edn file (details).

The importers resolve ((uid)) block refs and {{embed}}s into real outl block references, keep folded state, and translate each dialect. Everything touched is counted in the import report, so the dry run measures fidelity against your backup. A ref whose target is not in the export stays as the source wrote it, ((UID)), so it remains greppable for manual triage. A real import refuses a workspace that already has pages, so use a fresh folder.

Support outl

outl is built by one person, on nights and weekends. No account, no server holding your notes, nothing to upsell you on. Sponsors are what turn leftover hours into real, dedicated time.

  • Sponsor on GitHub, from $5 a month, or a one-time coffee
  • $5+: a vote in the quarterly poll that decides what goes next on the roadmap, your name in the list below and the Sponsor role on Discord
  • $15+: early access to beta builds and a monthly sponsors-only update
  • Companies: your logo here and on outl.app, from $100 a month

Supporters

Thank you to everyone keeping outl moving. Updated once a month. Add your name.

Contributing

Background reading

The engineering decisions behind outl on avelino.run:

  • File sync isn't trivial: why concurrent file moves are a distributed-systems problem that Dropbox and Google Drive still get wrong.
  • From paper to outliner: the gap between "the CRDT converges" and "the app ships": projections, content-addressable reconciliation, surviving iCloud's lazy materialisation.

License

MIT.

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 2,817
Method 671
Class 241
Interface 107
Enum 72

Languages

Rust82%
TypeScript18%
Ruby1%

Modules by API surface

crates/outl-md/tests/inline.rs56 symbols
plugin-sdk/src/index.ts54 symbols
crates/outl-frontend-shared/src/api/commands.ts54 symbols
crates/outl-mobile/src/components/Journal.tsx52 symbols
crates/outl-actions/src/dates.rs44 symbols
crates/outl-tui/src/edit_buffer.rs42 symbols
crates/outl-md/src/parse.rs37 symbols
crates/outl-tui/src/commands/builtins/dates.rs34 symbols
crates/outl-sync-iroh/src/peers.rs34 symbols
crates/outl-plugins/src/host.rs34 symbols
crates/outl-desktop/src/components/BlockRow.tsx34 symbols
crates/outl-tui/src/actions/plugins.rs32 symbols

For agents

$ claude mcp add outl \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page