viveworker 0.1.9 → 0.1.11
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 +13 -13
- package/ntfy/server.yml.example +2 -2
- package/package.json +4 -3
- package/scripts/viveworker-bridge.mjs +470 -118
- package/scripts/viveworker.mjs +18 -4
- package/viveworker.env.example +3 -3
- package/web/i18n.js +107 -89
package/README.md
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
[](https://badge.fury.io/js/viveworker)
|
|
6
6
|
[](https://opensource.org/licenses/MIT)
|
|
7
7
|
|
|
8
|
-
`viveworker` brings Codex Desktop to your
|
|
8
|
+
`viveworker` brings Codex Desktop to your phone.
|
|
9
9
|
|
|
10
10
|
When Codex needs an approval, asks whether to implement a plan, wants you to choose from options, or finishes a task while you are away from your desk, `viveworker` keeps all of that within reach on your phone. Instead of breaking your rhythm, it helps you keep vivecoding going from anywhere in your home or office.
|
|
11
11
|
|
|
12
12
|
Think of it as a local companion for Codex on your Mac:
|
|
13
|
-
your Mac keeps building, and your
|
|
13
|
+
your Mac keeps building, and your device keeps you in the loop.
|
|
14
14
|
|
|
15
15
|
## Why It Feels Good
|
|
16
16
|
|
|
@@ -29,13 +29,13 @@ keep Codex moving, keep context close, and keep your momentum.
|
|
|
29
29
|
|
|
30
30
|
`viveworker` works best with:
|
|
31
31
|
|
|
32
|
-
- Mac +
|
|
32
|
+
- Mac + mobile device
|
|
33
33
|
- the same Wi-Fi or LAN
|
|
34
34
|
- a trusted local network
|
|
35
35
|
- the Home Screen web app with Web Push enabled
|
|
36
36
|
|
|
37
37
|
It gets even more fun with a Mac mini.
|
|
38
|
-
Leave Codex running on a small always-on machine, and `viveworker` starts to feel like a local coding appliance: your Mac mini keeps building in the background while your
|
|
38
|
+
Leave Codex running on a small always-on machine, and `viveworker` starts to feel like a local coding appliance: your Mac mini keeps building in the background while your device handles approvals, plan checks, questions, and follow-up replies from anywhere in your home or office.
|
|
39
39
|
|
|
40
40
|
`viveworker` is designed for local use only.
|
|
41
41
|
It is not intended for Internet exposure.
|
|
@@ -48,7 +48,7 @@ You can use it as:
|
|
|
48
48
|
|
|
49
49
|
- an always-on Codex station that stays running in the background
|
|
50
50
|
- a way to keep approvals and plan checks moving even when you are away from your desk
|
|
51
|
-
- a lightweight monitor for long-running coding or research tasks, where your
|
|
51
|
+
- a lightweight monitor for long-running coding or research tasks, where your device only surfaces what needs your attention
|
|
52
52
|
- a small local AI appliance for your home or office
|
|
53
53
|
- a quick way to review a completion and send “do this next” back into the latest thread from your phone
|
|
54
54
|
|
|
@@ -79,10 +79,10 @@ npx viveworker setup --port 8820
|
|
|
79
79
|
|
|
80
80
|
1. Run `npx viveworker setup --install-mkcert` on your Mac
|
|
81
81
|
2. If macOS asks, allow the local CA install
|
|
82
|
-
3. On your
|
|
83
|
-
4.
|
|
84
|
-
5. Open the printed pairing URL
|
|
85
|
-
6. Pair your
|
|
82
|
+
3. On your device, open the printed `rootCA.pem` URL
|
|
83
|
+
4. If your device requires local CA trust, install the certificate profile and trust it
|
|
84
|
+
5. Open the printed pairing URL on your device
|
|
85
|
+
6. Pair your device with the code if needed
|
|
86
86
|
7. Add `viveworker` to your Home Screen
|
|
87
87
|
8. Open the Home Screen app
|
|
88
88
|
9. In `Settings`, tap `Enable Notifications`
|
|
@@ -128,7 +128,7 @@ Useful options:
|
|
|
128
128
|
|
|
129
129
|
`--pair` reissues only the short-lived pairing code and pairing URL.
|
|
130
130
|
It does not change the main app URL, port, session secret, TLS, or Web Push settings.
|
|
131
|
-
Use it only when you want to add another trusted
|
|
131
|
+
Use it only when you want to add another trusted device or browser.
|
|
132
132
|
|
|
133
133
|
## Questions and Limits
|
|
134
134
|
|
|
@@ -156,7 +156,7 @@ If you later want a second wake-up notification path, you can add `ntfy` alongsi
|
|
|
156
156
|
|
|
157
157
|
- If the `.local` URL does not open, use the printed IP-based URL
|
|
158
158
|
- If pairing has expired, run `npx viveworker setup --pair`
|
|
159
|
-
- If notifications do not appear, make sure you opened the Home Screen app, not just a
|
|
159
|
+
- If notifications do not appear, make sure you opened the Home Screen app, not just a browser tab
|
|
160
160
|
- If Web Push is enabled, make sure you are opening the HTTPS URL
|
|
161
161
|
- If you are stuck, run:
|
|
162
162
|
|
|
@@ -171,13 +171,13 @@ npx viveworker doctor
|
|
|
171
171
|
- Web Push still depends on the browser/platform push service
|
|
172
172
|
- `--install-mkcert` can automate the Mac-side `mkcert` install and `mkcert -install`
|
|
173
173
|
- macOS may still show an administrator prompt while installing the local CA
|
|
174
|
-
-
|
|
174
|
+
- On some devices, local CA trust is still manual before HTTPS works reliably
|
|
175
175
|
- Web Push supports approvals, plans, multiple-choice questions, and completions
|
|
176
176
|
|
|
177
177
|
## Roadmap
|
|
178
178
|
|
|
179
179
|
Planned next steps include:
|
|
180
180
|
|
|
181
|
-
- Android support
|
|
182
181
|
- Windows support
|
|
182
|
+
- ✅ ~~Android support~~ (Apr 1, 2026)
|
|
183
183
|
- ✅ ~~image attachment support from mobile~~ (Mar 26, 2026)
|
package/ntfy/server.yml.example
CHANGED
|
@@ -8,7 +8,7 @@ base-url: "http://YOUR-MAC-IP-OR-HOSTNAME:8080"
|
|
|
8
8
|
# The container listens on port 80 internally; Docker maps 8080 -> 80.
|
|
9
9
|
listen-http: ":80"
|
|
10
10
|
|
|
11
|
-
# Persistent cache is required so
|
|
11
|
+
# Persistent cache is required so a paired device can fetch message contents after a poll request.
|
|
12
12
|
cache-file: "/var/lib/ntfy/cache.db"
|
|
13
13
|
|
|
14
14
|
# User, ACL, and token database. Created automatically if it does not exist.
|
|
@@ -19,7 +19,7 @@ auth-default-access: "deny-all"
|
|
|
19
19
|
enable-login: true
|
|
20
20
|
enable-signup: false
|
|
21
21
|
|
|
22
|
-
# Needed for near-instant
|
|
22
|
+
# Needed for near-instant mobile delivery on a self-hosted server.
|
|
23
23
|
# Only a poll request is forwarded upstream, not your real message body.
|
|
24
24
|
upstream-base-url: "https://ntfy.sh"
|
|
25
25
|
|
package/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "viveworker",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Local
|
|
3
|
+
"version": "0.1.11",
|
|
4
|
+
"description": "Local device companion for Codex Desktop approvals, plan checks, questions, and notifications on your LAN.",
|
|
5
5
|
"author": "Yuta Hoshino <hoshino.lireneo@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"codex",
|
|
9
9
|
"codex-desktop",
|
|
10
10
|
"macos",
|
|
11
|
-
"
|
|
11
|
+
"mobile",
|
|
12
12
|
"ios",
|
|
13
|
+
"android",
|
|
13
14
|
"pwa",
|
|
14
15
|
"web-push",
|
|
15
16
|
"notifications",
|