A native Markdown editor for Linux, built with Rust, GTK 4, and libadwaita. Choose the vault directory in Options → Preferences; directory changes apply when you reopen Hematite.
Notes are plain files in a vault folder. Hematite opens ~/Documents/Vault
by default and creates it if it doesn't exist.
- Notes and folders: create, rename, and organize notes from the sidebar. Right-click a note or folder to rename it or move it to Trash. Drag a note onto a folder to move it; drop on empty sidebar space to move it back to the root. Relative image and file links are updated.
- Search: find notes by title or content, with matching text previews.
- Markdown: headings, bold, italics, strikethrough, bullets, clickable task checkboxes, links, and tables. Formatting markers appear when you edit a line.
- Images: paste images from the clipboard. They're saved in the vault and displayed inside the note, without cluttering the sidebar.
- Autosave: on by default; change it in Options → Preferences.
- Folders: start expanded by default; change this in Preferences.
- WebDAV sync: keep a local copy of your vault and sync it with a server.
Requires Rust/Cargo, GTK 4.12+, libadwaita 1.5+, pkg-config, and
glib-compile-resources and glib-compile-schemas. Sync uses curl; saving passwords requires
secret-tool.
On Fedora, install the dependencies:
sudo dnf install rust cargo gtk4-devel libadwaita-devel pkgconf-pkg-config glib2-devel curl libsecretBuild and launch:
cargo build --locked
cargo run --lockedTo open another vault:
cargo run --locked -- --vault /path/to/vaultTo build and install Hematite for your user, with its desktop entry and icon
(the binary goes to ~/.local/bin; set PREFIX to change that):
./install.shPreferences are stored in GSettings/dconf under /io/github/hematite/Editor/.
Open Options → Connect WebDAV server and enter the server address,
username, and password. Use a full URL such as https://example.org/vault/,
or a domain name; Hematite tries the root and then /vault/.
- Saves go to disk first, so you can work offline. Pending changes sync when the connection returns.
- Remote files appear as they download, preserving the server’s modification dates.
- Hematite checks for changes every 30 seconds and when you return to its window.
- The bottom-right icon shows progress, success, or a problem. Click it for details or to sync now.
- Conflicting edits are kept as separate files. There is no automatic text merge.
- Hidden files and folders, including
.obsidian, are excluded from sync. - Passwords can be stored in the system keyring. Disconnecting keeps local files.
The server must provide strong ETags and support conditional writes or exclusive WebDAV write locks. Hematite checks this when connecting; rclone's WebDAV server works through the lock-based method.
| Shortcut | Action |
|---|---|
| Ctrl+N | New note |
| Ctrl+W | Close Hematite |
| Ctrl+F | Search notes |
| Ctrl+S | Save |
| Ctrl+plus / Ctrl+minus | Increase / decrease editor text size |
| Ctrl+scroll | Increase / decrease editor text size |
| Ctrl+0 | Reset editor text size |
| Ctrl+B / Ctrl+I | Bold / italic |
| Ctrl+Z / Ctrl+Shift+Z | Undo / redo |
| Ctrl+V | Paste text or an image |
| Ctrl+click / Ctrl+Enter | Open a link while editing its line |
Files moved to Trash inside Hematite are deleted remotely during sync. Files removed in another app are downloaded again unless Sync files deleted outside Hematite is enabled in Preferences (off by default). Removing the entire vault folder always triggers a fresh download, regardless of that setting.
Licensed under the GNU General Public License, version 3 or later. See LICENSE.