{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "antinomie-lab-pi-book--run-book-reader-locally",
 "repo": "antinomie-lab/pi-book",
 "repo_url": "https://github.com/antinomie-lab/pi-book",
 "repo_slug": "antinomie-lab-pi-book",
 "title": "Run the book's web reader on your own machine",
 "page_title": "How to run the book's web reader on your own machine with Pi Book",
 "summary": "Start the Vite and Vue reader locally to browse the architecture book without the hosted site.",
 "who": "A developer who wants to read or modify the book's reader offline, or to work on the book in a local setup.",
 "problem": "The hosted reader is the easiest way to read, but a developer may want a local copy of the reader that renders the same Chinese source.",
 "outcome": "A local dev server showing the book from the agent/ source files, started with two commands.",
 "steps": [
  "Clone the Pi Book repo and change into its folder. (inferred, check the README)",
  "Run `cd web && npm install && npm run dev`.",
  "Open the local address that the dev server prints in the terminal.",
  "Switch between the Chinese original and the translations using the reader language control."
 ],
 "agent_prompt": "In the antinomie-lab/pi-book repo, go to the web/ folder and run the install and dev commands from its README. Report the local URL the dev server prints and confirm that the Chinese chapter text renders from agent/ without errors.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "US15",
 "basis": "readme",
 "caveat": "The reader only renders content from agent/, so editing the web/ folder does not change the book text itself.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "vue",
 "requirements": [
  "A web browser to read the online edition, or git and Node.js (npm) for the local reader",
  "Access to the pi repository at commit cd20a8d2e if you want to check code references",
  "An AI coding tool such as Claude or Cursor if you want an agent to check the book against source"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/antinomie-lab-pi-book/run-book-reader-locally/",
 "md": "https://dedupedai.com/use-cases/antinomie-lab-pi-book/run-book-reader-locally/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/antinomie-lab-pi-book--run-book-reader-locally.json",
 "api_version": "v1"
}
