Skip to content

Opti-mod/OptiUpdated

 
 

Repository files navigation

Opti

An optimized Discord mobile experience. A fork of Bunny.

Installing

Android

iOS

Building

  1. Install an Opti loader with loader config support (any mentioned in the Installing section).
  2. Go to Settings > General and enable Developer Settings.
  3. Clone the repo:
    git clone https://github.com/Opti-mod/Opti
    
  4. Install dependencies (if pnpm is not installed already, run npm i pnpm --global first.):
    pnpm i
    
  5. Build Opti's code:
    pnpm build
    
  6. In the newly created dist directory, run a HTTP server. I recommend http-server.
  7. Go to Settings > Developer enabled earlier. Enable Load from custom url and input the IP address and port of the server (e.g. http://192.168.1.236:4040/bunny.js) in the new input box labelled Bunny URL.
  8. Restart Discord. Upon reload, you should notice that your device will download Bunny's bundled code from your server, rather than GitHub.
  9. Make your changes, rebuild, reload, go wild!

Alternatively, you can directly serve the bundled code by running pnpm serve. bunny.js will be served on your local address under the port 4040. You will then insert http://<local ip address>:4040/bunny.js as a custom url and reload. Whenever you restart your mobile client, the script will rebuild the bundle as your client fetches it.

About

An optimized Discord mobile experience.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.1%
  • JavaScript 2.9%