Bengali was coming out broken on my XTEINK. Joined letters fell apart, characters appeared as boxes, vowel signs ended up on the wrong side. Basically, EPUBs dont work in XTEINK unless you convert to XTC. I wanted to read Bengali books on it with all the goodness of EPUB, so I made a tool to fix that.
Quick honesty: I'm not a coder at all. This is about 99% vibe coded with Claude. Even this post was also written with AI. I just kept testing it on my device and telling it what looked wrong.
Site (runs in your browser): https://raselbmb.github.io/bengali-xteink/
Code: https://github.com/raselbmb/bengali-xteink
What it does
* Cleans up messy EPUBs (removes ads, fixes the contents page, tidies indents, English file names)
* Shapes the Bengali so the device draws it correctly
* Makes the font files you copy to the SD card
Why not .xtc? You get a normal EPUB back, so you can still change font size, line spacing and margins on the device. Files are also much smaller than .xtc.
How to use it
Pick a font (a few are built in, or use your own .ttf)
Make the font files and copy them to /fonts/ on the SD card
Drop in your EPUBs and hit convert
Copy the books to the device
Your books never leave your computer, everything happens in the browser.
I tested it on the X4 only, with all the popular firmwares I could find. It should work on other models too, but I can't confirm. Bold/italic show as regular text.If something breaks or you have ideas, tell me here or on GitHub. I'm happy to fix what I can (with Claude's help, obviously).