Skip to content
Galitube-DevelopementPublic

About

Its a obisidian like but with some extras

Resources

Stars

0 stars

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.

Latest release License: MIT Built with Rust Platforms

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


⚡ At a glance

📦 ~5 MB Client installer. The sync server is about 1 MB.
🦀 ~3,200 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.


✨ 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.
  • 🔗 Linked thinking. Type [[ to link notes. Follow links from the links row, from Preview, or from the Linked from backlinks panel.
  • 🕸️ Graph view. See how your notes connect with Ctrl+G.
  • 🔍 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 keeps both and lets you compare them side by side.
  • 🤖 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: with an empty vault, by importing an existing folder, or by opening a vault from your server. The same options are in Settings › Vaults and in the vault menu in the bottom bar, so you can add vaults at any time.

  • 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. 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 (arrow keys to choose)
Ctrl+G Toggle graph view
Ctrl+W Close the current tab
Ctrl+S Save and sync now (notes also save and sync when you pause for a few seconds)
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. Right-click a note for Rename, Move to folder, Duplicate, Copy link, Reveal and Delete; right-click a folder to add a note to it or rename it. 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 and from the Linked from panel on the right. 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), Vault and Shortcuts. Open tabs are restored the next time you open the vault. When a new release is out, Emerald offers to install it: 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 › About shows the version, checks on demand, and can turn the twice-daily check off. The check only asks GitHub for the latest release; nothing about you or your notes is sent.

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), 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 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 bottom bar then shows a conflict count; Settings › Sync lists each one with Compare…, which shows both versions side by side and lets you keep either (the other moves to the Trash) or both. 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.


🧭 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

Its a obisidian like but with some extras

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages