@nervmor/codexui 1.0.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 +11 -0
- package/README.md +195 -0
- package/dist/assets/index-BVMDEsG8.js +1440 -0
- package/dist/assets/index-CN8KEIbg.css +1 -0
- package/dist/icons/apple-touch-icon.png +0 -0
- package/dist/icons/codexui-icon.svg +52 -0
- package/dist/icons/maskable-512x512.png +0 -0
- package/dist/icons/pwa-192x192.png +0 -0
- package/dist/icons/pwa-512x512.png +0 -0
- package/dist/icons/pwa-icon.svg +38 -0
- package/dist/icons/pwa-maskable.svg +36 -0
- package/dist/index.html +21 -0
- package/dist/manifest.webmanifest +36 -0
- package/dist/sw.js +73 -0
- package/dist-cli/index.js +3291 -0
- package/dist-cli/index.js.map +1 -0
- package/package.json +67 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright 2026 Pavel Voronin, Igor Levochkin
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the βSoftwareβ), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
+
|
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED βAS ISβ, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
10
|
+
|
|
11
|
+
|
package/README.md
ADDED
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
# π₯ @nervmor/codexui
|
|
2
|
+
|
|
3
|
+
### π Run Codex App UI Anywhere: Linux, Windows, or Termux on Android π
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/@nervmor/codexui)
|
|
6
|
+
[](#-quick-start)
|
|
7
|
+
[](https://nodejs.org/)
|
|
8
|
+
[](./LICENSE)
|
|
9
|
+
|
|
10
|
+
> **Codex UI in your browser. No drama. One command.**
|
|
11
|
+
>
|
|
12
|
+
> **Yes, that is your Codex desktop app experience exposed over web UI. Yes, it runs cross-platform.**
|
|
13
|
+
|
|
14
|
+
```text
|
|
15
|
+
βββββββ βββββββ βββββββ βββββββββββ ββββββ ββββββ
|
|
16
|
+
ββββββββββββββββββββββββββββββββββββββββββββ ββββββ
|
|
17
|
+
βββ βββ ββββββ βββββββββ ββββββ βββ ββββββ
|
|
18
|
+
βββ βββ ββββββ βββββββββ ββββββ βββ ββββββ
|
|
19
|
+
βββββββββββββββββββββββββββββββββββββ βββββββββββββββ
|
|
20
|
+
βββββββ βββββββ βββββββ βββββββββββ βββ βββββββ βββ
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## π€― What Is This?
|
|
26
|
+
**`@nervmor/codexui`** is a lightweight bridge that gives you a browser-accessible UI for Codex app-server workflows.
|
|
27
|
+
|
|
28
|
+
You run one command. It starts a local web server. You open it from your machine, your LAN, or wherever your setup allows.
|
|
29
|
+
|
|
30
|
+
**TL;DR π§ : Codex app UI, unlocked for Linux, Windows, and Termux-powered Android setups.**
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## β‘ Quick Start
|
|
35
|
+
> **The main event.**
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
# π Run instantly (recommended)
|
|
39
|
+
npx @nervmor/codexui
|
|
40
|
+
|
|
41
|
+
# π Then open in browser
|
|
42
|
+
# http://localhost:18923
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
By default, `@nervmor/codexui` now also starts:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
cloudflared tunnel --url http://localhost:<port>
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
It prints the tunnel URL, terminal QR code, and password together in startup output.
|
|
52
|
+
Use `--no-tunnel` to disable this behavior.
|
|
53
|
+
|
|
54
|
+
### Linux π§
|
|
55
|
+
```bash
|
|
56
|
+
node -v # should be 18+
|
|
57
|
+
npx @nervmor/codexui
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Windows πͺ (PowerShell)
|
|
61
|
+
```powershell
|
|
62
|
+
node -v # 18+
|
|
63
|
+
npx @nervmor/codexui
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Termux (Android) π€
|
|
67
|
+
```bash
|
|
68
|
+
pkg update && pkg upgrade -y
|
|
69
|
+
pkg install nodejs -y
|
|
70
|
+
npx @nervmor/codexui
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Android background requirements:
|
|
74
|
+
|
|
75
|
+
1. Keep the `codexui` session running in the current Termux session (do not close it).
|
|
76
|
+
2. In Android settings, disable battery optimization for `Termux`.
|
|
77
|
+
3. Keep the persistent Termux notification enabled so Android is less likely to kill it.
|
|
78
|
+
4. Optional but recommended in Termux:
|
|
79
|
+
```bash
|
|
80
|
+
termux-wake-lock
|
|
81
|
+
```
|
|
82
|
+
5. Open the shown URL in your Android browser. If the app is killed, return to Termux and run `npx @nervmor/codexui` again.
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## β¨ Features
|
|
87
|
+
> **The payload.**
|
|
88
|
+
|
|
89
|
+
- π One-command launch with `npx @nervmor/codexui`
|
|
90
|
+
- π Cross-platform support for Linux, Windows, and Termux on Android
|
|
91
|
+
- π₯οΈ Browser-first Codex UI flow on `http://localhost:18923`
|
|
92
|
+
- π LAN-friendly access from other devices on the same network
|
|
93
|
+
- π§ͺ Remote/headless-friendly setup for server-based Codex usage
|
|
94
|
+
- π Works with reverse proxies and tunneling setups
|
|
95
|
+
- β‘ No global install required for quick experimentation
|
|
96
|
+
- ποΈ Built-in hold-to-dictate voice input with transcription to composer draft
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## π§© Recent Product Features (from main commits)
|
|
101
|
+
> **Not just launch. Actual UX upgrades.**
|
|
102
|
+
|
|
103
|
+
- ποΈ Searchable project picker in new-thread flow
|
|
104
|
+
- β Inline "Add new project" input inside picker (no browser prompt)
|
|
105
|
+
- π New projects get pinned to top automatically
|
|
106
|
+
- π§ Smart default new-project name suggestion via server-side free-directory scan (`New Project (N)`)
|
|
107
|
+
- π Project order persisted globally to workspace roots state
|
|
108
|
+
- π§΅ Optimistic in-progress threads preserved during refresh/poll cycles
|
|
109
|
+
- π± Mobile drawer sidebar in desktop layout (teleported overlay + swipe-friendly structure)
|
|
110
|
+
- ποΈ Skills Hub mobile-friendly spacing/toolbar layout improvements
|
|
111
|
+
- πͺ Skill detail modal tuned for mobile sheet-style behavior
|
|
112
|
+
- π§ͺ Skills Hub event typing fix for `SkillCard` select emit compatibility
|
|
113
|
+
- ποΈ Voice dictation flow in composer (`hold to dictate` -> transcribe -> append text)
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## π What Can You Do With This?
|
|
118
|
+
|
|
119
|
+
| π₯ Use Case | π₯ What You Get |
|
|
120
|
+
|---|---|
|
|
121
|
+
| π» Linux workstation | Run Codex UI in browser without depending on desktop shell |
|
|
122
|
+
| πͺ Windows machine | Launch web UI and access from Chrome/Edge quickly |
|
|
123
|
+
| π± Termux on Android | Start service in Termux and control from mobile browser |
|
|
124
|
+
| π§ͺ Remote dev box | Keep Codex process on server, view UI from client device |
|
|
125
|
+
| π LAN sharing | Open UI from another device on same network |
|
|
126
|
+
| π§° Headless workflows | Keep terminal + browser split for productivity |
|
|
127
|
+
| π Custom routing | Put behind reverse proxy/tunnel if needed |
|
|
128
|
+
| β‘ Fast experiments | `npx` run without full global setup |
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## πΌοΈ Screenshots
|
|
133
|
+
|
|
134
|
+
### Skills Hub
|
|
135
|
+

|
|
136
|
+
|
|
137
|
+
### Chat
|
|
138
|
+

|
|
139
|
+
|
|
140
|
+
### Mobile UI
|
|
141
|
+

|
|
142
|
+

|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
## ποΈ Architecture
|
|
147
|
+
|
|
148
|
+
```text
|
|
149
|
+
βββββββββββββββββββββββββββββββ
|
|
150
|
+
β Browser (Desktop/Mobile) β
|
|
151
|
+
ββββββββββββββββ¬βββββββββββββββ
|
|
152
|
+
β HTTP/WebSocket
|
|
153
|
+
ββββββββββββββββΌβββββββββββββββ
|
|
154
|
+
β codexui β
|
|
155
|
+
β (Express + Vue UI bridge) β
|
|
156
|
+
ββββββββββββββββ¬βββββββββββββββ
|
|
157
|
+
β RPC/Bridge calls
|
|
158
|
+
ββββββββββββββββΌβββββββββββββββ
|
|
159
|
+
β Codex App Server β
|
|
160
|
+
βββββββββββββββββββββββββββββββ
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
---
|
|
164
|
+
|
|
165
|
+
## π― Requirements
|
|
166
|
+
- β
Node.js `18+`
|
|
167
|
+
- β
Codex app-server environment available
|
|
168
|
+
- β
Browser access to host/port
|
|
169
|
+
- β
Microphone permission (only for voice dictation)
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## π Troubleshooting
|
|
174
|
+
|
|
175
|
+
| β Problem | β
Fix |
|
|
176
|
+
|---|---|
|
|
177
|
+
| Port already in use | Run on a free port or stop old process |
|
|
178
|
+
| `npx` fails | Update npm/node, then retry |
|
|
179
|
+
| Termux install fails | `pkg update && pkg upgrade` then reinstall `nodejs` |
|
|
180
|
+
| Canβt open from other device | Check firewall, bind address, and LAN routing |
|
|
181
|
+
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
## π€ Contributing
|
|
185
|
+
Issues and PRs are welcome.
|
|
186
|
+
Bring bug reports, platform notes, and setup improvements.
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
## β Star This Repo
|
|
191
|
+
If you believe Codex UI should be accessible from **any machine, any OS, any screen**, star this project and share it. β
|
|
192
|
+
|
|
193
|
+
<div align="center">
|
|
194
|
+
Built for speed, portability, and a little bit of chaos π
|
|
195
|
+
</div>
|