- Table of Contents
- About The Project
- Downloading / Installing
- Local build
- Roadmap
- Contributing
- License
- Acknowledgments
This project is a dictionary for the Warhammer 40k universe, based on the Lexicanum website. It is intended to be used on Kindles, but can be used on any device that supports MOBI files.
The dictionary is automatically generated after parsing and filtering a dump of allpages of the Lexicanum website. The dictionary is then converted into a MOBI file using Amazon's kindlegen.exe
tool.
It offers support for inflections, based on redirects of a page. For example, the page "Neverborn" redirects to "Daemon". By highlighting either word, one would be able to see the same definition.
You can also join the discord to keep up with updates and changes
In order to obtain the latest version of the dictionary, you can download the latest release here.
Connect your kindle via USB, open the documents
folder and paste the MOBI file into the dictionaries
folder. It should be available for use after that.
If you already have an older version and wish to update, simply delete the old MOBI file and paste the new one in its place. Then restart your Kindle.
Note that, the pre-releases are always the latest version of the dictionary, but may not be stable and can also have bigger filesizes due to no compression.
- cargo
cargo install
-
Clone the repo
git clone https://github.com/JCalebBR/LectitioLexicanus.git
-
Run
cargo run --release
to obtain the latest version of the Lexicanum Dump. This will create a file calledfiltered-output.jsonl
which will be used to create the dictionary. This will create a file calledcontent.html
in thedict
directory, which will be the contents of the dictionary.Note that this will take approximately 5 minutes
cargo run --release
-
Run
kindlegen.exe
to create the MOBI file. This will create a file calleddict.mobi
in thedict
directory, which will be the dictionary.kindlegen.exe dict/dict.opf -c2 -verbose -dont_append_source
- Reduce number of entries by associating entries with a parent entry. For example, "Theron (Planet)" and "Theron (Squad)" could be associated with "Theron (Ultramarines)".
- Add better formatting to the dictionary entries.
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the GNU GPLv3. See LICENSE.txt
for more information.
- Lexicanum - For hosting their wiki and making such a project possible
- Jake McCrary - For his insightful documentation on creating a Kindle dictionary.
- Games Workshop and The Black Library - For creating the Warhammer 40k universe.