This is a heavily modified Pathagar book server made using the Django framework. It is designed to - only - serve fimfiction.net ebook meta-data using the fimfiction.net api v2. It focuses on OPDS views. HTML views and book management are removed.
See the orginal code this project is based on.
This project depends on an online fimfic2epub service.
Run the following commands. You might need to run it as administrator if your packages are stored in a privileged place.
pip install "django>=1.11.4" pip install "oauthlib>=2.0.2" pip install "requests_oauthlib>=0.8.0" pip install "jsonapi_requests>=0.3.2" pip install "ciso8601>=1.0.3" #ISO 8601 datetime parser
Edit settings.py to suite your needs and environment.
It is crucial to change
CLIENT_SECRETto valid values obtained from a fimfiction site admin.
To run the server in development mode, run
python manage.py runserver
This starts a server listening on localhost, port 8000
With your browser, access http://localhost:8000/fimfic/opds/
To run the server in a production environment, look at Django deployment docs
This server adheres to the OPDS specification: