Skip to content

Conversation

@asidko
Copy link

@asidko asidko commented Nov 19, 2025

uses existing Claude Code CLI to provide AI summaries
01c7258f6b935438ed8f5fd73f109d0d2ade0a683bd506de57ba99971162dcf8
ba3deb3f2728585ca0a7cd6f6ec5880f549f6ac9d62152de61db3618f521ed49
5122fad66a550d24f6823fab2c2f28057e635c6b9484e346caafad6bc7a78920
c90e9dd959835580aa75d21109c163fbc24ed44b4c9a0126ea06ee0fc0d22613

- Extract specific events/characters from chapter content
- Use conversational, vivid language with emotional hooks
- Fix prephrase receiving book metadata instead of chapter content
- Add book context parameter for better AI responses
- Refactor with shared _fetch_from_claude() helper
- Move imports to module level
…ore sections

- Split chapters into intelligent paragraph groups (min 500 chars, max 10 groups)
- Generate concise, intriguing 2-4 word teasers that hook readers
- Display teasers before paragraph groups (not after) as reading prompts
- Optimize with precompiled regex patterns for performance
- Include book context in LLM prompts for better teaser quality
- Parallel LLM requests using asyncio.gather() for fast generation
- Add cache key hashing to avoid duplicate requests
- Create book.py that combines EPUB processing and web server in one command
- Extract cover images (ITEM_COVER type) in addition to regular images
- Add catch-all image endpoint for SVG xlink:href loose filenames
- Auto-select available port starting from 8123
- Remove library view for single-book reader experience
- Include alice.epub as default book for easy testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant