@brutalstrikedevs/codexui-android

中文文档
0.1.96发布于 2026/09/25MITES Module近 30 天下载 5480

A lightweight web interface for Codex that runs on top of the Codex app-server, allowing remote access from any browser

原始使用文档
文档目录20 节
  1. 🚀 Run Codex App UI Anywhere: Linux, Windows, or Termux on A…
  2. 🤯 What Is This?
  3. ⚡ Quick Start
  4. Linux 🐧
  5. Windows 🪟 (PowerShell)
  6. Termux (Android) 🤖
  7. iPhone / iPad via Tailscale Serve
  8. ✨ Features
  9. Telegram Bot Bridge (Optional)
  10. 🧩 Recent Product Features (from main commits)
  11. 🌍 What Can You Do With This?
  12. 🖼️ Screenshots
  13. Skills Hub
  14. Chat
  15. Mobile UI
  16. 🏗️ Architecture
  17. 🎯 Requirements
  18. 🐛 Troubleshooting
  19. 🤝 Contributing
  20. ⭐ Star This Repo

🔥 codexapp

🚀 Run Codex App UI Anywhere: Linux, Windows, or Termux on Android 🚀

npm platform node license

Codex UI in your browser. No drama. One command.

Yes, that is your Codex desktop app experience exposed over web UI. Yes, it runs cross-platform.

 ██████╗ ██████╗ ██████╗ ███████╗██╗  ██╗██╗   ██╗██╗
██╔════╝██╔═══██╗██╔══██╗██╔════╝╚██╗██╔╝██║   ██║██║
██║     ██║   ██║██║  ██║█████╗   ╚███╔╝ ██║   ██║██║
██║     ██║   ██║██║  ██║██╔══╝   ██╔██╗ ██║   ██║██║
╚██████╗╚██████╔╝██████╔╝███████╗██╔╝ ██╗╚██████╔╝██║
 ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝╚═╝  ╚═╝ ╚═════╝ ╚═╝

image

🤯 What Is This?

codexapp is a lightweight bridge that gives you a browser-accessible UI for Codex app-server workflows.

You run one command. It starts a local web server. You open it from your machine, your LAN, or wherever your setup allows.

TL;DR 🧠: Codex app UI, unlocked for Linux, Windows, and Termux-powered Android setups.


⚡ Quick Start

The main event.

# 🔓 Run instantly (recommended)
npx @brutalstrikedevs/codexapp

# 🌐 Then open in browser
# http://localhost:18923

By default, codexapp now also starts:

cloudflared tunnel --url http://localhost:<port>

It prints the tunnel URL, terminal QR code, and password together in startup output.
Use --no-tunnel to disable this behavior.

If you are using a provider or AI gateway that is already authenticated and do not want codexapp to force codex login during startup, use:

npx @brutalstrikedevs/codexapp --no-login

Linux 🐧

node -v   # should be 18+
npx @brutalstrikedevs/codexapp

Maintainers: follow the npm publishing procedure to release @brutalstrikedevs/codexapp.

Windows 🪟 (PowerShell)

node -v   # 18+
npx @brutalstrikedevs/codexapp

Termux (Android) 🤖

pkg update && pkg upgrade -y
pkg install nodejs -y
npx @brutalstrikedevs/codexapp

Android background requirements:

  1. Keep codexapp running in the current Termux session (do not close it).
  2. In Android settings, disable battery optimization for Termux.
  3. Keep the persistent Termux notification enabled so Android is less likely to kill it.
  4. Optional but recommended in Termux:
termux-wake-lock
  1. Open the shown URL in your Android browser. If the app is killed, return to Termux and run npx @brutalstrikedevs/codexapp again.

iPhone / iPad via Tailscale Serve

If you want to use codexUI from iPhone or iPad Safari, serving it over HTTPS is recommended.

A practical private setup is to run codexUI locally and publish it inside your tailnet with Tailscale Serve:

npx @brutalstrikedevs/codexapp --no-tunnel --port 5900
tailscale serve --bg 5900

Then open:

https://<your-machine>.<your-tailnet>.ts.net

This setup worked well in practice for:

  • iPhone Safari access
  • Add to Home Screen
  • the built-in dictation / transcription feature in the app
  • viewing the same projects and conversations from the Windows host

Notes:

  • Tailscale Serve keeps access private to your tailnet
  • on iOS, HTTPS / secure context appears to be important for mobile browser access and dictation
  • some minor mobile Safari CSS issues may still exist, but they do not prevent normal use
  • depending on proxying details, authentication behavior may differ from direct remote access
  • if conversations created in the web UI do not immediately appear in the Windows app, restarting the Windows app may refresh them

✨ Features

The payload.

  • 🚀 One-command launch with npx @brutalstrikedevs/codexapp
  • 🌍 Cross-platform support for Linux, Windows, and Termux on Android
  • 🖥️ Browser-first Codex UI flow on http://localhost:18923
  • 🌐 LAN-friendly access from other devices on the same network
  • 🧪 Remote/headless-friendly setup for server-based Codex usage
  • 🔌 Works with reverse proxies and tunneling setups
  • ⚡ No global install required for quick experimentation
  • 🎙️ Built-in hold-to-dictate voice input with transcription to composer draft
  • 🤖 Optional Telegram bot bridge: send messages to bot, forward into mapped thread, send assistant reply back to Telegram
  • 💾 Project portability: export a project as a ZIP from project or thread menus, including matching Codex chat JSONL history under .codex-project/chats/
  • 📦 Project import: restore exported project ZIPs from the browser via Import Project
  • 🔁 Imported chats are rewritten for the destination CODEX_HOME, project path, and currently selected provider/model so they can be resumed in the new environment
  • ⚙️ Project ZIP performance: exports stream ZIP bytes with response backpressure handling and skip generated/git-ignored folders; imports still buffer the selected ZIP once because the browser upload arrives as a single file

Telegram Bot Bridge (Optional)

Set these environment variables before starting codexapp:

export TELEGRAM_BOT_TOKEN="<your-telegram-bot-token>"
export TELEGRAM_ALLOWED_USER_IDS="<your-telegram-user-id>,<optional-second-id>"
export TELEGRAM_DEFAULT_CWD="$PWD" # optional, defaults to current working directory
npx @brutalstrikedevs/codexapp

TELEGRAM_ALLOWED_USER_IDS is required for safe access. Only allowlisted Telegram user IDs can use the bridge. If no allowed user IDs are configured, incoming Telegram messages are rejected.

To find your Telegram user ID:

  1. Send a message to your bot.
  2. Run curl "https://api.telegram.org/bot<your-telegram-bot-token>/getUpdates".
  3. Read message.from.id from the returned update payload.

Bot commands:

  • /start show quick help and thread picker
  • /threads list recent threads and pick one
  • /newthread create and map a new Codex thread for this Telegram chat
  • /thread <threadId> map current Telegram chat to an existing thread
  • /current show currently connected thread for this chat
  • /history show recent history for current thread
  • /status show bridge/mapping status
  • /whoami show your Telegram user/chat IDs and authorization state
  • /help show command reference

Outgoing assistant messages are sent with Telegram parse_mode=HTML for formatting, with automatic plain-text fallback if HTML delivery fails.


🧩 Recent Product Features (from main commits)

Not just launch. Actual UX upgrades.

  • 🗂️ Searchable project picker in new-thread flow
  • ➕ "Create Project" button next to "Select folder" with browser prompt
  • 📌 New projects get pinned to top automatically
  • 🧠 Smart default new-project name suggestion via server-side free-directory scan (New Project (N))
  • 🔄 Project order persisted globally to workspace roots state
  • 🧵 Optimistic in-progress threads preserved during refresh/poll cycles
  • 📱 Mobile drawer sidebar in desktop layout (teleported overlay + swipe-friendly structure)
  • 🎛️ Skills Hub mobile-friendly spacing/toolbar layout improvements
  • 🪟 Skill detail modal tuned for mobile sheet-style behavior
  • 🧪 Skills Hub event typing fix for SkillCard select emit compatibility
  • 🎙️ Voice dictation flow in composer (hold to dictate -> transcribe -> append text)

