https://github.com/lukataylo/book-app
Books that bend to your time. Compress, expand, restyle, listen, speed-read. SwiftUI · iCloud · Claude
https://github.com/lukataylo/book-app
anthropic apple-foundation-models book-summarizer claude-api cloudkit epub-reader ios ipados pdf-reader rsvp speed-reading swiftdata swiftui text-to-speech
Last synced: 2 days ago
JSON representation
Books that bend to your time. Compress, expand, restyle, listen, speed-read. SwiftUI · iCloud · Claude
- Host: GitHub
- URL: https://github.com/lukataylo/book-app
- Owner: lukataylo
- License: other
- Created: 2026-05-05T13:15:18.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-06-09T22:28:35.000Z (8 days ago)
- Last Synced: 2026-06-09T23:13:20.923Z (8 days ago)
- Topics: anthropic, apple-foundation-models, book-summarizer, claude-api, cloudkit, epub-reader, ios, ipados, pdf-reader, rsvp, speed-reading, swiftdata, swiftui, text-to-speech
- Language: Swift
- Homepage: https://github.com/lukataylo/book-app
- Size: 2.39 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: docs/contributing.md
- License: LICENSE
Awesome Lists containing this project
README

# BookApp
**Books that bend to your time.**
Compress a 400-page book to 20 pages. Expand 5 pages to 50.
Listen on-device. Speed-read at 1,000 wpm. Re-style any book to read like another.
iOS · iPadOS · SwiftUI · SwiftData + CloudKit · Apple Foundation Models · Claude
[Setup](#setup) · [Architecture](docs/architecture.md) · [LLM routing](docs/llm-routing.md) · [Data model](docs/data-model.md) · [Privacy](AppStore/privacy.md)

---
## What it does
Most reading apps assume you have time for the whole book. BookApp doesn't.
**Read · Remember · Act** — the core loop
([design doc](docs/redesign-read-remember-act.md)):
- **Read.** A summary-first catalog of original "The Big Ideas in …" editions of
major non-fiction (~15 min each, legally-safe clean-room prose with attribution),
alongside everything you import yourself.
- **Remember.** Every book becomes a deck of swipeable knowledge cards — one idea
per card, gradient-coded by kind (Principle, Mental Model, Habit…). Save the
keepers; they live in the Saved tab with your learnings and highlights.
- **Act.** Every book becomes a 14-day implementation plan. Check steps off
in-app, or export them — practice sessions to your Calendar (write-only),
to-dos to Reminders.
And the original toolkit still applies to all of it:
- **Elastic length.** Compress a 400-page treatise into a 20-page summary that keeps the author's voice. Or expand a five-page essay into a chapter. The model preserves tone, structure and key arguments.
- **Listen on-device.** Every book becomes an audiobook with the system's premium voices. The current word lights up as it's spoken; the page flips itself.
- **Speed-read three ways.** Paragraph + word highlighting, single-word focus, or Spritz-style RSVP at any pace from 150 to 1,200 wpm.
- **Re-style.** Make a dense academic chapter sound more like Joan Didion. Strip references to a theme you don't care about.
- **Pull key learnings.** 5 to 15 takeaways per book in seconds. Edit, star, export.
- **Yours.** Books in your iCloud Drive. Anthropic API key in your Keychain. No backend.
## Setup
```bash
brew install xcodegen
cd /Users/lukadadiani/Documents/book-app
xcodegen generate
open BookApp.xcodeproj
```
In Xcode, set your **Team** under *Signing & Capabilities* and choose a unique
bundle id. Build and run on **iPhone 17 Pro** (or any iOS 18+ simulator).
On first launch:
1. Open *Settings → AI* and paste your Anthropic API key. It's stored in the
iOS Keychain — never on disk in plain text, never in the project.
2. Tap **Import a book** on the home screen and pick an `.epub` or `.pdf`
from iCloud Drive.
Get a Claude API key at .
## Tech
| Layer | Choice |
|---|---|
| UI | SwiftUI on iOS 18+ / iPadOS 18+ |
| Persistence | SwiftData with private CloudKit sync |
| EPUB | In-house parser over `ReadiumZIPFoundation` |
| PDF | PDFKit |
| TTS | `AVSpeechSynthesizer` with word-range highlighting |
| Local LLM | Apple Foundation Models (with MLX-Swift fallback hook) |
| Cloud LLM | Claude Sonnet 4.6 / Opus 4.7 via Anthropic Messages API + ephemeral prompt caching |
See [docs/architecture.md](docs/architecture.md) for the full picture.
## Topics
`ios` · `swiftui` · `ipados` · `swiftdata` · `cloudkit` · `epub-reader` ·
`pdf-reader` · `text-to-speech` · `speed-reading` · `claude-api` ·
`anthropic` · `apple-foundation-models` · `book-summarizer` · `rsvp`
## License
Personal-use license. The transformations of imported books are stored
locally and on your iCloud account; do not redistribute. The app does not
facilitate any public sharing of transformed content.