View Single Post
Old 01-01-2025, 03:36 PM   #1
cdhigh
Enthusiast
cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.
 
Posts: 41
Karma: 333334
Join Date: Oct 2011
Device: KINDLE 3
Inkwell - Kindle AI Assistant

In the era of AI, I believe every screen deserves to connect with AI. Based on this idea, I developed Inkwell.
This is a script running on kterm that enhances Kindle's AI connectivity while aligning with Kindle's primary goal: reading and learning.



TLDR: With the Go version, just jailbreak your Kindle and install KUAL.
Extract the binary to /mnt/us and it’s ready to use.

The Python version requires Python 3 installed beforehand.


Key Features:
1. Supports displaying formatted Markdown text in the terminal.
2. Enables AI-powered summarization and interactive learning based on Kindle reading highlights and notes (My Clippings).
3. Allows exporting conversation history as well-formatted eBooks or sending it via email.
4. Supports OpenAI, Google, XAI, Anthropic, Mistral, Groq, Perplexity, and Alibaba.
5. Handles multiple API keys and servers with automatic rotation.

Installation:
1. Ensure your Kindle is jailbroken and has KUAL and Python3 (if python version is used) installed.
2. Extract inkwell.zip to the Kindle's root directory (/mnt/us). You don't need to install Kterm; it's already included in this package.
3. since 1.6, a Go lang port is also provided, no longer depends on Python, offering better startup speed and lower memory usage.
3.1. inkwell-go.zip: For firmware versions below 5.16.3
3.2. inkwell-go-hf.zip: For firmware versions 5.16.3 and above

Configuration:
There are two ways to configure Inkwell:
1. Open the config.json file in the Inkwell directory on your computer, edit the fields, and copy it back to your Kindle.
2. Select Inkwell Setup from the KUAL menu and follow the wizard. Simply press Enter for any unclear steps.


Of course, this script not only supports Kindle but can also run on any device as long as Python is installed.

For more details, visit my GitHub repository.

--
Attached Thumbnails
Click image for larger version

Name:	scr2.png
Views:	264
Size:	57.1 KB
ID:	212750   Click image for larger version

Name:	scr3.png
Views:	187
Size:	46.1 KB
ID:	212751   Click image for larger version

Name:	scr4.png
Views:	171
Size:	43.8 KB
ID:	212752   Click image for larger version

Name:	scr5.png
Views:	171
Size:	53.0 KB
ID:	212753   Click image for larger version

Name:	scr6.png
Views:	193
Size:	45.3 KB
ID:	212755  
Attached Files
File Type: zip inkwell-v1.6.1-python.zip (447.5 KB, 18 views)
File Type: zip inkwell-v1.6.1-python-hf.zip (442.9 KB, 19 views)
File Type: zip inkwell-v1.6.1-go.zip (2.85 MB, 23 views)
File Type: zip inkwell-v1.6.1-go-hf.zip (2.83 MB, 30 views)

Last edited by cdhigh; 06-19-2025 at 08:27 AM.
cdhigh is offline   Reply With Quote