2fb5d4ae0a4987456705a73776808a15a81627e6
- Added height, width, and quality fields to AnkiConnect settings. - Updated imageToWebp and getCroppedImg functions to accept settings for resizing and quality. - Integrated settings into Cropper and QuickActions components for improved image handling. Reason Note: The recommended settings of 200 and 0.5 make average file sizes of around 5kb. This is about the same filesize as the audio for a given word. With maximum quality and no file size limit, an image size of 1200x1800 pixels is around 1mb. This means 1,000 words mined with full sized pictures takes up a 1gb of space on anki. With the recommended settings, it would take 200,000 words mined to take up a GB of space on anki. These quality settings can be disabled by settings the max quality to 1 and max width and height to 0. The user is in full control of these changes.
Mokuro reader
An online reader, gallery and stat tracker for mokuro processed manga.
https://github.com/ZXY101/mokuro-reader/assets/39561296/45a214a8-3f69-461c-87d7-25b17dea3060
Features:
- Stat tracking (volumes read, pages read, characters read & minutes read)
- Extensive customization and profile support
- Anki connect integration & image cropping
- Installation and offline support
Usage:
You can find the reader hosted here.
To import your manga, process it with mokuro and then upload your manga along with the generated .mokuro file.
As of the moment base mokuro does not generate the .mokuro file, you need to install and use mokuro 0.2.0-beta.6.
pip install git+https://github.com/kha-white/mokuro.git@web-reader
Once installed and your manga is processed, import your manga into the reader.
Development:
Clone the repo:
git clone https://github.com/ZXY101/mokuro-reader
cd mokuro-reader
Install dependencies:
npm install
Start the dev server:
npm run dev
Languages
Svelte
62.3%
TypeScript
33.5%
JavaScript
2.7%
Dockerfile
0.7%
HTML
0.7%