Viewable at https://robmcelhinney.github.io/MiddleEarthSearch/
Attempted to make this website so that it could solely be hosted by Github, no need to use an external database or any server side code, a static webpage only.
$ git clone [email protected]:robmcelhinney/MiddleEarthSearch.git
$ cd MiddleEarthSearch
$ npm install
$ npm start
$ npm run build
The script does require a text file so you may need to run the following command to create a txt file from an epub.
$ python epub-to-json.py -d books -f The-Fellowship-of-the-Ring.epub
Store any books in the books/ directory as .txt files. e.g. ["The-Fellowship-of-the-Ring.txt", "The-Twin-Towers.txt", "Return-of-the-King.txt"]
Python 3 must be installed.
$ python convert-to-json.py
View the docker branch of this repo.
-
Store book data in sqlite database rather than in json but keep sqlite parsing limited to the client.
-
Add tests.
- Inspiration: http://asearchoficeandfire.com/
- Already created: https://github.com/robmcelhinney/A-Song-Of-Ice-And-Fire-Search made using PHP and a MySQL database.