8000 GitHub - outlmd/outl: Local-first outliner. Markdown is the source of truth. Sync that doesn't corrupt your tree when two devices edit offline · GitHub
[go: up one dir, main page]

Skip to content
outlmdPublic

About

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

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

280 stars

Watchers

7 watching

Forks

Latest commit

 

History

1,079 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

280 stars

Watchers

7 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

0