Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Pathagar is a simple bookserver serving OPDS feeds

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 books
Octocat-spinner-32 static_media
Octocat-spinner-32 templates
Octocat-spinner-32 .gitignore
Octocat-spinner-32 AUTHORS
Octocat-spinner-32 COPYING
Octocat-spinner-32 README
Octocat-spinner-32 TODO

Pathagar is a simple book server.  It uses the OPDS spec:

Books can be added via the admin interface, as well as via the command
line, in batch (using CSV files, JSON files or a directory with EPUB
files), through the command:

  python addbooks
  python addepub

Format of CSV file

To add books from a CSV file:

  python addbooks books.csv

The format of the CSV file is like:
  "Path to ebook file","Title","Author","Description"

If you need to add more fields, please use the JSON file.

Format of JSON file

To add books from a JSON file:
  python addbooks --json books.json

The format of the JSON file is like::
      "book_path": "Path to ebook file",
      "a_title": "Title",
      "a_author": "Author",
      "a_status": "Published",
      "a_summary": "Description",
      "tags": "set, of, tags"

You can add more fields.  Please refer to the Book model.


* django-tagging
* django-sendfile


* Install Django.  Pathagar is known to be working in Django 1.3,
  but it may work in 1.2.  This should work:

    easy_install Django

* Install dependencies,

    easy_install django-tagging
    easy_install django-sendfile

* In the Pathagar folder edit to suite your needs and

* In the Pathagar folder, run

    python syncdb

  You will be asked to create an admin user during this stage.

* To run the server, run

   python runserver

  This starts a server listening on localhost, port 8000

* With your browser, access http://localhost:8000 and see if the index
  page comes up. If it comes up, click on "Add books" in the footer to
  start adding books. You will be asked for a username/password. This is
  the admin username/password you supplied while running syncdb.

  NOTE: You can also mass add books via the command line through CSV files
        or by simply pointing to a directory with a set of EPUB files.

* To run the server in a production environment, look at Django deployment
  docs at :
Something went wrong with that request. Please try again.