05-07-2023, 08:33 AM | #1 |
Enthusiast
Posts: 27
Karma: 98490
Join Date: Oct 2011
Device: KINDLE 3
|
Is it possible to develop a ChatGPT client for Kindle?
Is it possible to develop a ChatGPT client for Kindle? While there are numerous ChatGPT apps available for mobile and desktop devices, I have yet to find one that is compatible with the Kindle. Although the Kindle does have an experimental web browser mode, it is unable to properly render the ChatGPT webpage, resulting in a blank page when attempting to access "chat.openai.com." It would be greatly appreciated if someone could create a ChatGPT client that is compatible with the Kindle, whether it be in the form of a KUAL extension or any other suitable method. Last edited by cdhigh; 05-07-2023 at 08:41 AM. |
05-07-2023, 02:27 PM | #2 | |
Connoisseur
Posts: 86
Karma: 25554
Join Date: Sep 2022
Device: PW3, PW2, KT2, 2xKT, 2xK3G
|
Quote:
Personally, I've set up a telnet server that I can connect to from any of my devices, including my kindle from Kterm. It works quite well. You can check it out here. |
|
Advert | |
|
05-07-2023, 05:43 PM | #4 |
BLAM!
Posts: 13,479
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
|
05-07-2023, 09:54 PM | #5 |
Connoisseur
Posts: 86
Karma: 25554
Join Date: Sep 2022
Device: PW3, PW2, KT2, 2xKT, 2xK3G
|
|
Advert | |
|
06-22-2023, 08:26 AM | #6 | |
Enthusiast
Posts: 27
Karma: 98490
Join Date: Oct 2011
Device: KINDLE 3
|
Quote:
It took me a long time to response, but I finally replaced my non-jailbroken Kindle8 with a jailbreakable PW2. When I tried this solution, I encountered some issues. Here's steps: 1. Jailbreak 2. Installing KUAL, Usbnetwork, kterm 3. Download bash-gpt, execute and encountered an error in kterm: line 137: syntax error: bad substitution 4. Then, I did some more searching and found another script called ai-bash-gpt, but it still has same error: line 103: syntax error: unexpected redirection I have no knowledge of Linux and Bash, so I have no idea how to fix it. edited: some code lines around line137 in bash-gpt: Code:
133 bash_gpt_save_message() { 134 role="$1" 135 shift 136 content=$(echo "$@" | tr -d '\n') 137 content="${content@Q}" 138 content=$(echo "${content:1:-1}" | jq -R -s '.') # | sed 's/[$`]/\\&/g') 139 filepath=$(bash_gpt_subject_file $BASH_GPT_SUBJECT) 140 echo "{\"role\": \"$role\", \"content\": ${content}}" >> "$filepath" 141 } Code:
103 input=$(jq ".[-$CONVERSATION_BUFFER_LEN:]" <<<"$@") 104 while true; do 105 msg_buf_size=$(wc -c <<<"$input" | numfmt --to=iec) Last edited by cdhigh; 06-22-2023 at 08:34 AM. |
|
06-23-2023, 04:09 PM | #7 |
Enthusiast
Posts: 27
Karma: 98490
Join Date: Oct 2011
Device: KINDLE 3
|
After a period of struggle, I finally managed to run ChatGPT successfully on Kindle. Here are the steps I followed:
1. Download the Bash file and copy it to the root directory of kindle (/mnt/us). 2. Modify the header of the AI bash script file to #!/mnt/us/bash. here's the modified file, there might be some issues as I'm not familiar with Bash, so... ai.zip also, you can edit menu.json of kterm extension to add a menu item in KUAL, it will like a real app. kterm_menu_ai.zip Last edited by cdhigh; 06-24-2023 at 03:38 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
E-Mail client (read/send messages) app for PocketBook. or webmail? | pb611 | PocketBook Developer's Corner | 9 | 04-06-2013 01:12 PM |
Kobo to develop app independent of Apple? | OneandonlyDoc | Kobo Reader | 5 | 07-27-2011 12:37 PM |
Android Juniper Networks releases Android client app for its SSL VPN hardware | brauckmiller | enTourage Archive | 2 | 11-03-2010 04:23 PM |
Android Remote Desktop Connection app (RDP client) | borisb | enTourage Archive | 0 | 05-13-2010 06:48 PM |