I replaced the wikipedia mini window in the default reader app, with Generative AI like ChatGPT and Gemini
- I injected custom classes in wikipedia.jar file that change the wikipedia url to a custom url. The url is set by editing a file.
- I wrote a simple cloudflare server that receives the Kindle's requests and forwards them to any API of my choice (ChatGPT, Gemini...). The prompt is set as an environment variable that I can edit from my phone / computer.
Development screenshots:
I will document my discoveries and publish them, in the future when I have some free time.