Building applications for Kindle has never been that easy. Now with ReactJS, you can build simple applications faster and easier.
NOTICE: Kindle firmware 5.12 and up is required
Download KUAL extension file for this demo: Go to release
Assume that you've already familiar with ReactJS.
- Make sure you have NodeJS installed on your machine. Version >= 14 is recommended.
- Copy this boilerplate to your workspace
- Open
package.json
and replacename
,waf_application_name
- Run
npm i
to install all dependencies - Run
npm run build
to build the KUAL package - Copy
build/your.app.id
to kindleextensions/your.app.id
- Open KUAL. Click on your app name.
Due to limitation from kindle's webkit engine, many features are not available:
- "Modern" web features: WebSocket, WebRTC,...
- "Modern" CSS features: flexbox, calc,...
window.prompt
(In fact, this is a TODO. The Experimental Web Browser actually handlealert
andprompt
by generating HTML content, then usekindle.chrome.createDialog
to display them on screen)kindle.filesystem
: used by system'shtmlviewer
package, but seems to be removed due to security reason
A production WAF will read HTML/JS/CSS files directly on your Kindle. However, imagine each time you want to change something, you will need to build, then copy the app to your Kindle.
This module allows connecting Kindle to ReactJS dev server running on a computer. Requirement: both Kindle and the computer are on the same network.
- Open
extensions/your.app.id/waf
- Rename
index.html
=>index.html.bk
- Open
index_debug.html
, replace the IP192.168.1.100
to you computer's local IP address - Rename
index_debug.html
=>index.html
- On computer, make sure dev server is up (or
npm start
) - Launch the app from KUAL
This project is made by ngxson