logicguy1 / Discord4KaiOS

Discord-KaiOS-Unofficial but svelte

Repository from Github https://github.comlogicguy1/Discord4KaiOSRepository from Github https://github.comlogicguy1/Discord4KaiOS

Discord server

the end goal here is to have a usable discord client for KaiOS, I have no plans on fully replicating a discord client.

Development and testing

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.

Deploying to a device

Setting up WebIDE and connecting to a device

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

Creating a build of the client

  1. Clone the reposetorry using git clone https://github.com/cyan-2048/Discord4KaiOS
  2. npm install install dependencies, run it when package.json is modified or if you are building for the first time.
  3. npm run build

Installing the build on the phone

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.

Post install

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

Credit

(stuff mentioned here are libraries where the code was modified)

Special Thanks!

About

Discord-KaiOS-Unofficial but svelte

License:GNU General Public License v3.0


Languages

Language:Svelte 62.4%Language:JavaScript 34.5%Language:TypeScript 2.4%Language:CSS 0.3%Language:SCSS 0.3%Language:HTML 0.2%