No description
Find a file
Vendicated a581197a27
FakeProfileThemes: fix crashes
This is quite a weird one. The old regex was causing issues for some users and even Stack overflow errors while
trying to parse the Regex??

Explanation from Claude:

The character classes here (\u{e0061}-\u{e0066}, \u{e0041}-\u{e0046}, \u{e0030}-\u{e0039}) are all in the Unicode Tags block (U+E0000–U+E007F), which is outside the Basic Multilingual Plane — every one of these code points is represented internally as a surrogate pair. When you build a /u-flag regex with several ranges of astral (non-BMP) code points inside a character class, and then apply a repetition quantifier to that class ({1,6}, or +? as in the actual error), V8's Irregexp compiler has to expand/canonicalize the class and unroll the quantifier. For BMP regexes this is cheap, but the astral-range handling triggers a much deeper recursive expansion in the compiler itself.

This is a known class of V8/Chromium bugs (regex-compiler stack overflow on Unicode-mode patterns with supplementary-plane character-class ranges + quantifiers) — it's not something wrong with your logic, it's the compiling of the pattern that blows the native stack on affected Chromium versions/builds, not the matching. That's why it only hits "some users": it depends on their exact V8 build/stack size, not the input string.
2026-09-27 20:16:16 +02:00
.github Update contribution guidelines 2026-09-27 19:43:37 +02:00
.vscode remove old discord ui workarounds & legacy code (#3585) 2025-08-05 23:57:51 +02:00
browser extension: use declarativeNetRequestWithHostAccess instead of declarativeNetRequest 2026-09-27 19:29:12 +02:00
packages Type more stores (#4627) 2026-09-26 19:45:27 +02:00
patches upgrade dependencies 2025-11-19 02:57:12 +01:00
scripts fix pnpm inject on macos (#4605) 2026-09-18 18:48:34 +02:00
src FakeProfileThemes: fix crashes 2026-09-27 20:16:16 +02:00
.editorconfig Add .editorconfig; reformat project 2022-09-16 22:59:34 +02:00
.gitattributes Fix PetPet & CorruptMp4s 2023-01-09 23:19:00 +01:00
.gitignore refactor Settings UI (#3545) 2025-07-15 15:57:24 +02:00
.stylelintrc.json Migrate to eslint flat config; update dependencies (#2627) 2024-08-02 12:12:59 +02:00
AGENTS.md Update contribution guidelines 2026-09-27 19:43:37 +02:00
CONTRIBUTING.md Update contribution guidelines 2026-09-27 19:43:37 +02:00
eslint.config.mjs remove deprecated plugin.options field (#4165) 2026-05-04 11:40:05 +02:00
LICENSE Update LICENSE 2022-09-16 17:37:28 +02:00
package.json v1.15.8 2026-09-26 03:49:15 +02:00
pnpm-lock.yaml v1.15.2 2026-08-17 17:46:31 +02:00
pnpm-workspace.yaml v1.15.2 2026-08-17 17:46:31 +02:00
README.md Update README (#3472) 2025-06-08 20:10:30 +02:00
tsconfig.json upgrade dependencies 2026-04-16 04:19:42 +02:00

Vencord

Codeberg Mirror

The cutest Discord client mod

Features

  • Easy to install
  • 100+ built in plugins
  • Fairly lightweight despite the many inbuilt plugins
  • Excellent Browser Support: Run Vencord in your Browser via extension or UserScript
  • Works on any Discord branch: Stable, Canary or PTB all work
  • Custom CSS and Themes: Inbuilt css editor with support to import any css files (including BetterDiscord themes)
  • Privacy friendly: blocks Discord analytics & crash reporting out of the box and has no telemetry
  • Maintained very actively, broken plugins are usually fixed within 12 hours
  • Settings sync: Keep your plugins and their settings synchronised between devices / apps (optional)

Installing / Uninstalling

Visit https://vencord.dev/download

Join our Support/Community Server

https://discord.gg/D9uwnFnqmd

Sponsors

Thanks a lot to all Vencord sponsors!!
generated using github-sponsor-graph

Star History

Star History Chart

Disclaimer

Discord is trademark of Discord Inc. and solely mentioned for the sake of descriptivity. Mention of it does not imply any affiliation with or endorsement by Discord Inc.

Using Vencord violates Discord's terms of service

Client modifications are against Discord’s Terms of Service.

However, Discord is pretty indifferent about them and there are no known cases of users getting banned for using client mods! So you should generally be fine as long as you don’t use any plugins that implement abusive behaviour. But no worries, all inbuilt plugins are safe to use!

Regardless, if your account is very important to you and it getting disabled would be a disaster for you, you should probably not use any client mods (not exclusive to Vencord), just to be safe

Additionally, make sure not to post screenshots with Vencord in a server where you might get banned for it