About this project
The Discord Mappings Project is an open-source initiative designed to facilitate the reverse engineering of the Discord web client by creating a comprehensive mapping system. Its primary goal is to translate obfuscated or minified code chunks into human-readable structures, including module names, variable identifiers, and file paths. The project relies on official paths extracted from the Discord React Native application to ensure accuracy.
To comply with legal standards and avoid DMCA issues, the repository does not host decompiled source code directly. Instead, users are required to download the Discord chunk files into a specific directory and run a local script (`map.js`) to generate the mappings. The system includes several auto-generated components for stores, assets, and experiments, which are derived from Android and iOS lists, though users are advised not to manually edit these auto-generated sections.
Contributors can enhance the project by adding new mappings to `mappings/paths.txt` or extending the generation scripts. The workflow involves cloning the latest web client source, defining search patterns (using regex or simple strings) to identify specific code segments, and running the main script to produce the output. Strict guidelines are in place to prevent duplicate patterns and ensure path correctness, emphasizing the use of standard patterns for mangled identifiers.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.