Go to file
Levi Neely 39884192f1 move index from /index to n/idx 2026-04-16 08:55:29 +02:00
internal move index from /index to n/idx 2026-04-16 08:55:29 +02:00
pkg Update frontmatter on title/keywords/signature change 2026-03-21 23:16:36 +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 Update plan9port branch name 2026-03-20 17:37:10 +01:00
go.mod p9/server: rework /new to use YAML frontmatter template pattern 2026-04-11 23:24:13 +02:00
go.sum p9/server: rework /new to use YAML frontmatter template pattern 2026-04-11 23:24:13 +02:00
main.go Add DENOTE_9MOUNT env var for mount path 2026-03-20 17:18:14 +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

  • plan9port (wayland-9pfuse-truncate branch required for 9pfuse truncate fix)

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