A modification for Discord mobile apps. (mirror)
Find a file
Beef 5344f0017a
[SafeMode] Initial implementation (#61)
* [UI > Components] Add Discord's button

* [SafeMode] Initial work, basic ErrorBoundary patch

* [SafeMode] Custom error boundary (#57)

* [SafeMode] Add mostly complete custom error boundary

* [SafeMode] Use Button from @ui/components in error boundary

* [SafeMode] Wrap the error boundary in our own error boundary

* [SafeMode > ErrorBoundary] Code-style changes

---------

Co-authored-by: Beef <beefers@riseup.net>

* [TS] Add basic type for Discord's button

* [UI] Move Codeblock to components, and use it

* [UI > Settings] Allow disabling the ErrorBoundary in CustomPage

* [UI > Settings] Move the ErrorBoundary triggers to Developer

* [TS] Add Codeblock to types

* [TS] Use ButtonColors in Button type

* [SafeMode > ErrorBoundary] Rework

* [UI] Add HelpMessage to components

* [SafeMode] Proper implementation

* [Global] SafeMode is optional (#59)

* [UI > Developer] Restore the balance

* [SafeMode > ErrorBoundary] Optimise for tablet UI

* [SafeMode] Last-minute fixes

---------

Co-authored-by: Jack <30497388+FieryFlames@users.noreply.github.com>
Co-authored-by: Jack Matthews <jm5112356@gmail.com>
2023-04-13 19:42:14 +01:00
.github/workflows [CI] Restrict builds to rewrite branch 2023-03-10 23:44:31 +00:00
src [SafeMode] Initial implementation (#61) 2023-04-13 19:42:14 +01:00
.gitignore [Meta] Ignore lockfiles 2023-02-04 18:50:54 +00:00
.prettierrc [Meta] Add prettier config 2023-02-04 02:27:36 +00:00
build.mjs [Init] Rework entrypoint file 2023-04-05 20:54:14 +01:00
LICENSE [Meta] LICENSE 2023-02-01 18:40:21 +00:00
package.json [Metro > Common] Add lodash to common modules 2023-03-22 21:24:55 +00:00
README.md [Meta] Add manager to README 2023-03-28 20:37:10 +01:00
tsconfig.json [Utils] Reorganise 2023-02-04 17:05:47 +00:00

Vendetta

A mod for Discord's mobile apps.

Installing

Vendetta's codebase is platform-agnostic, but you need a platform-specific loader.

Android

iOS

  • VendettaTweak
    • You can get prebuilt .deb files from GitHub Actions.
    • Both an IPA and an APT repo will be provided in future.

Contributing

  1. Install a Vendetta 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/vendetta-mod/Vendetta
    
  4. Install dependencies:

    pnpm i
    

    npm or yarn should also work.

  5. Build Vendetta's code:

    pnpm build
    

    npm or yarn should also work.

  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. e.g. http://192.168.1.236:4040) in the new input box labelled VENDETTA URL.

  8. Restart Discord. Upon reload, you should notice that your device will download Vendetta's bundled code from your server, rather than GitHub.

  9. Make your changes, rebuild, reload, go wild!