the end goal here is to have a usable discord client for KaiOS, I have no plans on fully replicating a discord client.
npm run dev builds the app in watch mode and serves the site. Great for testing the app in a desktop browser. CORS may or may not work properly on non-KaiOS devices, please use a browser extension.
First, we want to install a version of firefox that includes the WebIDE system, as it has been discontinued in the latest versions. We can get this in firefox version < 56 or with Waterfox Classic, what i would recommend and what this guide will be build on
Now, after opening waterfox legacy we want to head over to: the menu icon, top right » Developer » WebIDE
After opening the WebIDE you should be able to see your device on the top right
If it does not show up make sure your phone is in debug mode by calling *#*#33284#*#* or join the discord server and we can try to help you get setup
Click your device to select it and then we are ready to prepare the app for installation
- Clone the reposetorry using
git clone https://github.com/cyan-2048/Discord4KaiOS npm installinstall dependencies, run it when package.json is modified or if you are building for the first time.npm run build
Now with the packaged app in hand head over to the Open packed app section and select the /dist folder we build before.
And now with the app loaded, all we need to do is deply it to the phone, click the little "play" arrow at the top
You should see the app being installed and the discord loading gif start playing.
To complete the installation we need to login to the app, here we click the app under RUNTIME APPS. You will see the developer tools come up, simply find the div with the loading id and delete it.
This will reveal the login screen for you to sign in :D
(stuff mentioned here are libraries where the code was modified)
- luke-chang/js-spatial-navigation MPLv2
- garredow/kaios-lib MIT
- smoothscroll-polyfill MIT
- ustccjw/unhandled-rejection-polyfill MIT
- SkeuoCord (I asked for permission)



