Open-source alternative of Discord desktop's app.asar [experimental WIP] (MIRROR OF
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Oj 39b0aa13dc
[Utils > argv] Initial Add
2 years ago
.github/workflows [CI] Disable nightly minified builds again 2 years ago
polyfills [Polyfill > Request] Don't set encoding of response 2 years ago
scripts [Scripts] Add basic install script for testing 2 years ago
src [Utils > argv] Initial Add 2 years ago
.gitignore [Gitignore] More specific package-lock.json ignore 2 years ago
LICENSE Initial commit 2 years ago [Readme] Tweak performance feat and make FAQ more obvious 2 years ago [Changelog] Tweak v0.3 2 years ago [FAQ] Add snappier info, reorder some 2 years ago [Roadmap] Add and tweak v2.0 2 years ago


An experimental open-source alternative of Discord desktop's app.asar


  • 🚀 Startup Speed: ~2x faster startup times (up to ~4x with experimental config)
  • 📈 Performance: OpenAsar can make your client feel snappier (scrolling, switching channels, etc)
  • 🖌️ Splash Theming: Easy theming for your splash which works with most themes for any client mod
  • 🔌 Hotpluggable: Replace one file and it's installed, that's it (same with uninstall)
  • ⚙️ Configurable: Adds many config options for Discord and OpenAsar enhancements (see config section)
  • 🪶 Lightweight: <2% of Discord's original size (9mb -> ~150kb)
  • 🛡️ No Tracking: Removes Discord's built-in tracking for crashes and errors

See FAQ for more details

Install Guide

  1. Download latest nightly release
  2. Find your app.asar, it should be <where the Discord exe is>/resources/app.asar. For Windows this is like: %localappdata%\Discord\app-1.0.9003\resources\app.asar (your app folder may have a different version)
  3. Backup your original app.asar (rename to app.asar.backup / etc)
  4. Install OpenAsar app.asar into the original path (you may need to be root on Linux)
  5. Restart Discord via system tray (you should notice Discord start faster as a way to see if it's instantly working)


You can configure OpenAsar via settings.json (found in your Discord app data / user data), under a openasar object. Keep in mind most options are defaults for good reason.

OpenAsar Options

  • quickstart (bool, default false) - whether to use Quickstart (experimental)
  • themeSync (bool, default true) - syncs your modded client's theme with splash theming
  • autoupdate (bool, default true) - whether to autoupdate OpenAsar after Discord startup
  • updatePrompt (bool, default false) - whether to show update prompt after updating OpenAsar
  • splashText (bool, default true) - whether to show bottom right version info text in splash
  • ssoeAllowlist (bool, default true) - whether to use safer custom method of opening external urls (true) or normal Discord's method (false)

Extra Discord Options

  • multiInstance (bool, default false) - whether to enable multi-instance
  • skipStartupUpdateChecks (bool, default false) - skips startup update checking (Linux-only)

An example of a settings.json with OpenAsar config:

  "BACKGROUND_COLOR": "#202225",
  "IS_MAXIMIZED": false,
  "IS_MINIMIZED": false,
    "x": 801,
    "y": 22,
    "width": 797,
    "height": 876
  "MINIMIZE_TO_TRAY": false,
  "OPEN_ON_STARTUP": false,
  "openasar": {
    "quickstart": true

Additionally there are some environmental variables you can use:

  • OPENASAR_QUICKSTART (bool, default false) - same as quickstart config option
  • OPENASAR_NOSTART (bool, default false) - if enabled halts starting after splash loads (for splash testing)