examples/

directory
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: MIT

Directories

Path Synopsis
Command light-server is a sample architecture (docs/examples/light-server): the server never converts a document to bdf.
Command light-server is a sample architecture (docs/examples/light-server): the server never converts a document to bdf.
Command preview-server is a sample architecture (docs/examples/preview-server): the server converts every document to bdf itself, once, and caches both the bdf and its thumbnail on disk (makePreviews).
Command preview-server is a sample architecture (docs/examples/preview-server): the server converts every document to bdf itself, once, and caches both the bdf and its thumbnail on disk (makePreviews).
Command search is a sample architecture (docs/examples/search): on top of what preview-server does (convert and cache every document as bdf, and a thumbnail), it also extracts each document's text with bdf.Document.SearchText and indexes it in Meilisearch, one document per page (a sheet is one entry, without a page number — see bdf.Document.SearchText's doc comment).
Command search is a sample architecture (docs/examples/search): on top of what preview-server does (convert and cache every document as bdf, and a thumbnail), it also extracts each document's text with bdf.Document.SearchText and indexes it in Meilisearch, one document per page (a sheet is one entry, without a page number — see bdf.Document.SearchText's doc comment).
Command secure-reader is a sample architecture (docs/examples/secure-reader): a site where readers log in and read the PDF books they own, which are never sent as files.
Command secure-reader is a sample architecture (docs/examples/secure-reader): a site where readers log in and read the PDF books they own, which are never sent as files.

Jump to

Keyboard shortcuts

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