Skip to content

Flask wrapper for JNCEP CLI, enabling EPUB creation through HTTP requests

License

Notifications You must be signed in to change notification settings

hayden-greener/jncep-web-service

Repository files navigation

JNCEP Web Service

This Flask-based application opens the JNCEP utility up to simple HTTP requests. It can easily be spun up using Docker Compose.

Credits

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.

Quickstart

To get started, ensure you have Docker and Docker Compose installed on your system, then follow these steps:

  1. Clone the repository:
git clone https://github.com/itslightmind/jncep-web-service.git
  1. Navigate to the project directory:
cd jncep-web-service
  1. Build and run the container:
docker-compose up --build

The service will be available by default at http://localhost:5000.

Generate an EPUB

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"}'

Generate an EPUB with Specific Parts

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"}'

Download latest volumes/parts

curl http://localhost:5000/sync

List Tracked Items

curl http://localhost:5000/list

Update tracked series

curl http://localhost:5000/track

Visit to download the epubs

http://localhost:5000/

About

Flask wrapper for JNCEP CLI, enabling EPUB creation through HTTP requests

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published