Go to file
Levi Neely c5c2c4ab1d Document FUSE mount and 9pfuse dependency 2026-03-20 17:13:35 +01:00
internal Sync frontmatter on body write; add refresh ctl command 2026-03-20 17:04:32 +01:00
pkg Initial commit: denotesrv 9P server for denote notes 2026-03-20 16:46:47 +01:00
.gitignore Initial commit: denotesrv 9P server for denote notes 2026-03-20 16:46:47 +01:00
LICENSE Initial commit: denotesrv 9P server for denote notes 2026-03-20 16:46:47 +01:00
README.md Document FUSE mount and 9pfuse dependency 2026-03-20 17:13:35 +01:00
go.mod Initial commit: denotesrv 9P server for denote notes 2026-03-20 16:46:47 +01:00
go.sum Initial commit: denotesrv 9P server for denote notes 2026-03-20 16:46:47 +01:00
main.go Add FUSE mount support (default: ~/mnt/denote) 2026-03-20 17:10:17 +01:00
mkfile Initial commit: denotesrv 9P server for denote notes 2026-03-20 16:46:47 +01:00

README.md

denotesrv

9P server for denote notes.

Dependencies

Installation

mk install

Usage

denotesrv start       # background
denotesrv fgstart     # foreground
denotesrv status
denotesrv stop

On startup, the server automatically mounts at ~/mnt/denote via 9pfuse. Use -mount /path to override the mount location.

Environment

Variable Default Description
DENOTE_DIR ~/Documents/notes Notes directory
NAMESPACE /tmp/ns.$USER.:0 9P namespace

9P Filesystem

denote/
  ctl         (write) filter <query>, cd <path>, refresh
  event       (read)  Event stream
  index       (read)  Note metadata (respects filter)
  new         (write) Create note: "'title' tag1,tag2"
  n/
    <id>/
      backlinks (read)  Notes linking to this note
      body      (rw)    File content
      ctl       (write) 'd' to delete
      keywords  (rw)    Tags
      path      (rw)    Filesystem path
      signature (rw)    Note signature
      title     (rw)    Note title

See Also