glidercli 0.3.7 → 0.3.8
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/README.md +11 -19
- package/bin/glider.js +3 -3
- package/package.json +1 -1
- package/docs/BROWSERS.md +0 -7
package/README.md
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
<h1 align="center">glider CLI</h1>
|
|
9
9
|
<p align="center"><i><b>Browser automation CLI with autonomous loop execution</b></i></p>
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
<a href="https://github.com/vdutts7/glidercli"><img src="./assets/badges/github.badge.svg" alt="GitHub" height="34" /></a> <a href="https://www.npmjs.com/package/glidercli"><img src="./assets/badges/npm.badge.svg" alt="npm install" height="34" /></a>
|
|
12
|
+
|
|
13
13
|
</div>
|
|
14
14
|
|
|
15
15
|
<br/>
|
|
@@ -53,17 +53,15 @@
|
|
|
53
53
|
|
|
54
54
|
### Browser support
|
|
55
55
|
|
|
56
|
-
Icons: `https://raw.githubusercontent.com/vdutts7/squircle/main/webp/{slug}.webp` ([squircle](https://github.com/vdutts7/squircle)).
|
|
57
|
-
|
|
58
56
|
**Extension:** Install [Glider](https://chromewebstore.google.com/detail/glider/njbidokkffhgpofcejgcfcgcinmeoalj) from the Chrome Web Store in each browser/profile you plan to automate
|
|
59
57
|
|
|
60
58
|
| | Browser | Config |
|
|
61
59
|
|:---:|--------|--------|
|
|
62
|
-
| <img src="https://raw.githubusercontent.com/vdutts7/squircle/main/webp/chrome.webp" width="16" alt=""> | Google Chrome | Default for `glider connect
|
|
60
|
+
| <img src="https://raw.githubusercontent.com/vdutts7/squircle/main/webp/chrome.webp" width="16" alt=""> | Google Chrome | Default for `glider connect`|
|
|
63
61
|
| <img src="https://raw.githubusercontent.com/vdutts7/squircle/main/webp/arc.webp" width="16" alt=""> | Arc | [browser.json](config/browser.json.example) (`{ "use": "arc" }`) |
|
|
64
62
|
| <img src="https://raw.githubusercontent.com/vdutts7/squircle/main/webp/microsoft/microsoft-edge.webp" width="16" alt=""> | Microsoft Edge | n/a |
|
|
65
63
|
| <img src="https://raw.githubusercontent.com/vdutts7/squircle/main/webp/brave.webp" width="16" alt=""> | Brave | n/a |
|
|
66
|
-
| <img src="https://raw.githubusercontent.com/vdutts7/squircle/main/webp/
|
|
64
|
+
| <img src="https://raw.githubusercontent.com/vdutts7/squircle/main/webp/operagx.webp" width="16" alt=""> | Opera | n/a |
|
|
67
65
|
| <img src="https://raw.githubusercontent.com/vdutts7/squircle/main/webp/vivaldi.webp" width="16" alt=""> | Vivaldi | n/a |
|
|
68
66
|
| <img src="https://raw.githubusercontent.com/vdutts7/squircle/main/webp/chromium.webp" width="16" alt=""> | Other Chromium | Must support installing extensions from the Chrome Web Store. |
|
|
69
67
|
|
|
@@ -86,7 +84,7 @@ Icons: `https://raw.githubusercontent.com/vdutts7/squircle/main/webp/{slug}.webp
|
|
|
86
84
|
| <img src="https://raw.githubusercontent.com/vdutts7/squircle/main/webp/tor-browser.webp" width="16" alt=""> | Tor Browser | Gecko- same constraints as Firefox |
|
|
87
85
|
| <img src="https://raw.githubusercontent.com/vdutts7/squircle/main/webp/mullvad-browser.webp" width="16" alt=""> | Mullvad Browser | Gecko- same constraints as Firefox |
|
|
88
86
|
| <img src="https://raw.githubusercontent.com/vdutts7/squircle/main/webp/icecat.webp" width="16" alt=""> | IceCat | Gecko- same constraints as Firefox |
|
|
89
|
-
| <img src="https://raw.githubusercontent.com/vdutts7/squircle/main/webp/safari.webp" width="16" alt="">
|
|
87
|
+
| <img src="https://raw.githubusercontent.com/vdutts7/squircle/main/webp/safari.webp" width="16" alt=""> | Safari | WebKit (Apple desktop). Not Chromium |
|
|
90
88
|
| <img src="https://raw.githubusercontent.com/vdutts7/squircle/main/webp/orion.webp" width="16" alt=""> | Orion | WebKit-based desktop browser. Not Chromium |
|
|
91
89
|
| <img src="https://raw.githubusercontent.com/vdutts7/squircle/main/webp/chatgpt-atlas.webp" width="16" alt=""> | ChatGPT Atlas | AI-first browser, not in Glider’s supported Chromium + CWS model today |
|
|
92
90
|
| <img src="https://raw.githubusercontent.com/vdutts7/squircle/main/webp/perplexity-comet.webp" width="16" alt=""> | Perplexity Comet | AI-first browser, not in Glider’s supported Chromium + CWS model today |
|
|
@@ -147,7 +145,7 @@ Check app name in Finder/Spotlight, process name: `ps aux | grep -i <name>`
|
|
|
147
145
|
|
|
148
146
|
### Browser registry (keymap)
|
|
149
147
|
|
|
150
|
-
A single registry file can define all Chromium browsers, Glider picks one by key
|
|
148
|
+
A single registry file can define all Chromium browsers, Glider picks one by **key**
|
|
151
149
|
|
|
152
150
|
**Registry location (first found):**
|
|
153
151
|
|
|
@@ -260,20 +258,14 @@ Full list: `glider --help`
|
|
|
260
258
|
|
|
261
259
|
## Roadmap
|
|
262
260
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
261
|
+
- [x] CDP relay + extension, YAML tasks, loop, daemon, multi-tab
|
|
262
|
+
- [ ] Linux / Windows
|
|
263
|
+
- [ ] headless (cloud)
|
|
264
|
+
- [ ] task chaining
|
|
265
|
+
- [ ] crawling templates
|
|
267
266
|
|
|
268
267
|
---
|
|
269
268
|
|
|
270
269
|
## Contact
|
|
271
270
|
|
|
272
271
|
<a href="https://vd7.io"><img src="https://res.cloudinary.com/ddyc1es5v/image/upload/v1773910810/readme-badges/readme-badge-vd7.png" alt="vd7.io" height="40" /></a> <a href="https://x.com/vdutts7"><img src="https://res.cloudinary.com/ddyc1es5v/image/upload/v1773910817/readme-badges/readme-badge-x.png" alt="/vdutts7" height="40" /></a>
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
<!-- BADGES -->
|
|
276
|
-
[github]: https://img.shields.io/badge/glidercli-000000?style=for-the-badge&logo=github
|
|
277
|
-
[github-url]: https://github.com/vdutts7/glidercli
|
|
278
|
-
[npm]: https://img.shields.io/badge/npm%20i%20--g%20glidercli-CB3837?style=for-the-badge&logo=npm
|
|
279
|
-
[npm-url]: https://www.npmjs.com/package/glidercli
|
package/bin/glider.js
CHANGED
|
@@ -65,7 +65,7 @@ for (const cfgPath of DOMAIN_CONFIG_PATHS) {
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
// Browser config
|
|
68
|
+
// Browser config- which browser to launch/use (must be Chromium-based, see README.md#Browsers)
|
|
69
69
|
const BROWSER_CONFIG_PATHS = [
|
|
70
70
|
path.join(os.homedir(), '.glider', 'config', 'browser.json'),
|
|
71
71
|
path.join(os.homedir(), '.glider', 'browser.json'),
|
|
@@ -678,7 +678,7 @@ async function cmdConnect() {
|
|
|
678
678
|
await new Promise(r => setTimeout(r, 1000));
|
|
679
679
|
}
|
|
680
680
|
|
|
681
|
-
// 2. Ensure browser is running (see getBrowserConfig +
|
|
681
|
+
// 2. Ensure browser is running (see getBrowserConfig + README.md#Browsers)
|
|
682
682
|
const browser = getBrowserConfig();
|
|
683
683
|
try {
|
|
684
684
|
execSync(`pgrep -x "${browser.processName}"`, { stdio: 'ignore' });
|
|
@@ -700,7 +700,7 @@ async function cmdConnect() {
|
|
|
700
700
|
|
|
701
701
|
if (!await checkExtension()) {
|
|
702
702
|
log.fail('Extension not connected to relay');
|
|
703
|
-
log.info(`Make sure Glider extension is installed in ${browser.name} (Chromium-based only; see glider
|
|
703
|
+
log.info(`Make sure Glider extension is installed in ${browser.name} (Chromium-based only; see glider README.md#Browsers)`);
|
|
704
704
|
process.exit(1);
|
|
705
705
|
}
|
|
706
706
|
log.ok('Extension connected');
|
package/package.json
CHANGED
package/docs/BROWSERS.md
DELETED