Settings

Theme

Show HN: Kindling – reverse-engineered kindlegen, ~7,000x faster in Rust

github.com

2 points by ciscoriordan a month ago · 1 comment · 1 min read

Reader

Amazon has been slowly killing kindlegen since 2020. First they dropped the Linux binary, then stopped distributing the standalone CLI entirely. The only copy left is hidden inside Kindle Previewer 3. Most people building Kindle dictionaries have been getting by with unsupported copies from older installations.

Amazon has moved a lot to EPUB. But sideloaded dictionaries still require MOBI. There's no alternative format for custom Kindle dictionaries.

The MOBI dictionary format is barely documented by Amazon, and the MobileRead wiki has partial community documentation, but a lot of the dictionary-specific format had to be reverse-engineered from kindlegen's output byte by byte.

I was building a Greek dictionary with 80K headwords and 452K inflected forms, and kindlegen couldn't handle it - 12+ hours on a Mac under Rosetta, frequently running out of memory and crashing before finishing. Kindling builds the same dictionary in 6 seconds.

Binaries for Mac, Linux, Windows: https://github.com/ciscoriordan/kindling

seam_carver a month ago

This is good stuff, hopefully kindlegen becomes native in macOS 28

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection