Skip to content

With PyQt5 GUI. Support cover, outline and detect chapters that starts with specified characters.

License

Notifications You must be signed in to change notification settings

tracywong117/Text2Epub-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text2Epub-Converter

Demo

This is a simple GUI application that converts text files into EPUB format. It's built with PyQt5 and ebooklib.

Features

  • Drag and drop interface for text files and cover images
  • Create Epub with metadata (book title and author name)
  • Support detect chapters based on special characters

Installation

  1. Clone the repository
git clone https://github.com/yourusername/Text2Epub-Converter.git
  1. Navigate to the project directory:
cd Text2Epub-Converter
  1. Install the required packages:
pip install -r requirements.txt

Usage

python main.py

Drag and drop your text file and cover image into the designated areas. Enter the book title and author name. If your text file has chapters, check the "Detect chapters" box and enter the special characters that identify a chapter. Click "Convert to EPUB" to create your EPUB file.