Skip to content
HnDK0Public

About

Open-source Android reader for novels, manga and video: Lua-plugin sources, in-reader LLM translation, TTS with background playback, offline downloads, EPUB/FB2 library.

Topics

Resources

Contributing

Security policy

Stars

19 stars

Watchers

2 watching

Forks

Repository files navigation

MiruTime

MiruTime

Free and open source reader for novels, manga and video on Android.

🇬🇧 English · 🇷🇺 Русский

Release Downloads License: GPL-3.0 Android 8.0+

Warning

⭐️ If you find MiruTime useful, please consider giving it a star! It helps the project grow.


Download

Get the latest APK — requires Android 8.0+

Each release ships two APKs: arm64-v8a for most devices and universal for the rest.

Or build from source:

git clone https://github.com/HnDK0/MiruTime
# Open in Android Studio and run on a device or emulator

Features

  • Sources as Lua plugins, installed from a repository or a local .lua file
  • Source catalog with filters, pinned sources and search
  • Local EPUB, FB2, TXT and PDF library — single books or bulk import; PDFs read page by page
  • OPDS catalogues as library sources — Atom 1.2 (XML) and OPDS 2.0 (JSON), with facets, search, paging and optional Basic auth
  • Audiobooks from OPDS catalogues — streamed track by track in the player, with saved progress
  • Reader with font, theme, background and line-spacing settings
  • In-reader translation with standard and parallel (original next to translation) modes
  • Translation for a single book or selected chapters without touching global settings
  • Translation queue for downloaded chapters
  • Text-to-speech with background playback and player controls
  • Manga reader with a size-capped page cache
  • Video player with working-source selection and video downloads
  • Download manager: queue, progress and per-type storage cleanup
  • Background library updates and in-app update checks
  • Regex text cleanup with preview and rule import/export
  • Book migration between sources with progress, text and translations
  • Backup and restore: manual and scheduled, with backup merging
  • Import of NoveLA backup files
  • Shelves and library updates, dashboard with reading activity
  • EPUB export from the book screen
  • Eleven interface languages: English, Russian, Spanish, Portuguese, French, German, Italian, Turkish, Vietnamese, Indonesian and Arabic
  • Light and dark themes, Material 3

Local formats and size limits

Each format has its own import cap because a different resource binds it. The numbers live in one place in the code (LocalLimits) and are mirrored here.

Format Import limit What bounds it
EPUB 128 MB Parsed entry by entry: a single entry is capped at 32 MB and images at 64 MB per book, so memory does not grow with the archive
FB2 64 MB Read whole into memory for XML parsing; the same cap the parser applies
TXT 128 MB Decoded while streaming: detection reads the first 64 KB, and memory holds one paragraph (up to 256k characters) plus one chapter (64k), so only disk bounds it
CBZ 512 MB Pages are read one at a time, 32 MB each; the cap sits below the point where storage alone would stop the import
PDF 512 MB Streamed to the isolated renderer; only a file descriptor and the rendered cover stay in memory

Import copies the file into a staging temp first; that temp is then moved into app storage, so the import needs about one extra copy of the file while it runs. A file above the limit, or one that does not fit, is rejected at import with a message naming the limit or the missing space.

Importing a folder of loose manga pages has no fixed size cap: pages are copied one at a time (32 MB per page) and the only bound is free storage.

Folders added as library sources are scanned for EPUB, FB2 and TXT; PDF files inside a folder are ignored — import those with the picker.

TXT encoding comes from the BOM or a strict UTF-8 check; otherwise it is detected from the first 64 KB — CP1251, CP1256, CP1252 and KOI8-R by letter statistics, Shift_JIS, EUC-KR, EUC-JP, Big5 and GB18030 by strict validation.


Translation

Supported backends:

Backend Cost API key
Google Translate (Enhanced) Free Not required
Google Translate (Simple) Free Not required
Google Gemini Pay per use Required
OpenAI Pay per use Required
OpenAI-compatible Varies by provider Required
Anthropic Pay per use Required
DeepL Free and Pro tiers Required
Yandex Cloud Translate Pay per use Required (key and folder ID)
Yandex Translate (unofficial) Free Not required
Yandex Browser Translation Free Not required

OpenAI-compatible mode works with OpenRouter, Mistral, DeepSeek, Ollama and any compatible endpoint, including local LLM servers on your network.

Parallel mode displays original and translated text side by side. The language pair is resolved as book → plugin → global settings.


Plugins

Sources are added as external Lua plugins from inside the app: Finder → Extensions → repository.

Official plugin repo: HnDK0/external-sources

A standalone .lua file can also be installed — it is validated before anything is saved.


📱 App interface

Dashboard and library

Dashboard Library Filters More screens

Sources, downloads and migration

Catalog (Finder) Extensions Downloads and cache Migration

Book details and novel reading

About the book Chapter list Text reader Text-to-speech (TTS)
Translation (LLM) Style and fonts Reading options

Manga and video player

Manga reader Manga settings Video player Player settings

Regex, updates and settings

Regex cleanup Updates Settings

Contributing

Contributions are always welcome — read CONTRIBUTING.md first:

  • ⭐️ Star the repository — the simplest way to support development.
  • 🐛 Report bugs or suggest improvements by opening an Issue.
  • 🧩 Fix bugs or add sources via Pull Requests (use the external-sources repo for Lua plugins).
  • 🔒 Report vulnerabilities privately via SECURITY.md, never in a public issue.

Tech stack

Kotlin · Coroutines · Jetpack Compose · Material 3 · Room (KMP) · Ktor · Ksoup · Coil 3 · LuaJ · WorkManager · Media3 · OkHttp · Android TTS & Media APIs

The project is split into modules: :app, :ui-kit, :feature-reader, :feature-tts, :core-reader-model, :mirutime-core, :mirutime-data, :translator, :core-log, :image-loader.


License

GPL-3.0

About

Open-source Android reader for novels, manga and video: Lua-plugin sources, in-reader LLM translation, TTS with background playback, offline downloads, EPUB/FB2 library.

Topics

Resources

Contributing

Security policy

Stars

19 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages