GPT API Companion
A Chrome extension for interacting with GPT API
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 3,
"name": "GPT API Companion",
"version": "1.5.0",
"description": "A Chrome extension for interacting with GPT API",
"permissions": [
"activeTab",
"storage",
"scripting",
"contextMenus"
],
"host_permissions": [
"https://chat.lit.codes/*"
],
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self';",
"sandbox": "sandbox allow-scripts; script-src 'self' 'https://api.openai.com.com/*'; object-src 'self'"
},
"action": {
"default_icon": {
"16": "public/robot-16.png",
"48": "public/robot-48.png",
"128": "public/robot-128.png"
}
},
"content_scripts": [
{
"matches": [
"http://*/*",
"https://*/*",
"file://*/*"
],
"js": [
"dist/contentScript.js"
],
"module": true
}
],
"background": {
"service_worker": "dist/background.js"
}
}