core/

directory
v1.45.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2026 License: MIT

Directories

Path Synopsis
api
Package api is the HTTP API: one folder per route, each calling the same processes as the CLI.
Package api is the HTTP API: one folder per route, each calling the same processes as the CLI.
read-search
Package readsearch is the API route running a saved search.
Package readsearch is the API route running a saved search.
services/auth
Package auth lets through the requests of a logged-in account only, and tells the routes which one.
Package auth lets through the requests of a logged-in account only, and tells the routes which one.
services/compress
Package compress sends the big JSON answers of the API as gzip: on Tailscale from a phone, weight costs more than the server's time.
Package compress sends the big JSON answers of the API as gzip: on Tailscale from a phone, weight costs more than the server's time.
services/events
Package events tells the open web apps of an account that its notes changed, so they read them again: an agent working through the MCP or the CLI shows its changes live.
Package events tells the open web apps of an account that its notes changed, so they read them again: an agent working through the MCP or the CLI shows its changes live.
services/guard
Package guard keeps the web pages of other sites away from the API: they could use the session cookie.
Package guard keeps the web pages of other sites away from the API: they could use the session cookie.
services/plan
Package plan refuses the routes of a paid feature to the accounts whose plan lacks it.
Package plan refuses the routes of a paid feature to the accounts whose plan lacks it.
services/respond
Package respond is what every route shares: reading the request, writing JSON, turning process errors into statuses.
Package respond is what every route shares: reading the request, writing JSON, turning process errors into statuses.
services/throttle
Package throttle makes a key wait longer after each try in a row: wrong passwords at the login and on the OAuth consent page, accounts created from one address at the sign-up.
Package throttle makes a key wait longer after each try in a row: wrong passwords at the login and on the OAuth consent page, accounts created from one address at the sign-up.
users
Package users is the account routes an admin uses, and the self-service sign-up: the rest of an account's own routes are in login/.
Package users is the account routes an admin uses, and the self-service sign-up: the rest of an account's own routes are in login/.
server
cmd-admin
Package cmdadmin holds the commands of the server's admin, on the base: create accounts, reset their password and change the server's secret.
Package cmdadmin holds the commands of the server's admin, on the base: create accounts, reset their password and change the server's secret.
oauth
Package oauth makes the MCP address an OAuth 2.1 authorization server, as the MCP specification describes, for the clients that take no fixed token (ChatGPT) or prefer to sign in (Claude): the metadata, an open dynamic client registration, the consent page and the token endpoint.
Package oauth makes the MCP address an OAuth 2.1 authorization server, as the MCP specification describes, for the clients that take no fixed token (ChatGPT) or prefer to sign in (Claude): the metadata, an open dynamic client registration, the consent page and the token endpoint.
services
fold
Package fold sorts strings as people read them, for the processes and the CLI alike.
Package fold sorts strings as people read them, for the processes and the CLI alike.
forcelayout
Package forcelayout places the notes of a graph and their tags, as d3-force did in the browser: a repulsion between every node (Barnes-Hut), springs along the edges, collisions on a small graph, a pull to the center.
Package forcelayout places the notes of a graph and their tags, as d3-force did in the browser: a repulsion between every node (Barnes-Hut), springs along the edges, collisions on a small graph, a pull to the center.
hashtag
Package hashtag reads the #tags of a note's markdown: they are what makes the tags of the note.
Package hashtag reads the #tags of a note's markdown: they are what makes the tags of the note.
huhform
Package huhform gives every CLI form the same keys and SCNe-like help line.
Package huhform gives every CLI form the same keys and SCNe-like help line.
linediff
Package linediff lists the lines that differ between two texts, for the previews of the bulk edits.
Package linediff lists the lines that differ between two texts, for the previews of the bulk edits.
navigator
Package navigator is a navigable list screen shared by graph and search: rows lead to other pages or to notes, with history, filter and the same keys as the finder.
Package navigator is a navigable list screen shared by graph and search: rows lead to other pages or to notes, with history, filter and the same keys as the finder.
noteindex
Package noteindex keeps on each note what finds it without opening it (#145): the blinds of the grams of its title and content for searchnotes, the blinds of the titles its [[links]] wait for for linknotes, whether it has a link or a file and the blinds of its headings for listbrokenlinks, the blinds of the grams of its headings (#169).
Package noteindex keeps on each note what finds it without opening it (#145): the blinds of the grams of its title and content for searchnotes, the blinds of the titles its [[links]] wait for for linknotes, whether it has a link or a file and the blinds of its headings for listbrokenlinks, the blinds of the grams of its headings (#169).
notetitle
Package notetitle reads the title of a note from its markdown, as Apple Notes does: nobody types it apart.
Package notetitle reads the title of a note from its markdown, as Apple Notes does: nobody types it apart.
password
Package password hashes the passwords of accounts with argon2id, and makes the session tokens.
Package password hashes the passwords of accounts with argon2id, and makes the session tokens.
process/readsavedsearch
Package readsavedsearch finds a saved search by id among the account's, then replays its criteria.
Package readsavedsearch finds a saved search by id among the account's, then replays its criteria.
process/runsavedsearch
Package runsavedsearch replays a domain.SavedSearch's criteria: never a stored result, always run again.
Package runsavedsearch replays a domain.SavedSearch's criteria: never a stored result, always run again.
screen
Package screen prints command output the way the forms show: as tall as the terminal.
Package screen prints command output the way the forms show: as tall as the terminal.
secret
Package secret encrypts what the base keeps of the notes (AES-256-GCM): a stolen base, backup or disk is unreadable without the server's key TIDE_SECRET.
Package secret encrypts what the base keeps of the notes (AES-256-GCM): a stolen base, backup or disk is unreadable without the server's key TIDE_SECRET.
silo
Package silo keeps the bytes of the files in Silo, the S3 storage of compose.yaml.
Package silo keeps the bytes of the files in Silo, the S3 storage of compose.yaml.
style
Package style is the CLI look: one palette, named styles and the shared header and table.
Package style is the CLI look: one palette, named styles and the shared header and table.
testaccount
Package testaccount gives tests an account to act for, inside their rolled-back transaction.
Package testaccount gives tests an account to act for, inside their rolled-back transaction.
wikilink
Package wikilink reads the links of a note's markdown to other notes.
Package wikilink reads the links of a note's markdown to other notes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL