A modified pathagar bookserver for fimfiction ebooks
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 66 commits ahead, 139 commits behind PathagarBooks:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
books
fimfic_opds
static/images
.gitignore
AUTHORS
COPYING
README.mkd
manage.py

README.mkd

Introduction

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.

Requirements

Python dependencies

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

Quickstart

  • Edit settings.py to suite your needs and environment.

    It is crucial to change CLIENT_ID and CLIENT_SECRET to 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

OPDS

This server adheres to the OPDS specification:

http://opds-spec.org

License

GPLv2