quietbrowser 0.0.0-stage → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +27 -2
- package/bin/quietbrowser.js +36 -0
- package/package.json +21 -4
- package/quietbrowser-linux-x64 +0 -0
- package/quietbrowser-macos +0 -0
- package/quietbrowser.exe +0 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 quietbrowser contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
-
#
|
|
1
|
+
# quietbrowser
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**A browser for coding agents that never steals your focus.**
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
On Windows, a real browser window (Microsoft Edge WebView2) that opens behind whatever you are doing and never takes keyboard focus. On macOS and Linux, your installed Chrome, Edge, Brave or Chromium, run headless so it cannot take focus. Your agent drives it over MCP or from the command line while you keep typing.
|
|
8
|
+
|
|
9
|
+
## MCP
|
|
10
|
+
|
|
11
|
+
The tools use the same names and arguments as Playwright MCP (`browser_navigate`, `browser_snapshot`, `browser_click`, `browser_type`, ...).
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
claude mcp add quietbrowser -- npx -y quietbrowser mcp
|
|
15
|
+
codex mcp add quietbrowser -- npx -y quietbrowser mcp
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## CLI
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
npx -y quietbrowser open example.com
|
|
22
|
+
npx -y quietbrowser click e3
|
|
23
|
+
npx -y quietbrowser install-skill
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Windows x64, macOS (Intel and Apple Silicon) and Linux x64. The package ships a small binary for each, nothing is downloaded at install time.
|
|
27
|
+
|
|
28
|
+
Docs, focus measurements and source: https://github.com/emrehangorgec/quietbrowser
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Runs the bundled quietbrowser binary for this system with the same arguments, stdio and exit code.
|
|
3
|
+
"use strict";
|
|
4
|
+
const { spawnSync } = require("node:child_process");
|
|
5
|
+
const fs = require("node:fs");
|
|
6
|
+
const path = require("node:path");
|
|
7
|
+
|
|
8
|
+
const binaries = {
|
|
9
|
+
win32: "quietbrowser.exe", // x64, also runs on Windows on Arm
|
|
10
|
+
darwin: "quietbrowser-macos", // Intel and Apple Silicon
|
|
11
|
+
linux: process.arch === "x64" ? "quietbrowser-linux-x64" : null,
|
|
12
|
+
};
|
|
13
|
+
const name = binaries[process.platform];
|
|
14
|
+
if (!name) {
|
|
15
|
+
console.error(`quietbrowser has no prebuilt binary for ${process.platform} ${process.arch}. Build it from source: https://github.com/emrehangorgec/quietbrowser`);
|
|
16
|
+
process.exit(1);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const exe = path.join(__dirname, "..", name);
|
|
20
|
+
if (process.platform !== "win32") {
|
|
21
|
+
// a package packed on Windows loses the executable bit
|
|
22
|
+
try {
|
|
23
|
+
fs.chmodSync(exe, 0o755);
|
|
24
|
+
} catch {}
|
|
25
|
+
}
|
|
26
|
+
const env = { ...process.env };
|
|
27
|
+
// Tells `install-skill` how the agent should run quietbrowser later.
|
|
28
|
+
if (!env.QUIETBROWSER_LAUNCHER) {
|
|
29
|
+
env.QUIETBROWSER_LAUNCHER = __dirname.includes(`${path.sep}_npx${path.sep}`) ? "npx -y quietbrowser" : "quietbrowser";
|
|
30
|
+
}
|
|
31
|
+
const r = spawnSync(exe, process.argv.slice(2), { stdio: "inherit", env, windowsHide: true });
|
|
32
|
+
if (r.error) {
|
|
33
|
+
console.error(`error: could not run ${exe}: ${r.error.message}`);
|
|
34
|
+
process.exit(2);
|
|
35
|
+
}
|
|
36
|
+
process.exit(r.status === null ? 1 : r.status);
|
package/package.json
CHANGED
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "quietbrowser",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "A browser for coding agents that never steals your focus. Windows, macOS and Linux. MCP server with Playwright MCP tool names, plus a CLI.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/emrehangorgec/quietbrowser.git"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/emrehangorgec/quietbrowser#readme",
|
|
11
|
+
"bugs": "https://github.com/emrehangorgec/quietbrowser/issues",
|
|
12
|
+
"keywords": ["mcp", "mcp-server", "browser", "claude-code", "codex", "playwright", "windows", "macos", "linux", "ai-agents"],
|
|
13
|
+
"bin": {
|
|
14
|
+
"quietbrowser": "bin/quietbrowser.js"
|
|
15
|
+
},
|
|
16
|
+
"files": ["bin", "quietbrowser.exe", "quietbrowser-macos", "quietbrowser-linux-x64"],
|
|
17
|
+
"engines": {
|
|
18
|
+
"node": ">=18"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"prepack": "node prepack.js"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
Binary file
|
|
Binary file
|
package/quietbrowser.exe
ADDED
|
Binary file
|