What is Lorewizard?
Worldbuilding and structured lore on Cloudflare Workers and D1, with a server-rendered admin UI and a JSON REST API under /api/v1. Use the sidebar to navigate authentication notes and individual resource pages.
Worldbuilding and structured lore on Cloudflare Workers and D1, with a server-rendered admin UI and a JSON REST API under /api/v1. Use the sidebar to navigate authentication notes and individual resource pages.
Each link below opens the resource documentation page. REST clients that send Authorization: Bearer <token> receive JSON instead.
Settings
World or campaign settings: high-level context for gods, places, and other entities. CRUD via the JSON API mirrors the admin UI.
Eras
Time periods in your lore (names, ordering, links to settings). Use eras to structure chronology before attaching events on timelines.
Gods
Deities and related entries, optionally scoped to a setting. List and create support filtering by `setting_id` where applicable.
Places
Locations in the world (regions, sites, etc.). Typed where the schema allows; list routes may expose a `type` filter.
Characters
People and personas: bios, status, ties to places and stories. Standard collection and item routes under `/api/v1/characters`.
Loots
Items, treasures, or narrative objects (loot) with metadata and typing for campaigns and inventories.
Evidences
Clues, documents, or proofs in the story. Supports format filters on list endpoints for different evidence kinds.
Timelines
Ordered narrative threads and events, often scoped to a setting. Combines with eras for a full chronology model.
The full contract is served at /openapi.yaml and covers all endpoints, query parameters, request bodies, and response schemas.
Load the YAML into Swagger Editor for interactive exploration.