Skip to content

๐Ÿ“š AI-Powered Book EPUB Knowledge Extractor & Summarizer Transform your PDF books into structured knowledge effortlessly! This tool leverages AI to analyze books page by page, extracting key insights, definitions, and concepts, and organizes them into Markdown summaries for easier study

License

Notifications You must be signed in to change notification settings

DioCrafts/ai-book-summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

AI EPUB Book Summarizer

Simple tool to get detailed Spanish summaries from EPUB books. No configuration needed.

Quick Start

# Install python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt echo "OPENAI_API_KEY=your_api_key" > .env # Run python3 summarize_book.py "book.epub"

That's it! You'll get:

  • Chapter summaries: ch01_summary.md, ch02_summary.md, etc.
  • Complete book summary: BOOK_summary.md

Optional: Custom Output Directory

python3 summarize_book.py "book.epub" "/path/to/output"

How It Works

  1. Extracts EPUB content
  2. For each chapter:
    • Short chapters: Direct summary
    • Long chapters: Extract detailed notes from chunks, then synthesize complete summary
  3. Creates global book summary from all chapters

All summaries are in Spanish, detailed, and preserve the complete content.

License

MIT

About

๐Ÿ“š AI-Powered Book EPUB Knowledge Extractor & Summarizer Transform your PDF books into structured knowledge effortlessly! This tool leverages AI to analyze books page by page, extracting key insights, definitions, and concepts, and organizes them into Markdown summaries for easier study

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages