Skip to content
Galitube-DevelopementPublic

About

Emerald: The formidable alternative to Obsidian. Your notes. Your files. Your rules. Built for freedom, designed for ownership.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Emerald logo

Emerald

Your notes. Your folder. Your server.

A fast, native Markdown notebook written in Rust, plus an optional sync server you host yourself. No account, no cloud lock-in, no telemetry. Just .md files you own.

Stable Beta Nightly License: MIT Built with Rust Platforms

As seen on Open Source Alternatives

⬇ Download · Tour · Features · Shortcuts · Self-host sync · Build from source

Emerald editing a note, with the file tree on the left and backlinks on the right
🌗 Emerald comes in a dark and a light theme, or follows your system (Settings › Appearance). These screenshots match your GitHub theme.


⚡ At a glance

📦 ~5 MB Client installer. The sync server is about 1 MB.
🦀 ~8,000 lines of Rust for the client, server and sync engine combined.
🖥️ 5 installers MSI, macOS DMG (Apple Silicon and Intel), Debian .deb and Flatpak.
📝 100% plain Markdown Every note is an ordinary .md file. Open it with any editor.
🔒 0 accounts, 0 telemetry Nothing leaves your machine unless you point it at your own server.
💾 1-second autosave Notes save as soon as you stop typing.
⬆️ In-app updates Emerald tells you when a new version is out and installs it on Windows, macOS and Linux with one click.
🔄 Live sync Changes from another computer arrive in about a second. Your own changes upload when you save, when you pause for a few seconds, and when a file in the vault folder changes.

⬇ Download

Grab the latest build for your platform from the releases page:

Platform Notebook client Sync server (optional)
🪟 Windows x64 Emerald-Client_Windows_x64.msi Emerald-Server_Windows_x64.msi
🍎 macOS Apple Silicon Emerald-Client_macOS_Arm64.dmg Emerald-Server_macOS_Arm64.dmg
🍎 macOS Intel Emerald-Client_macOS_Intel_x64.dmg Emerald-Server_macOS_Intel_x64.dmg
🐧 Linux Debian / Ubuntu Emerald-Client_Linux_x64.deb Emerald-Server_Linux_x64.deb
🐧 Linux Flatpak Emerald-Client_Linux_x64.flatpak —

Checksums are in SHA256SUMS. Packages are currently unsigned, so your OS may ask you to confirm the first launch.

Prefer to build it yourself? cargo run --locked --bin emerald works too.


📸 A quick tour

Every screenshot comes in both themes: switch GitHub between light and dark mode to see the other one. In Emerald, pick Dark, Light or System under Settings › Appearance.

The Markdown source and its rendered preview side by side
Preview beside the editor. Write Markdown on the left and see it rendered on the right (Ctrl+E).

Graph view of linked notes, coloured by folder
Graph view. Every note and link, coloured by folder (Ctrl+G).

Command palette listing matching notes and commands
Command palette. Jump to any note or run any command (Ctrl+P).
Search results with the matching text highlighted
Instant search. Matches paths, text and tags, shown in context.
Tags tab listing every tag with its note count
Tags. Every #tag in the vault, with how many notes use it.
Settings window on the Appearance section
Settings. Sync, appearance, vaults, update channels and more.

✨ Features

  • 🚀 Native and lightweight. A real Rust desktop window (egui), not a browser in disguise. It starts fast and stays small.
  • 🗂️ Several vaults, one server. Keep work, personal and project notes in separate vaults. Import a folder you already have and Emerald uploads it to your server, or download a server vault on another computer.
  • 📂 Your folder is the database. Notes live in Documents/Emerald by default, or any folder you choose with --vault. Use Git, Dropbox or another editor alongside Emerald.
  • ✍️ Preview beside the editor. The Markdown is highlighted as you type, and the button at the top of a note (or Ctrl+E) shows the rendered note next to it. Lists and checkboxes continue when you press Enter.
  • 🔗 Linked thinking. Type [[ to link notes. Short links like [[Plan]] find the note in the same folder or anywhere in the vault, the way Obsidian does. The side panel shows every note linking here, with the sentence each link sits in, plus an outline and a local graph.
  • 🕸️ Graph view. See how your notes connect with Ctrl+G, coloured by folder.
  • 🏷️ Tags. Write #idea in any note; the sidebar's Tags tab lists them all.
  • 🔍 Instant search. Matches paths, text and tags. Press Enter to open the first hit.
  • 🎯 Command palette. Ctrl+P / Ctrl+K jumps to any note or runs any command.
  • 📅 Daily notes. One click opens today's dated entry.
  • 👁️ Markdown preview. Rendered right inside the app.
  • 🗑️ Safe deletes. Deleted notes go to the Trash, with a ten-second undo toast.
  • 🎨 Light, dark or system theme. Plus zoom controls and restored tabs every time you reopen a vault.
  • 🔄 Self-hosted sync with real conflict handling. Offline edits on two machines never overwrite each other. Emerald highlights what differs and lets you take either side, or both, for each changed part.
  • 🤝 Pair devices with a code. No token to copy: a device that already syncs shows a one-time code, and the new device types it in. Or let this computer be the server for your home network, with no separate install.
  • 🤖 AI memory ready. Agents can use your Emerald server as a persistent, human-readable memory. See AGENTS.md.

🚀 Open a notebook

Install the Emerald client package or run cargo run --locked --bin emerald. It opens a native Rust desktop window and stores notes in Documents/Emerald by default. Version 1.1 and later open existing 1.0 vaults and reuse their sync settings. To work in another folder, run:

emerald --vault "/path/to/notes"

🗂️ Multiple vaults and importing a folder

On first launch Emerald asks how you want to start: Start writing (opens a short Welcome note with two tips), Use a folder I already have, or Get my notes from my Emerald server. Click the vault name in the status bar to switch vaults in one click, or choose All vaults, new vault, import… for the vault screen, which lists every vault with its note count and sync status.

  • Import a folder… Pick a folder of notes on this computer (for example an existing Markdown or Obsidian folder). Emerald checks every file first and lists any it can't sync, such as names containing ? * : | or files over 64 MB. It also checks every [[link]] and tells you whether they all lead somewhere, or lists the ones that don't. The folder stays where it is: nothing is moved or copied locally. With Upload to my sync server checked, it is uploaded to the server as its own vault and kept in sync.
  • Open from server… Lists the vaults on your server and downloads the one you pick into a new folder (by default Documents/Emerald Vaults/<name>). Use this on your second computer.
  • New vault… Creates an empty vault, optionally synced as a new server vault.
  • Your vaults lists every vault you've opened. Click Open to switch, or Remove to drop it from the list (its folder is kept).

Every vault is a full copy on both sides. On your computer it is an ordinary folder of .md files, so other programs (editors, Git, backup tools, scripts) can open and change it directly; Emerald syncs those changes too. On the server each vault is a folder: <server folder>/Vaults/<vault name>/… with the vault's own subfolders inside. Every vault on one server shares the same token.

⌨️ Shortcuts

Key Action
Ctrl+N New note (the title is selected so you can name it right away)
Ctrl+O or Ctrl+Shift+F Search notes (Enter opens the first hit, Esc clears)
Ctrl+P or Ctrl+K Jump to a note or run a command (recent notes first; arrow keys to choose)
Ctrl+G Toggle graph view
Ctrl+W Close the current tab
Ctrl+\ Show or hide the sidebar
Alt+↑ / Alt+↓ Previous or next note in the file tree
Ctrl+S Save and sync now (notes also save and sync when you pause for a few seconds)
Ctrl+Shift+L Copy a link to the current line or the selected text
Click / Shift+click a link Preview the note on the side / open it (Ctrl+click in the editor)
Ctrl+= / Ctrl+− / Ctrl+0 Zoom in, out, reset
Getting around the interface

The search box is always at the top of the sidebar, with New note and New folder below it, then the Files, Search and Tags tabs. The bar at the bottom of the sidebar opens Today's daily note, the Graph and Commands (Ctrl+K); the gear at the left of the status bar opens Settings. Right-click a note for Rename, Move to folder, Duplicate, Copy link, Reveal and Move to Trash; right-click a folder to add a note to it or rename it. New folder creates a real, empty folder. Deleting needs no confirmation: the note goes to the Trash and a toast offers Undo for ten seconds. Links to attachments such as ![[chart.png]] open the file in its own app. Reading view (rendered, read-only) is in the note's ••• menu. Click a note's title to rename it; its folder is shown above as a breadcrumb. Type [[ to link a note; links can be followed from the links row, from Preview, from the Linked from panel on the right, and with Ctrl+click in the editor. Clicking a link shows the note in a side preview; Shift+click opens it. Links can point into a note: [[Plan#Goals]] to a heading, [[Plan#^k3x9qa]] to one line, [[Plan#some words]] to a piece of text. Right-click in the editor (or press Ctrl+Shift+L) to copy a link to the current line or selection; a line gets a short ^id at its end so the link survives edits. The sort button orders the file tree by name, last edited or created. In the graph, click a dot to preview the note and Shift+click or double-click to open it. Deleted notes go to the Trash (vault name menu or Ctrl+P) and can be undone from the toast for ten seconds.

The bottom bar holds the vault switcher (click the vault name for recent vaults), the note count, and the sync status. Settings (gear icon) has sections for Sync, Appearance (light, dark or match system, text size, readable line length, Markdown highlighting in the editor), Vaults, Updates, Shortcuts and About. Open tabs are restored the next time you open the vault. When a new release is out, Emerald offers to install it: The update window lists What's new in every release since your version. Update now downloads the installer for your system, checks it against the release's SHA256SUMS, closes Emerald, installs the update and opens it again (Windows asks for permission, Linux asks for your password; on macOS, if the app can't be replaced, the disk image opens instead). Settings › Vaults lists your vaults; Remove… either takes a vault off the list (its folder stays) or, after you type its name, moves the folder to the system trash. That works for the open vault too: Emerald switches to another one first. Emerald reopens the vault you used last. Settings › Updates picks the update channel, checks on demand, and can turn the twice-daily check off: Stable offers releases from the main branch only, Beta also offers beta and alpha builds from the BetaAlpha branch, and Nightly also offers a build of the latest changes from the premade branch. Every push to BetaAlpha or premade publishes such a build automatically, numbered for the next minor version (such as 2.4.0-beta.12), so patch releases from main stay below them. Going back to Stable keeps a beta or nightly version until a stable release is newer. The check only asks GitHub for the latest release; nothing about you or your notes is sent. Settings › About shows the version.

Create notes using paths such as Projects/Ideas. Save with Ctrl+S or Cmd+S. Preview renders Markdown. Follow a [[Projects/Ideas]] link using the links above the editor, or inspect the graph and backlinks. Search matches paths, text and tags. Daily note opens today's dated entry. You can put binary attachments in the vault using your file manager.

📁 Where things are stored

  • Vault: the folder passed with --vault (default Documents/Emerald). Notes are plain .md files.
  • Sync connection: %APPDATA%/Emerald/<hash>.json on Windows (the platform config dir elsewhere), one per vault, or the EMERALD_SERVER, EMERALD_TOKEN and optional EMERALD_VAULT environment variables (these apply to every vault).
  • Vault list: app.json in the same configuration folder.
  • Sync state: .emerald-sync-*.json inside the vault.

🌐 Host your own sync server

Keep every device in sync without handing your notes to anyone. The server stores them as ordinary files in a folder you pick.

See SERVER_SETUP.md for platform-specific installation and token setup.

Install the separate Emerald Server package on a machine with persistent storage. Pick a dedicated folder and generate a random shared secret (for example, with a password manager). The service account needs write access to that folder. In a Linux or macOS terminal:

read -rs EMERALD_TOKEN
export EMERALD_TOKEN
emerald-server --folder "/path/to/server-vault"

On Windows, the MSI installs the executable under Program Files. In PowerShell 7:

$env:EMERALD_TOKEN = Read-Host -MaskInput "Server token"
& "$env:ProgramFiles\Emerald Server\emerald-server.exe" --folder "D:\EmeraldVault"

Both commands start a foreground process on 127.0.0.1:7878. On macOS, open the server DMG and run its PKG first. For remote clients, configure an HTTPS reverse proxy on the server. For example, with Caddy and a DNS name pointing to the machine:

notes.example.org {
    reverse_proxy 127.0.0.1:7878
}

In each client, open Settings › Sync (or click Sync off in the bottom bar). The easiest way is Pair with a code: enter the server's address and a one-time code from emerald-server --pair or from Add another device on a computer that already syncs. Or choose Address and token and enter the HTTPS address and the same token, optionally a Server vault name (leave it empty for the server's main vault; Test lists the existing ones), press Test, then Connect. To sync only on your home network without installing anything else, choose This computer is the server on one computer: Emerald serves its vaults to the others while it is open. To bring a folder you already have onto the server, use Settings › Vaults › Import a folder… instead. Connected clients save and sync when you press Ctrl+S, when you stop typing or clicking for three seconds, and when another program (an editor, a file manager, an AI agent) adds, changes or deletes a file in the vault folder. When another client uploads a change, the server tells every connected client and they download it within about a second, like a streaming drive (this needs Emerald Server 2.2 or later; with an older server, clients check every ten seconds while you are idle). A file that can't be synced, for example one that another program has locked or whose name contains ? * : |, is skipped and listed in the log instead of stopping the sync. Syncing never blocks renaming or deleting; the bottom bar shows when the last sync happened. For testing on one machine use http://127.0.0.1:7878. The client saves the connection, including the token, in the current user's configuration directory outside the vault. Alternatively supply both EMERALD_SERVER and EMERALD_TOKEN in the client's environment.

How sync handles conflicts, deletions and limits

Sync compares file contents against the last sync, including renames (delete and create), attachments and deletions. A concurrent change rejected by the server can be retried. If both clients edited a note offline, the remote version takes its original name and the local edit gets a conflict filename. The status bar then shows an amber ⚠ 1 conflict: review in place of the green synced state. Clicking it opens Compare, which highlights each part that differs and lets you take the other computer's version, this computer's, or both, part by part, then Save merged note (the copy moves to the Trash). Settings › Sync lists every conflict too. A concurrent deletion and edit preserves the edited content.

  • File transfers support up to 64 MiB per upload.
  • Dot-prefixed paths and symlinks are excluded.
  • Use separate directories for client and server, and a single server process per server vault.
  • The server token grants access to every vault on that server. Use a separate server instance and token if you need isolation.
  • On the server, the top-level Vaults folder holds the named vaults. The main vault (used by clients that leave Server vault empty, and by Emerald 2.0) can't contain a top-level folder with that name.
  • Maintain backups independently of sync.

🛠 Build packages

Install stable Rust and run:

cargo build --locked --release
python3 packaging/package.py

On Windows use Python and WiX 5 on PATH. On macOS the script uses pkgbuild and hdiutil. On Debian/Ubuntu it uses dpkg-deb. Output goes to dist/. The client packages are MSI, DMG and Debian. A separate Flatpak build uses bash packaging/flatpak.sh with the Freedesktop 25.08 SDK and runtime. The server packages are MSI, a PKG inside a DMG, and Debian. They install the server executable for manual startup. The GitHub Actions workflow builds unsigned packages on their respective platforms.

To release, list the changes under ## Unreleased in CHANGELOG.md, rename that heading to the new version, and bump the version in Cargo.toml and packaging/package.py. When that reaches main, the workflow publishes the release with that section as its notes, and Emerald shows them under What's new in the update window. The release stops if the section is missing.


🧭 Current scope

Available now: the native desktop editor, local folders, Markdown preview, note links, backlinks, graph, search, daily notes and automatic self-hosted sync. The client currently loads the Markdown text of the vault to search and build links.

Not in this release: canvas, plugin compatibility, rich embeds, version history, mobile clients and end-to-end encryption.


Made with 💚 by Galitube Productions · MIT licensed

If Emerald makes your notes feel like yours again, consider giving the repo a ⭐

About

Emerald: The formidable alternative to Obsidian. Your notes. Your files. Your rules. Built for freedom, designed for ownership.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages