Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
api
command
|
|
|
dev
command
Command dev runs the development servers on ports that no other worktree holds.
|
Command dev runs the development servers on ports that no other worktree holds. |
|
migrations
command
|
|
|
scripts/debug/parse-epub
command
|
|
|
scripts/debug/parse-mobi
command
|
|
|
scripts/debug/parse-mp4
command
|
|
|
scripts/debug/print-mp4-atoms
command
|
|
|
internal
|
|
|
devtool
Package devtool runs the development servers so that several worktrees can run them at once without colliding on ports.
|
Package devtool runs the development servers so that several worktrees can run them at once without colliding on ports. |
|
mobigen
Package mobigen builds MOBI, AZW3, and combo files shaped like Calibre's output.
|
Package mobigen builds MOBI, AZW3, and combo files shaped like Calibre's output. |
|
testgen
Package testgen provides utilities for generating test files (EPUB, CBZ, M4B) with configurable metadata for testing the scan worker.
|
Package testgen provides utilities for generating test files (EPUB, CBZ, M4B) with configurable metadata for testing the scan worker. |
|
pkg
|
|
|
covers
Package covers centralizes cover-file selection and serving so that the books, series, ereader, and OPDS handlers don't drift independently.
|
Package covers centralizes cover-file selection and serving so that the books, series, ereader, and OPDS handlers don't drift independently. |
|
ereader
Package ereader serves server-rendered HTML for stock Kobo and Kindle browsers that cannot use OPDS or the React app.
|
Package ereader serves server-rendered HTML for stock Kobo and Kindle browsers that cannot use OPDS or the React app. |
|
filegen/filegentest
Package filegentest holds the conformance suite every filegen.StreamGenerator must pass, and stand-in generators for tests of the download cache and the routes that serve it.
|
Package filegentest holds the conformance suite every filegen.StreamGenerator must pass, and stand-in generators for tests of the download cache and the routes that serve it. |
|
fingerprint
Package fingerprint computes content fingerprints for files.
|
Package fingerprint computes content fingerprints for files. |
|
fingerprints
Package fingerprints provides CRUD operations on the file_fingerprints table.
|
Package fingerprints provides CRUD operations on the file_fingerprints table. |
|
frontend
Package frontend serves the embedded web application.
|
Package frontend serves the embedded web application. |
|
httputil
Package httputil provides small HTTP helpers shared across handlers.
|
Package httputil provides small HTTP helpers shared across handlers. |
|
identifiers
pkg/identifiers/identifiers.go
|
pkg/identifiers/identifiers.go |
|
kepub
Package kepub provides conversion utilities for creating KePub files compatible with Kobo e-readers.
|
Package kepub provides conversion utilities for creating KePub files compatible with Kobo e-readers. |
|
lrufiles
Package lrufiles keeps a directory of cached files within a byte budget by removing the least recently used files first.
|
Package lrufiles keeps a directory of cached files within a byte budget by removing the least recently used files first. |
|
merge
Package merge holds the input checks that every resource merge (People, Series, Genres, Tags, Publishers) runs before it writes anything.
|
Package merge holds the input checks that every resource merge (People, Series, Genres, Tags, Publishers) runs before it writes anything. |
|
mobi
Package mobi reads MOBI and AZW3 files: Mobipocket (MOBI6) books, KF8 books, and combo files that hold a MOBI6 book followed by a KF8 one.
|
Package mobi reads MOBI and AZW3 files: Mobipocket (MOBI6) books, KF8 books, and combo files that hold a MOBI6 book followed by a KF8 one. |
|
pdf/incremental
Package incremental reads just enough of a PDF to append an incremental update to it, and writes that update.
|
Package incremental reads just enough of a PDF to append an incremental update to it, and writes that update. |
|
seriesnum
Package seriesnum parses and formats single series numbers and contiguous ranges.
|
Package seriesnum parses and formats single series numbers and contiguous ranges. |
|
sharelinks
Package sharelinks holds the Share Link feature: anonymous, expiring links that grant access to one Book.
|
Package sharelinks holds the Share Link feature: anonymous, expiring links that grant access to one Book. |
|
sortname
Package sortname provides functions for generating bibliographic sort names following ALA/Library of Congress conventions.
|
Package sortname provides functions for generating bibliographic sort names following ALA/Library of Congress conventions. |
|
sortspec
Package sortspec parses, validates, builds SQL for, and resolves multi-level sort specifications (e.g.
|
Package sortspec parses, validates, builds SQL for, and resolves multi-level sort specifications (e.g. |
|
sqliteconn
Package sqliteconn opens SQLite connections that run a fixed set of statements, usually pragmas, on every connection the pool opens, and provides the bun dialect for them.
|
Package sqliteconn opens SQLite connections that run a fixed set of statements, usually pragmas, on every connection the pool opens, and provides the bun dialect for them. |
|
testutils
Package testutils provides test-only API endpoints.
|
Package testutils provides test-only API endpoints. |
|
testutils/goconsts
Package goconsts reads string constants out of Go source so a test can check that every constant of a family is handled, without a hand-kept list that goes stale the same way the code under test would.
|
Package goconsts reads string constants out of Go source so a test can check that every constant of a family is handled, without a hand-kept list that goes stale the same way the code under test would. |
|
testutils/testdb
Package testdb opens the database that package tests run against.
|
Package testdb opens the database that package tests run against. |
|
testutils/testumask
Package testumask sets the process umask for the length of a test.
|
Package testumask sets the process umask for the length of a test. |
|
ziputil
Package ziputil writes zip entries without recompressing them, for generators that stream an archive built from another one.
|
Package ziputil writes zip entries without recompressing them, for generators that stream an archive built from another one. |
|
tools
|
|
|
checkdocrefs
command
Command checkdocrefs fails when an agent instruction file (every AGENTS.md, CODING_STANDARDS.md, and docs/agents/**/*.md) names a repo path, code identifier, or quoted section that no longer exists.
|
Command checkdocrefs fails when an agent instruction file (every AGENTS.md, CODING_STANDARDS.md, and docs/agents/**/*.md) names a repo path, code identifier, or quoted section that no longer exists. |
|
checkversions
command
Command checkversions fails when a tool pinned in mise.toml is pinned to a different version in the Dockerfile (golang and node base images, the tygo `go install`) or package.json (packageManager pnpm, the @types/node major).
|
Command checkversions fails when a tool pinned in mise.toml is pinned to a different version in the Dockerfile (golang and node base images, the tygo `go install`) or package.json (packageManager pnpm, the @types/node major). |
|
gotestsplit
command
Package main is gotestsplit, a timing-aware fork of gotesplit (https://github.com/Songmu/gotesplit, MIT).
|
Package main is gotestsplit, a timing-aware fork of gotesplit (https://github.com/Songmu/gotesplit, MIT). |
Click to show internal directories.
Click to hide internal directories.