Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
snorg
command
Command snorg is the supernote-organizer CLI.
|
Command snorg is the supernote-organizer CLI. |
|
internal
|
|
|
analyze
Package analyze runs vision-LLM analysis on a single archived page: it rasterizes the page SVG, crops each title/link region, transcribes them and the whole page, and writes the result into the page's <PAGEID>.json (per-region names, custom fields) and <PAGEID>.md sidecar (the transcribed content).
|
Package analyze runs vision-LLM analysis on a single archived page: it rasterizes the page SVG, crops each title/link region, transcribes them and the whole page, and writes the result into the page's <PAGEID>.json (per-region names, custom fields) and <PAGEID>.md sidecar (the transcribed content). |
|
archive
Package archive owns the on-disk plaintext layout of organized notes:
|
Package archive owns the on-disk plaintext layout of organized notes: |
|
config
Package config loads snorg's runtime configuration: provider credentials, analysis prompts, ingest SVG toggles and the export template.
|
Package config loads snorg's runtime configuration: provider credentials, analysis prompts, ingest SVG toggles and the export template. |
|
edit
Package edit opens a page's transcription in the user's editor and stores the result.
|
Package edit opens a page's transcription in the user's editor and stores the result. |
|
export
Package export renders assembled notes (retrieve.NoteViews) through a single user-supplied template, producing arbitrary text output (org-mode, markdown, html, …).
|
Package export renders assembled notes (retrieve.NoteViews) through a single user-supplied template, producing arbitrary text output (org-mode, markdown, html, …). |
|
ingest
Package ingest orchestrates registering .note files into an archive: read the domain model from a snote.Source, render all pages to SVG in one pass, and write everything through the archive store.
|
Package ingest orchestrates registering .note files into an archive: read the domain model from a snote.Source, render all pages to SVG in one pass, and write everything through the archive store. |
|
query
Package query is the read-only filter side of the archive: it walks every note/page and selects the pages matching a predicate over their stored metadata (star, keywords, note membership, analysis state, ...).
|
Package query is the read-only filter side of the archive: it walks every note/page and selects the pages matching a predicate over their stored metadata (star, keywords, note membership, analysis state, ...). |
|
retrieve
Package retrieve is the platform-agnostic read contract over an archive: it assembles the per-note storage files (note.json + each <PAGEID>.json) into denormalized NoteViews that any external tool can consume to build a human-readable form (e.g.
|
Package retrieve is the platform-agnostic read contract over an archive: it assembles the per-note storage files (note.json + each <PAGEID>.json) into denormalized NoteViews that any external tool can consume to build a human-readable form (e.g. |
|
serve
Package serve is the built-in, zero-setup viewer: it turns a set of assembled NoteViews into a small local HTTP site so notes can be browsed in a browser without the Emacs client.
|
Package serve is the built-in, zero-setup viewer: it turns a set of assembled NoteViews into a small local HTTP site so notes can be browsed in a browser without the Emacs client. |
|
snote
Package snote defines the device-agnostic domain model for a Supernote note and the Source contract for reading/rendering one.
|
Package snote defines the device-agnostic domain model for a Supernote note and the Source contract for reading/rendering one. |
|
snote/sntool
Package sntool implements snote.Source with the pure-Go github.com/jdlugosz963/sntool library: it parses the .note metadata and renders each page to SVG in-process, needing no external tool.
|
Package sntool implements snote.Source with the pure-Go github.com/jdlugosz963/sntool library: it parses the .note metadata and renders each page to SVG in-process, needing no external tool. |
|
textmerge
Package textmerge is the unified-diff and 3-way-merge plumbing behind edit-preserving analysis.
|
Package textmerge is the unified-diff and 3-way-merge plumbing behind edit-preserving analysis. |
|
pkg
|
|
|
snorg
Package snorg is the public Go API for the supernote-organizer (SNORG): a single facade over an archive of ingested .note files.
|
Package snorg is the public Go API for the supernote-organizer (SNORG): a single facade over an archive of ingested .note files. |
Click to show internal directories.
Click to hide internal directories.