Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
monbooru
command
Command monbooru serves the galleries, in the server, desktop or portable profile.
|
Command monbooru serves the galleries, in the server, desktop or portable profile. |
|
internal
|
|
|
api
Package api implements the /api/v1/ REST handlers for monbooru.
|
Package api implements the /api/v1/ REST handlers for monbooru. |
|
config
Package config loads, validates and atomically saves monbooru.toml.
|
Package config loads, validates and atomically saves monbooru.toml. |
|
counts
Package counts caches a gallery's whole-library tallies.
|
Package counts caches a gallery's whole-library tallies. |
|
db
Package db opens a gallery's SQLite pools and owns its schema.
|
Package db opens a gallery's SQLite pools and owns its schema. |
|
gallery
Package gallery owns the files under a gallery root.
|
Package gallery owns the files under a gallery root. |
|
galleryio
Package galleryio exports, imports, merges and transfers whole galleries.
|
Package galleryio exports, imports, merges and transfers whole galleries. |
|
galleryio/compatibility
Package compatibility translates foreign gallery exports into the light-import manifest.
|
Package compatibility translates foreign gallery exports into the light-import manifest. |
|
jobs
Package jobs runs one background job at a time: two jobs writing the same SQLite file would only contend.
|
Package jobs runs one background job at a time: two jobs writing the same SQLite file would only contend. |
|
library
Package library owns the open galleries: the set that publishes, switches and changes them, and each one's database, services, caches and background work.
|
Package library owns the open galleries: the set that publishes, switches and changes them, and each one's database, services, caches and background work. |
|
lookup
Package lookup holds the scheduled hash lookup's retry ladders, due predicate and attempt history.
|
Package lookup holds the scheduled hash lookup's retry ladders, due predicate and attempt history. |
|
markup
Package markup renders the bracket markup that annotation bodies, notes and commentary are stored in; source HTML is converted to it, never stored.
|
Package markup renders the bracket markup that annotation bodies, notes and commentary are stored in; source HTML is converted to it, never stored. |
|
metadata
Package metadata reads generation parameters, EXIF and ComicInfo out of files.
|
Package metadata reads generation parameters, EXIF and ComicInfo out of files. |
|
models
Package models holds the row types and constants several packages share; it imports nothing of ours.
|
Package models holds the row types and constants several packages share; it imports nothing of ours. |
|
monloader
Package monloader is the client for the paired monloader instance.
|
Package monloader is the client for the paired monloader instance. |
|
peer
Package peer is what monloader and the plugins share: the pending pairing requests, the grant and revoke written to the config, the address rules, the /health probe and the teardown notice.
|
Package peer is what monloader and the plugins share: the pending pairing requests, the grant and revoke written to the config, the address rules, the /health probe and the teardown notice. |
|
plugins
Package plugins launches the plugin binaries an operator put on disk; it never downloads or installs anything.
|
Package plugins launches the plugin binaries an operator put on disk; it never downloads or installs anything. |
|
relations
Package relations manages the operator-declared graph between images.
|
Package relations manages the operator-declared graph between images. |
|
schedule
Package schedule runs the daily pass over a set's galleries: the clock trigger, the catch-up after a missed slot, and the actions each gallery is ticked for.
|
Package schedule runs the daily pass over a set's galleries: the clock trigger, the catch-up after a missed slot, and the actions each gallery is ticked for. |
|
search
Package search implements the Monbooru query language parser and SQL executor.
|
Package search implements the Monbooru query language parser and SQL executor. |
|
searchkw
Package searchkw is the search filter-keyword vocabulary; it imports nothing of ours.
|
Package searchkw is the search filter-keyword vocabulary; it imports nothing of ours. |
|
shared/apitoken
Package apitoken holds the named bearer tokens that open /api/v1.
|
Package apitoken holds the named bearer tokens that open /api/v1. |
|
shared/contract
Package contract spells the words monbooru and monloader exchange over /api/v1 once, for both.
|
Package contract spells the words monbooru and monloader exchange over /api/v1 once, for both. |
|
shared/desktop
Package desktop is the per-OS side of the -desktop profile.
|
Package desktop is the per-OS side of the -desktop profile. |
|
shared/logx
Package logx gates the stdlib logger by level.
|
Package logx gates the stdlib logger by level. |
|
shared/pairing
Package pairing holds the pairing requests a peer polls until the operator approves or denies them.
|
Package pairing holds the pairing requests a peer polls until the operator approves or denies them. |
|
shared/session
Package session holds the browser sessions, CSRF tokens and login backoff.
|
Package session holds the browser sessions, CSRF tokens and login backoff. |
|
shared/webui
static/htmx.min.js is htmx 2.0.11, byte-identical to https://unpkg.com/htmx.org@2.0.11/dist/htmx.min.js (sha256 d6fdc75f204e6bdefa99b69bf1e6d4ac69b8a364f77929f45c13476b4000f717).
|
static/htmx.min.js is htmx 2.0.11, byte-identical to https://unpkg.com/htmx.org@2.0.11/dist/htmx.min.js (sha256 d6fdc75f204e6bdefa99b69bf1e6d4ac69b8a364f77929f45c13476b4000f717). |
|
tags
Package tags owns the tag catalog and every image's membership in it.
|
Package tags owns the tag catalog and every image's membership in it. |
|
upgrade
Package upgrade holds the "source serves a file we do not have" predicate, in Go and in SQL.
|
Package upgrade holds the "source serves a file we do not have" predicate, in Go and in SQL. |
|
web
Package web is the HTTP transport (routes, handlers, templates) and the process's composition root: NewServer opens the set and starts every loop.
|
Package web is the HTTP transport (routes, handlers, templates) and the process's composition root: NewServer opens the set and starts every loop. |
Click to show internal directories.
Click to hide internal directories.





