mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-02 11:45:20 +02:00
564599e58b
Bun-powered HTTP server on localhost keeps headless Chromium alive between commands. CLI auto-starts server on first call (~3s), subsequent commands ~100-200ms. Bearer token auth, 30 min idle shutdown, auto-restart on Chromium crash. Architecture: compiled CLI binary → HTTP POST → Bun.serve → Playwright Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
35 lines
740 B
JSON
35 lines
740 B
JSON
{
|
|
"name": "gstack-browse",
|
|
"version": "2.0.0",
|
|
"description": "Fast headless browser CLI for AI coding agents. Persistent Chromium daemon with sub-200ms commands.",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"bin": {
|
|
"browse": "./dist/browse"
|
|
},
|
|
"scripts": {
|
|
"build": "bun build --compile src/cli.ts --outfile dist/browse",
|
|
"dev": "bun run src/cli.ts",
|
|
"server": "bun run src/server.ts",
|
|
"test": "bun test",
|
|
"start": "bun run src/server.ts"
|
|
},
|
|
"dependencies": {
|
|
"playwright": "^1.58.2",
|
|
"diff": "^7.0.0"
|
|
},
|
|
"engines": {
|
|
"bun": ">=1.0.0"
|
|
},
|
|
"keywords": [
|
|
"browser",
|
|
"automation",
|
|
"playwright",
|
|
"headless",
|
|
"cli",
|
|
"claude",
|
|
"ai-agent",
|
|
"devtools"
|
|
]
|
|
}
|