├── .gitignore ├── manifest.json ├── settings.json.template ├── index.html ├── README.md ├── style.css ├── index.js ├── ChatBridge_APIHijackForwarder.py └── LICENSE /.gitignore: -------------------------------------------------------------------------------- 1 | *.secret 2 | settings.json 3 | .settings.json 4 | *.old 5 | olds 6 | settings.json 7 | SECRET/ 8 | apicheck.py 9 | apiTest.py -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "display_name": "Chat Bridge Extension", 3 | "loading_order": 10, 4 | "requires": [], 5 | "optional": [], 6 | "js": "index.js", 7 | "css": "style.css", 8 | "author": "YourName", 9 | "version": "1.0.0", 10 | "homePage": "https://github.com/yourusername/ChatBridgeExtension" 11 | } 12 | -------------------------------------------------------------------------------- /settings.json.template: -------------------------------------------------------------------------------- 1 | { 2 | "websocket": { 3 | "host": "localhost", 4 | "port": 8001 5 | }, 6 | "llm_api": { 7 | "base_url": "base_url", 8 | "api_keys": [ 9 | "apikeys_1", 10 | "apikeys_2" 11 | ] 12 | }, 13 | "st_api": { 14 | "host": "localhost", 15 | "port": 8002, 16 | "api_key": "st-internal-key" 17 | }, 18 | "user_api": { 19 | "host": "localhost", 20 | "port": 8003, 21 | "api_key": "user-api-key" 22 | } 23 | } -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 |