{"id":25036743,"url":"https://github.com/meguminsama/electron-hook","last_synced_at":"2025-04-13T19:42:16.121Z","repository":{"id":275239260,"uuid":"923192946","full_name":"MeguminSama/Electron-Hook","owner":"MeguminSama","description":"An in-memory Electron mod loader, built to simplify Discord modding.","archived":false,"fork":false,"pushed_at":"2025-02-06T17:21:24.000Z","size":197,"stargazers_count":14,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T01:09:40.186Z","etag":null,"topics":["discord","electron","injection","modding","moonlight","vencord"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MeguminSama.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"MeguminSama","ko_fi":"meguminsama"}},"created_at":"2025-01-27T19:48:30.000Z","updated_at":"2025-03-13T07:21:23.000Z","dependencies_parsed_at":"2025-02-01T04:23:57.355Z","dependency_job_id":"506ad3a0-0835-4493-af8a-7864071b8803","html_url":"https://github.com/MeguminSama/Electron-Hook","commit_stats":null,"previous_names":["meguminsama/electron-hook"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MeguminSama%2FElectron-Hook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MeguminSama%2FElectron-Hook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MeguminSama%2FElectron-Hook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MeguminSama%2FElectron-Hook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MeguminSama","download_url":"https://codeload.github.com/MeguminSama/Electron-Hook/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248770991,"owners_count":21159071,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["discord","electron","injection","modding","moonlight","vencord"],"created_at":"2025-02-06T00:07:28.669Z","updated_at":"2025-04-13T19:42:16.088Z","avatar_url":"https://github.com/MeguminSama.png","language":"Rust","funding_links":["https://github.com/sponsors/MeguminSama","https://ko-fi.com/meguminsama"],"categories":[],"sub_categories":[],"readme":"# electron-hook\n\nA Rust library for loading mods into Electron applications without patching any files.\n\n[![](https://img.shields.io/static/v1?label=Sponsor\u0026message=%E2%9D%A4\u0026logo=GitHub\u0026color=%23fe8e86)](https://github.com/sponsors/MeguminSama)\n\nThis project was designed to ease some pain points with modding Discord, but it can be used for most Electron applications.\n\nFor some real-life uses of electron-hook, check out:\n\n- [moonlight launcher](https://github.com/meguminsama/moonlight-launcher)\n- [Vencord Launcher](https://github.com/meguminsama/vencord-launcher)\n\n# Installation\n\nAdd this to your `Cargo.toml`:\n\n```toml\n[dependencies]\nelectron-hook = \"0.2.0\"\n\n[lib]\ncrate-type = [\"cdylib\"]\n```\n\nAnd in your `lib.rs`:\n\n```rust\npub use electron_hook::*;\n```\n\nWhen you build your project with `--lib` it will generate a `.dll` or `.so`, which you can pass the path of into `electron_hook::launch`\n\n# Usage\n\nFor a better example, check out the [Documentation](https://docs.rs/electron-hook)\n\n```rust\nelectron_hook::launch(\u0026electron_executable, \u0026library_path, \u0026asar_path, vec![], true);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeguminsama%2Felectron-hook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeguminsama%2Felectron-hook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeguminsama%2Felectron-hook/lists"}