Toshokann core owns
- Search and document handling
- Storage, import, backup, and restore
- Shared chat and bounded context
VOLUME 01 / ARCHITECTURE
Toshokann provides the tools to organize, find, and use knowledge. Your derivative supplies the collection, its identity, and the rules for using it.
Build your libraryThe core supplies reusable mechanics. Your Library or Archive decides what they serve.
Your derivative uses the shared core through a validated extension.
The dependency runs one way. Core modules never import product code. Catalog records and Markdown remain untrusted data.
Composes the experience and owns its policy.
Describes identity, catalog, facets, navigation, appearance, and optional adapters.
Provide reusable normalization, search, storage, import, chat, and context mechanics.
Remain untrusted data supplied and governed by the derivative.
Versioned contracts keep configuration, records, and packaging predictable. Open a record for its technical details.
defineExtension(config) Validates identity, catalog location, empty state, facets, navigation, constrained appearance tokens, assistant policy, and an optional setup function. Unknown keys fail closed.
The adapter normalizes established catalog aliases, safe relative document paths, metadata, access labels, and product-owned vocabulary without forcing existing holdings through a destructive schema rewrite.
Only declared files enter dist. The build stages, hashes, inventories, and atomically publishes one deterministic static tree.
Your derivative decides who may see the collection, who approves changes, and which services may receive data.
This project site: Toshokann publishes these documentation pages.
A derivative package: Keeps the complete neutral application surfaces, selects one extension, and creates a separate positive package allowlist for the full runtime closure and approved public collection.