Skip to content

About

Digital Pāḷi Dictionary for KOReader — long-press any Pāḷi word while reading on your e-reader to see its DPD entry

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

Digital Pāḷi Dictionary for KOReader

Latest release

Long-press a Pāḷi word to see its meanings, grammar and compound parts without leaving your book. This plugin brings the Digital Pāḷi Dictionary (DPD) into KOReader.

Install · Using it · User guide · Help

DPD in KOReader: compounds explained in one lookup, word senses, declension and conjugation tables, and typical 50 ms Kindle lookups

Highlights

  • Compounds, explained: a long compound's parts and their meanings in one lookup, with alternative analyses a tap away.
  • Every sense in one view: meanings in DPD's order, with grammar, examples and linked explanations.
  • Fast on Kindle: about 50 ms a lookup on a Paperwhite, plus the e-ink refresh.
  • Search in Pāḷi or English: labelled suggestions, optional diacritics and Velthuis keyboard input.
  • Explore further: inflection tables, frequency, suttas, roots, word families and other dictionaries.

Find any word: English to Pāḷi, spelling suggestions and Velthuis input

Go deeper: frequency, suttas, roots, other dictionaries and word families

Install

You need KOReader v2026.07 or newer and about 1.1 GB of free space. The plugin is tested on Kindle Paperwhite, inkBOOK Solaris (Android), macOS and Linux; KOReader also runs on Kobo and PocketBook.

  1. Plugin. Download dpd-koplugin-<version>.zip from the latest plugin release and extract it into koreader/plugins/, so this file exists:

    koreader/plugins/dpd.koplugin/main.lua
    
  2. Database. Download dpd-mobile-db.zip separately from the official DPD releases (about 200 MB). Extract it on your computer and copy dpd-mobile.db (about 1 GB) to:

    koreader/data/dpd/dpd-mobile.db
    

    Create data/dpd if needed. Keep the database outside the plugin folder. Its folder must be writable: DPD never modifies the database, but SQLite creates small -wal and -shm files beside it.

  3. Restart. Eject the device and restart KOReader. If external plugins are disabled, enable them under Plugin management and restart again.

  4. Check. Open Search → Digital Pāḷi Dictionary → Database → Database status. It should say Database ready. For a database elsewhere, use Database → Choose database file and long-press the .db file in its writable folder.

Using it

  • Long-press a word: DPD opens when it finds a match; otherwise your normal dictionary opens. For a long unrecorded Pāḷi word, DPD may offer the parts it recognises.
  • Tap ▸: expand a sense or compound analysis. Tap underlined text to open another entry, then Back to return with your place kept.
  • Look up a word: type a search from the DPD menu. Drag across a phrase in your book to use the selection menu's DPD button.
  • English books: turn off Open DPD on long-press in this book if English words open DPD. Your normal dictionary still offers a DPD button, which also finds the Pāḷi for an English word such as happiness.

For Pāḷi searches, diacritics and capitals are optional: Buddha finds buddha, nana suggests ñāṇa, and saṁ, saŋ and saṃ all match. See everyday reading for more.

Updating

From 0.3.0 or earlier: update manually once, using the steps below. The in-app updater is new in 0.3.1.

  • Plugin: open Help & updates → Check for updates in the DPD menu, choose Install, then restart KOReader. To update manually, exit KOReader, delete koreader/plugins/dpd.koplugin, extract the new plugin folder in its place and restart. Settings and recent lookups are kept.
  • Database: download and extract the new database separately. Exit KOReader, replace dpd-mobile.db, delete any dpd-mobile.db-wal and dpd-mobile.db-shm files beside it, then restart. Check Database status.

See plugin updates and database replacement for details.

Troubleshooting

  • DPD never opens: check Database → Database status, choose the extracted database with Choose database file, and check that external plugins are enabled.
  • A long-press picks only part of the word (as with bhikkhave’ti): drag across the whole word, or type it in Look up a word.
  • DPD is missing after an update: exit KOReader. If koreader/plugins/ contains dpd.koplugin.previous, delete any dpd.koplugin folder and rename dpd.koplugin.previous to dpd.koplugin, then restart. Otherwise install the plugin zip manually.
  • Something crashed or looks wrong: follow the diagnostic and recovery steps, then report the problem. Logs can contain lookup words and book paths; remove anything private before posting.

Uninstall

Exit KOReader, delete koreader/plugins/dpd.koplugin and restart. To remove the database and diagnostic log too, delete koreader/data/dpd/ (or the database you chose elsewhere).

Documentation

See the user guide and testing and feedback.

Contributing

Report an issue or start with the developer guide and KOReader test runbook. KOReader only loads plugin folders whose names end in .koplugin, so clone it under that name:

git clone https://github.com/digitalpalidictionary/dpd-koreader.git dpd.koplugin

Licensing and attribution

Plugin code: MIT. Digital Pāḷi Dictionary, © Bodhirasa Bhikkhu: CC BY-NC-SA 4.0, including dictionary material in screenshots and examples. The database is downloaded separately. See NOTICE for port permissions, screenshot provenance and other dictionary notices.

About

Digital Pāḷi Dictionary for KOReader — long-press any Pāḷi word while reading on your e-reader to see its DPD entry

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors

Languages