1.4 KiB
1.4 KiB
Pupu
A mod for Discord on Android
Installing
- Root with Xposed - PupuXposed
- Non-root - PupuManager
Building
- Install a Pupu loader with loader config support (any mentioned in the Installing section).
- Go to Settings > General and enable Developer Settings.
- Clone the repo:
git clone https://github.com/C0C0B01/Pupu - Install dependencies:
pnpm i - Build Pupu's code:
pnpm build - In the newly created
distdirectory, run a HTTP server. I recommend http-server. - Go to Settings > Developer enabled earlier. Enable
Load from custom urland input the IP address and port of the server (e.g.http://192.168.1.236:4040/pupu.js) in the new input box labelledPupu URL. - Restart Discord. Upon reload, you should notice that your device will download Pupu's bundled code from your server, rather than GitHub.
- Make your changes, rebuild, reload, go wild!
Alternatively, you can directly serve the bundled code by running pnpm serve. pupu.js will be served on your local address under the port 4040. You will then insert http://<local ip address>:4040/pupu.js as a custom url and reload. Whenever you restart your mobile client, the script will rebuild the bundle as your client fetches it.