README
¶
jotter
A tiny terminal notes app: plain markdown files, folders, a live preview and nothing to lock you in.
📸 Screenshots coming soon: browser · writing · folders.
Every note is a .md file in one folder, so they work with any editor, sync tool,
grep or git. jotter gives you a fast way to browse, search, read and write them.
Features
- Browse with a list on the left and a rendered markdown preview on the right (headings, lists, quotes, code, bold, rules).
- Write in place, or open the note in your own
$EDITOR. - Search across titles and full text.
- Folders: subfolders of your notes directory show up in a folder picker.
- Live: notes added or changed by other programs appear within a second.
- Quick capture:
jotter newopens straight into a blank note and exits on save. Bind it to a hotkey. - Native colours: it uses your terminal's ANSI palette, so it matches any theme (including Omarchy's).
Install
Works on any Linux. Needs Go ≥ 1.25 to build.
git clone https://github.com/antoniowav/jotter.git
cd jotter
./install # builds and installs into ~/.local
./install puts the binary in ~/.local/bin and adds a desktop entry and icon.
Use PREFIX=/some/where ./install to install elsewhere. Update with git pull && ./install.
Usage
jotter # browse
jotter new # write a new note; saving or cancelling exits
jotter open <note> # browse with that note selected (a path, or just its file name)
jotter --version
The first line of a note is its title (leading # marks are dropped).
Keys: browsing
| Key | Action |
|---|---|
| ↑ ↓ / k j | Move |
| ← → / h l / PgUp PgDn / b u | Previous / next page |
| g G / Home End | First / last note |
| n | New note |
| Enter / e | Edit the note in place |
| o | Open the note in $VISUAL / $EDITOR (else nvim, vim, nano or vi) |
| d | Delete the note (asks first: y confirms, any other key cancels) |
| / | Search (type, then Enter to keep the results or Esc to cancel) |
| Esc | Clear the search; with no search, back to the folders |
| Tab | Focus the preview to scroll it |
| r | Reload |
| f | Folders (when there are any) |
| q / Ctrl+C | Quit |
Keys: preview focused
| Key | Action |
|---|---|
| ↑ ↓ / k j | Scroll a line |
| PgDn / Space / f, PgUp / b | Scroll a page |
| d / Ctrl+D, u / Ctrl+U | Scroll half a page |
| Tab / Esc / q | Back to the list |
Keys: folder picker
| Key | Action |
|---|---|
| ↑ ↓ / k j, g G | Move |
| Enter / l / → | Open the folder |
| q / Esc / Ctrl+C | Quit |
Keys: writing
| Key | Action |
|---|---|
| Ctrl+S | Save |
| Esc | Cancel (press twice if there are unsaved changes) |
| Ctrl+A | Select the whole note; then Ctrl+C copies, Ctrl+X cuts, Backspace/Delete clears, typing or Ctrl+V replaces it |
| Ctrl+C | Quit without saving (when nothing is selected) |
| Ctrl+V | Paste |
| Home End / Ctrl+E | Start / end of the line |
| Alt+← → | Word left / right |
| Ctrl+Home End | Start / end of the note |
| Ctrl+W / Alt+Backspace | Delete the word before the cursor |
| Ctrl+K / Ctrl+U | Delete to the end / start of the line |
Requirements
- Linux (or any Unix) and a terminal.
- Go ≥ 1.25 to build it.
- Optional:
wl-clipboard(Wayland) orxclip/xsel(X11) for copy and cut. - Optional: an editor in
$VISUAL/$EDITORfor o.
Where your notes are stored
- In
$JOTTER_DIR(or$NOTES_DIR), or~/Noteswhen neither is set. The folder is created on first run. - One file per note, named by when it was written:
YYYY-MM-DD-HHMMSS.md(e.g.2026-10-02-194421.md). Notes are sorted by that time; files with other names use their modification time. - Any
*.mdfile you put there yourself shows up too. Hidden files and non-.mdfiles are ignored. - Folders are the direct subfolders of the notes directory (one level; deeper folders aren't shown).
jotter newalways writes to the top level. - A file name ending in
-voice.mdis labelled as a voice note. Handy if a dictation script drops notes in the same folder. - Deleting a note removes the file permanently. There is no trash.
- New notes are readable only by you (mode
600), and a notes folder that jotter creates is700. For a folder you made earlier, runchmod 700 ~/Notes && chmod 600 ~/Notes/*.mdto do the same.
jotter keeps no other state, config or cache.
Desktop integration
Installing adds a Jotter entry to your app launcher (it opens in your terminal).
On Omarchy you can bind it to keys, with a small floating window for quick capture:
-- ~/.config/hypr/bindings.lua
o.bind("SUPER + N", "Notes", "omarchy-launch-tui --app-id=org.omarchy.jotter jotter")
o.bind("SUPER + ALT + N", "New note", "omarchy-launch-tui --app-id=jotter-popup jotter new")
-- ~/.config/hypr/hyprland.lua
o.window("jotter-popup", { float = true, center = true, size = { 800, 500 } })
Elsewhere, start jotter new in a terminal with a class / app-id your window manager can float,
e.g. foot --app-id=jotter-popup jotter new or alacritty --class jotter-popup -e jotter new.
Uninstall
Run ./uninstall from the checkout. Your notes are never touched.
License
MIT © Antonio Piattelli
Documentation
¶
Overview ¶
jotter is a small TUI for plain-markdown notes stored one-per-file in ~/Notes.
jotter open the browser (list + preview) jotter new open straight into a new note; saving or cancelling exits jotter open <note> open the browser with that note selected
Set JOTTER_DIR (or NOTES_DIR) to use a different directory.