Connects to user's running Brave via Chrome DevTools Protocol to automate ChatGPT interaction. Uses puppeteer-core to open a tab, send the prompt, wait for response, and extract the result. No cookies, no separate profiles, no copy/paste. Just connects to the browser where the user is already logged in. One-time setup: relaunch Brave with --remote-debugging-port=9222 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
39 lines
987 B
JSON
39 lines
987 B
JSON
{
|
|
"name": "text-decoder",
|
|
"version": "1.2.3",
|
|
"description": "Streaming text decoder that preserves multibyte Unicode characters",
|
|
"main": "index.js",
|
|
"files": [
|
|
"index.js",
|
|
"lib"
|
|
],
|
|
"browser": {
|
|
"./lib/pass-through-decoder.js": "./lib/browser-decoder.js",
|
|
"./lib/utf8-decoder.js": "./lib/browser-decoder.js"
|
|
},
|
|
"react-native": {
|
|
"./lib/pass-through-decoder.js": "./lib/pass-through-decoder.js",
|
|
"./lib/utf8-decoder.js": "./lib/utf8-decoder.js"
|
|
},
|
|
"scripts": {
|
|
"test": "standard && brittle test.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/holepunchto/text-decoder.git"
|
|
},
|
|
"author": "Holepunch",
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/holepunchto/text-decoder/issues"
|
|
},
|
|
"homepage": "https://github.com/holepunchto/text-decoder#readme",
|
|
"dependencies": {
|
|
"b4a": "^1.6.4"
|
|
},
|
|
"devDependencies": {
|
|
"brittle": "^3.3.2",
|
|
"standard": "^17.0.0"
|
|
}
|
|
}
|