logo
0
0
Login

E-book to Mind Map logo

E-book to Mind Map

中文 | English

E-book to Mind Map Screenshot1

An intelligent e-book parsing tool powered by AI technology that converts EPUB and PDF format e-books into structured mind maps and text summaries.

Try it now: https://ebook2me.mind-elixir.com/

✨ Features

📚 Multi-format Support

  • EPUB Files: Complete support for parsing and processing EPUB format e-books
  • PDF Files: Intelligent PDF document parsing with table of contents-based and smart chapter extraction

🤖 AI-Powered Content Processing

  • Multiple AI Services: Support for Google Gemini and OpenAI GPT models
  • BYOK Mode: Requires using your own API Key (Bring Your Own Key), ensuring data security and privacy
  • Direct Local Connection: All AI requests are made directly from your browser to the AI providers, never through any third-party proxy or intermediary servers
  • Three Processing Modes:
    • 📝 Text Summary Mode: Generate chapter summaries, analyze chapter relationships, output complete book summary
    • 🧠 Chapter Mind Map Mode: Generate independent mind maps for each chapter
    • 🌐 Whole Book Mind Map Mode: Integrate entire book content into one comprehensive mind map

🎯 Smart Chapter Processing

  • Intelligent Chapter Detection: Automatically identify and extract book chapter structure
  • Chapter Filtering: Support skipping prefaces, table of contents, acknowledgments and other non-core content
  • Flexible Selection: Users can freely choose chapters to process
  • Sub-chapter Support: Configurable sub-chapter extraction depth

💾 Efficient Caching Mechanism

  • Smart Caching: Automatically cache AI processing results, allowing continuation from the last position if processing is interrupted
  • Cache Management: Support clearing cache by mode to save storage space
  • Offline Viewing: Processed content can be viewed offline

🎨 Modern Interface

  • Responsive Design: Adapts to various screen sizes
  • Real-time Progress: Visualized processing with real-time step display
  • Interactive Mind Maps: Support zooming, dragging, node expand/collapse
  • Content Preview: Support viewing original chapter content

📖 User Guide

1. Configure AI Service

First-time use requires AI service configuration:

🔒 Privacy Protection Note: This tool uses the BYOK (Bring Your Own Key) mode, requiring you to use your own API Key. All AI requests are made directly from your browser to the AI providers (Google or OpenAI), never through any third-party proxy or intermediary servers, ensuring your data security and privacy.

  1. Click the "Configure" button
  2. Select AI service provider:
    • Google Gemini (recommended): Requires Gemini API Key
    • OpenAI GPT: Requires OpenAI API Key and API address
  3. Enter the corresponding API Key
  4. Select model (optional, default model works fine)

Getting API Keys

Google Gemini API Key:

  1. Visit Google AI Studio
  2. Sign in with Google account
  3. Create a new API Key
  4. Copy the API Key to configuration

OpenAI API Key:

  1. Visit OpenAI Platform
  2. Sign in and go to API Keys page
  3. Create a new API Key
  4. Copy the API Key to configuration

Here are some free alternatives for reference.

2. Upload E-book File

  1. Click "Select EPUB or PDF File" button
  2. Choose the e-book file to process
  3. Supported formats: .epub, .pdf

3. Configure Processing Options

Set processing parameters in the configuration dialog:

Processing Mode

  • Text Summary Mode: Suitable for scenarios requiring text summaries
  • Chapter Mind Map Mode: Generate independent mind maps for each chapter
  • Whole Book Mind Map Mode: Generate unified mind map for the entire book

Book Type

  • Fiction: Suitable for novels and story books
  • Non-fiction: Suitable for textbooks, reference books, technical books, etc.

Advanced Options

  • Smart Chapter Detection: When enabled, uses AI to intelligently identify chapter boundaries
  • Skip Irrelevant Chapters: Automatically skip prefaces, table of contents, acknowledgments, etc.
  • Sub-chapter Depth: Set the hierarchy depth for extracting sub-chapters (0-3)

4. Extract Chapters

  1. Click "Extract Chapters" button
  2. System will automatically parse the file and extract chapter structure
  3. After extraction, chapter list will be displayed
  4. You can select chapters to process (all selected by default)

5. Start Processing

  1. Confirm selected chapters
  2. Click "Start Processing" button
  3. System will display processing progress and current steps
  4. Results will be shown after completion

6. View Results

Depending on the selected processing mode, you can view different types of results:

Text Summary Mode

  • Chapter Summaries: Detailed summary of each chapter
  • Chapter Relationships: Analysis of logical relationships between chapters
  • Book Summary: Core content summary of the entire book

Mind Map Mode

  • Interactive Mind Maps: Zoomable, draggable mind maps
  • Node Details: Click nodes to view detailed content
  • Export Function: Support exporting as images or other formats

🛠️ Technical Architecture

Core Technology Stack

  • Frontend Framework: React 19 + TypeScript
  • Build Tool: Vite
  • Styling: Tailwind CSS + shadcn/ui
  • State Management: Zustand
  • File Parsing:
    • EPUB: @smoores/epub + epubjs
    • PDF: pdfjs-dist
  • Mind Maps: mind-elixir
  • AI Services:
    • Google Gemini: @google/generative-ai
    • OpenAI: Custom implementation

📄 License

This project is licensed under the MIT License. See LICENSE file for details.

🙏 Acknowledgments

Thanks to the following open source projects:


For questions or suggestions, please submit an Issue or contact the developer (WeChat👇)

WeChat

About

No description, topics, or website provided.
1011.00 KiB
0 forks0 stars1 branches0 TagREADMEMIT license
Language
TypeScript97.8%
CSS1.3%
Shell0.6%
JavaScript0.2%
Others0.1%