Skip to content

Instantly share code, notes, and snippets.

@fffx
Last active May 12, 2025 19:37
Show Gist options
  • Save fffx/970e1dbc73c299007aef8f7801baa54e to your computer and use it in GitHub Desktop.
Save fffx/970e1dbc73c299007aef8f7801baa54e to your computer and use it in GitHub Desktop.
Kobo reader notes

covert mdx dictionary to kobo dict format with pyglossary

  1. Put your the mdx and mdd files to the same folder, pyglossary would pick up the mdd file automatically

  2. covert

pyglossary  --write-format=Kobo  some.mdx  dicthtml-dict-name.zip

  1. copy it to .kobo/custom-dict

note: the name must start with dicthtml- and end with .zip, the middle part doesn't matter.

add webdav config through config file

You can find the file in KOBOeReader/.adds/koreader/settings/cloudstorage.lua

-- ./settings/cloudstorage.lua
return {
    ["cs_servers"] = {
        [1] = {
            ["address"] = "https://...",
            ["name"] = "tera",
            ["username"] = "",
            ["password"] = "<password>",
            ["type"] = "webdav",
            ["url"] = "/koreader",
        },
    },
    ["download_dir"] = "/mnt/onboard",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment