https://github.com/gui-for-cores/plugin-hub
https://github.com/gui-for-cores/plugin-hub
clash javascript plugin-repo singbox
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/gui-for-cores/plugin-hub
- Owner: GUI-for-Cores
- Created: 2024-01-18T16:51:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-11T15:22:24.000Z (about 1 month ago)
- Last Synced: 2025-04-12T20:52:34.339Z (about 1 month ago)
- Topics: clash, javascript, plugin-repo, singbox
- Language: JavaScript
- Homepage: https://gui-for-cores.github.io/guide/04-plugins
- Size: 738 KB
- Stars: 21
- Watchers: 1
- Forks: 13
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Plugin Hub
## Explanation of Plugin Repository Directory
```
Plugin Hub
└─ plugins // Plugin directory
├─ Generic // Directory for generic plugins
├─ GFC // Directory for GUI.for.Clash plugins
├─ GFS // Directory for GUI.for.SingBox plugins
├─ generic.json // Plugin index file
├─ gfc.json // Plugin index file
└─ gfs.json // Plugin index file
```## How to Use
Simply add them in the plugin center of the client. For detailed instructions, please visit: [Plugin System Usage Tutorial](https://gui-for-cores.github.io/guide/04-plugins)
## How to Contribute Plugins
Submit a pull request (PR).
## Plugin Writing Standards
1. Code should be formatted, easy to read, and not encrypted.
2. Perform IO operations under the program's data directory, avoiding access to the user's private directory.
3. Temporary files should be stored in the data/.cache directory and should be deleted after use.
4. Third-party programs should be placed in the data/third directory and corresponding directories should be deleted upon uninstallation.
5. Dynamic creation of script, style tags, and importing external JS, CSS, etc., operations are prohibited.
6. Modifications that intrude upon the system require restoration operations upon uninstallation.