🌍 What Can You Do With This?

🔥 Use Case💥 What You Get
💻 Linux workstationRun Codex UI in browser without depending on desktop shell
🪟 Windows machineLaunch web UI and access from Chrome/Edge quickly
📱 Termux on AndroidStart service in Termux and control from mobile browser
🧪 Remote dev boxKeep Codex process on server, view UI from client device
🌐 LAN sharingOpen UI from another device on same network
🧰 Headless workflowsKeep terminal + browser split for productivity
🔌 Custom routingPut behind reverse proxy/tunnel if needed
⚡ Fast experimentsnpx run without full global setup

🖼️ Screenshots

Skills Hub

Skills Hub

Chat

Chat

Mobile UI

Skills Hub Mobile Chat Mobile


🏗️ Architecture

┌─────────────────────────────┐
│  Browser (Desktop/Mobile)   │
└──────────────┬──────────────┘
               │ HTTP/WebSocket
┌──────────────▼──────────────┐
│         codexapp            │
│  (Express + Vue UI bridge)  │
└──────────────┬──────────────┘
               │ RPC/Bridge calls
┌──────────────▼──────────────┐
│      Codex App Server       │
└─────────────────────────────┘

🎯 Requirements

  • ✅ Node.js 18+
  • ✅ Codex app-server environment available
  • ✅ Browser access to host/port
  • ✅ Microphone permission (only for voice dictation)

🐛 Troubleshooting

❌ Problem✅ Fix
Port already in useRun on a free port or stop old process
npx failsUpdate npm/node, then retry
Termux install failspkg update && pkg upgrade then reinstall nodejs
Can’t open from other deviceCheck firewall, bind address, and LAN routing

🤝 Contributing

Issues and PRs are welcome.
Bring bug reports, platform notes, and setup improvements.


⭐ Star This Repo

If you believe Codex UI should be accessible from any machine, any OS, any screen, star this project and share it. ⭐

Built for speed, portability, and a little bit of chaos 😏

Forked from pavel-voronin/codex-web-local by Pavel Voronin.

版本与发布记录

@brutalstrikedevs/codexui-android 共发布 6 个版本,首次发布于 2026/05/28;过去 12 个月发布了 6 个版本。

版本发布日期距今
0.1.96latest2026/09/251 个月前
0.1.952026/09/201 个月前
0.1.942026/09/201 个月前
0.1.932026/09/191 个月前
0.1.922026/06/114 个月前
0.1.912026/05/285 个月前

关于 @brutalstrikedevs/codexui-android 的常见问题

@brutalstrikedevs/codexui-android 是什么?

A lightweight web interface for Codex that runs on top of the Codex app-server, allowing remote access from any browser

如何安装 @brutalstrikedevs/codexui-android?

在项目目录运行 npm install @brutalstrikedevs/codexui-android,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 codexui、codexapp、codexui-android,可以用 npx codexui 直接运行。

@brutalstrikedevs/codexui-android 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/brutalstrikedevs__codexui-android 是否存在。

@brutalstrikedevs/codexui-android 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@brutalstrikedevs/codexui-android 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=18。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@brutalstrikedevs/codexui-android 可以商用吗?

@brutalstrikedevs/codexui-android 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@brutalstrikedevs/codexui-android 的下载量有多少?

根据 npm 官方下载统计,@brutalstrikedevs/codexui-android 在 2026/10/09 – 2026/11/07 这 30 天内被下载 5,480 次,日均约 183 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@brutalstrikedevs/codexui-android 还在维护吗?

最新版本 0.1.96 发布于 2026/09/25(1 个月前);至今共发布 6 个版本,其中过去 12 个月发布了 6 个;首次发布于 2026/05/28。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。