{
  "markdown": "# APT Local Novel Review Desktop App (V1)\n\nLocal-first desktop review tool for manuscript analysis with Ollama.\n\n## Scope\n- Import `.docx` manuscripts as versions\n- Parse manuscript into chapters\n- Run local review modes through Ollama (`gpt-oss:20b`)\n- Persist projects, versions, chapters, review runs, findings\n- Compare findings across versions (`resolved`, `still`, `new`)\n\nNon-goals are enforced from the prompt: no chat assistant, no cloud APIs, no in-app rewriting/editor workflow.\n\n## Tech Stack\n- Electron + React + TypeScript + Vite\n- Tailwind CSS with APT dark-first card-based styling\n- SQLite (`better-sqlite3`)\n- Ollama local API\n- Zod schema validation\n\n## Workspace Layout\n- `apps/desktop`: Electron application (main, preload, renderer)\n- `packages/types`: shared domain types\n- `packages/lib`: parsing, schema, prompt, compare logic\n- `packages/db`: SQLite migrations and repositories\n- `packages/ui`: reusable UI components and tokens\n- `docs`: architecture and product docs\n\n## Current Implementation Status\n- App shell with required layout regions\n- Setup page runtime/model detection\n- Library page project create/open/delete\n- Manuscript import pipeline with chapter parsing and version creation\n- Review engine with all required modes and JSON validation path\n- Findings list and compare views\n- Base settings and canon pages\n- Unit tests for parsing/diff/JSON result handling in `packages/lib`\n\n## Local Run (Windows)\n1. Install Node 22 LTS (recommended) and pnpm.\n2. Install dependencies:\n   - `pnpm install`\n3. Start the app:\n   - `pnpm dev`\n\n### Important Native Dependency Note\n`better-sqlite3` requires native tooling. On Windows, if install fails:\n- Install Visual Studio Build Tools with \"Desktop development with C++\"\n- Or use Node 22 LTS where prebuilt binaries are more available\n\n## Scripts\n- `pnpm dev` - run desktop app in development mode\n- `pnpm build` - build all workspace packages/apps\n- `pnpm typecheck` - recursive TypeScript checks\n- `pnpm test` - recursive tests\n",
  "bytes": 2011,
  "sha": "3727683e0c6654c96a1c962974a73e3d089b3162be8ac3f0923ad3efd699774f",
  "repo_slug": "adthomps/apt-novel-reviewer",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/okf_adthomps_apt_novel_reviewer_apt_knowledg_9d223ed7/readme"
}