Directories
¶
| Path | Synopsis |
|---|---|
|
Package codegen generates the code that connects a Tern app's routes to the runtime: tern.gen.go for the Go server, the client route manifest for Vite, and TypeScript types for every route.
|
Package codegen generates the code that connects a Tern app's routes to the runtime: tern.gen.go for the Go server, the client route manifest for Vite, and TypeScript types for every route. |
|
Package dbtest opens the databases that Tern's database packages are tested against: a fresh SQLite file always, and PostgreSQL when TERN_TEST_POSTGRES holds a connection string (CI sets it).
|
Package dbtest opens the databases that Tern's database packages are tested against: a fresh SQLite file always, and PostgreSQL when TERN_TEST_POSTGRES holds a connection string (CI sets it). |
|
Package formrules parses validation tags and checks submitted form values against them.
|
Package formrules parses validation tags and checks submitted form values against them. |
|
Package htmltext turns HTML into readable plain text, for the text part of emails.
|
Package htmltext turns HTML into readable plain text, for the text part of emails. |
|
Package i18n formats translated messages.
|
Package i18n formats translated messages. |
|
Package jsondiff computes small patches between two JSON values, so live components send what changed in a list instead of the whole list.
|
Package jsondiff computes small patches between two JSON values, so live components send what changed in a list instead of the whole list. |
|
Package markdown renders Markdown with YAML front matter.
|
Package markdown renders Markdown with YAML front matter. |
|
Package mcp is a small Model Context Protocol server over stdio: tools and resources, as JSON-RPC 2.0 messages, one per line.
|
Package mcp is a small Model Context Protocol server over stdio: tools and resources, as JSON-RPC 2.0 messages, one per line. |
|
Package native compiles the modules of an app's server build to Go, so pages render without the JavaScript engine (ADR 0011).
|
Package native compiles the modules of an app's server build to Go, so pages render without the JavaScript engine (ADR 0011). |
|
Package nilslices makes nil slices empty before encoding/json sees them.
|
Package nilslices makes nil slices empty before encoding/json sees them. |
|
Package routes discovers Tern routes on the filesystem and matches URLs against them.
|
Package routes discovers Tern routes on the filesystem and matches URLs against them. |
|
Package seal encrypts and authenticates small values, such as cookie contents, with AES-256-GCM.
|
Package seal encrypts and authenticates small values, such as cookie contents, with AES-256-GCM. |
|
Package ssr renders Svelte pages on the server by running the app's server bundle in embedded QuickJS VMs.
|
Package ssr renders Svelte pages on the server by running the app's server bundle in embedded QuickJS VMs. |
|
Package ui formats the Tern CLI's terminal output: colors, symbols, spinners and tables.
|
Package ui formats the Tern CLI's terminal output: colors, symbols, spinners and tables. |
|
Package version reports the version of the Tern build.
|
Package version reports the version of the Tern build. |
Click to show internal directories.
Click to hide internal directories.