This Flask-based application opens the JNCEP utility up to simple HTTP requests. It can easily be spun up using Docker Compose.
This project builds upon the work of JNCEP created by gvellut. The original repository can be found at gvellut/jncep. I'm thankful to gvellut since i've been using his code for maybe close to a year now. And i've only recent gotten around to swapping my own personal over to this system. This interface is also completely unaffiliated with J-Novel Club and is just a personal and or community project.
To get started, ensure you have Docker and Docker Compose installed on your system, then follow these steps:
- Clone the repository:
git clone https://github.com/itslightmind/jncep-web-service.git
- Navigate to the project directory:
cd jncep-web-service
- Build and run the container:
docker-compose up --build
The service will be available by default at http://localhost:5000
.
curl -X POST http://localhost:5000/generate-epub \
-H "Content-Type: application/json" \
-d '{"jnovel_club_url": "https://j-novel.club/series/ascendance-of-a-bookworm#volume-1"}'
curl -X POST http://localhost:5000/generate-epub \
-H "Content-Type: application/json" \
-d '{"jnovel_club_url": "https://j-novel.club/series/ascendance-of-a-bookworm#volume-1", "parts": "1-3"}'
curl http://localhost:5000/sync
curl http://localhost:5000/list
curl http://localhost:5000/track
http://localhost:5000/