crycord

Crycord is a modular Discord Client Mod written in Crystal.

Uses asar-cr.

Installation

You can download the statically linked build from the releases page!

Building

  1. shards install
  2. crystal build --release

Note: Static builds can only be built in AlpineLinux

Usage

$ crycord -h

Crycord v1.3.2
Usage:
    crycord [arguments]
    
Examples:
    crycord -c ./Downloads/style.css

Arguments:
    -v, --version                    Show version
    -h, --help                       Show help
    -l, --list                       Lists all available plugin groups & plugins
    -r, --revert                     Reverts back to original asar
    -p PLUGINS, --plugins=PLUGINS    Selects the plugin(s) to install. Split multiple groups with commas(,).
    -c CSS_PATH, --css=CSS_PATH      Sets CSS location
    -f CORE_ASAR_PATH, --force=CORE_ASAR_PATH
                                     Forces an asar path
    -g PLUGIN_GROUP, --group=PLUGIN_GROUP
                                     Selects the plugin group(s) to install. Split multiple groups with commas(,).
$ crycord -c ./Downloads/style.css

Flatpak Detected:
Make sure it has access to your CSS file
Usually ~/Downloads is accessible
Extracting core.asar...
Installing enable_css...
Installing enable_https...
Packing core.asar...
Done!
Restart Discord to see the results!

GUI

There's a GTK GUI for Crycord on Crycord-GUI

Plugins

| Name | Group | Description | Maintainer | | :-----------------: | :---: | :------------------------: | :--------: | | enable_https | core | Disables CSP | GeopJr | | enable_css | core | Enables css injection | GeopJr | | unrestricted_resize | extra | Removes window size limits | GeopJr | | enable_web_tools | extra | Enables web tools on Discord stable | GeopJr |

To enable groups of plugins use $ crycord -g core,extra -c /path/to/css

Note: core is enabled by default so there's no need to include it.

Benchmarks

Crycord:

$ time crycord -c ~/Downloads/style.css
...

real	0m2,942s
user	0m2,932s
sys	0m0,462s

BeautifulDiscord:

$ time python3 -m beautifuldiscord --css ~/Downloads/style.css
...

real	0m4,593s
user	0m2,026s
sys	0m2,381s

(Laggy) Gifs

install restore hotreload

WARNING

Sponsors

GeopJr Sponsors

Contributing

  1. Read the Code of Conduct
  2. Fork it (https://github.com/GeopJr/crycord/fork)
  3. Create your feature branch (git checkout -b my-new-feature)
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create a new Pull Request