https://github.com/plateaukao/ebpub_text_search_server
A simple flask-based webserver to search epub texts from local calibredb and epub files.
https://github.com/plateaukao/ebpub_text_search_server
Last synced: about 2 months ago
JSON representation
A simple flask-based webserver to search epub texts from local calibredb and epub files.
- Host: GitHub
- URL: https://github.com/plateaukao/ebpub_text_search_server
- Owner: plateaukao
- Created: 2021-01-10T11:56:17.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-15T13:44:23.000Z (over 4 years ago)
- Last Synced: 2025-02-14T22:52:22.474Z (8 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What is it
A webserver to search epub file text with calibre installed
# Feature
* Search texts inside epub files that are tracked by calibre app
* Filter by tag name in epub metadata
* Configure how much context should be displayed.# Installation
1. Make suer calibre is installed, and all its binary commanline executables are available in PATH, especially `calibredb`.
2. Run `pip3 install -r requirements.txt`
3. Run `python3 app.py` and it will run the web server locally at port 5000.
4. Use browser to open `127.0.0.1:5000` and now, you can search text and see the results in the webpage.## Credits
The main logic of finding texts inside epub is from https://github.com/Grollicus/epubgrep.py/blob/master/epubgrep.py with some modifications to suit my needs.