Files
Evandro b3489e1ede
Build & Push Frontend Docker Image / build-and-push (push) Canceled after 0s
Build Validation / validate (push) Canceled after 6s
Build & Push Backend Docker Image / build-and-push (push) Failing after 10m10s
Build & Push Gateway Docker Image / build-and-push (push) Failing after 10m9s
🎉 Initial commit: PiAgentUI — AI Agent Desktop & Web UI
A professional workspace for AI coding agents with:
- Real-time streaming chat with SSE
- Session management (fork, clone, tree navigation)
- MCP tools browser & metadata panel
- Skills browser (global, project, package sources)
- Voice input & STT provider configuration
- Integrated terminal & file explorer
- Model selector with capability metadata
- Keyboard-first UI with command palette
- 8 languages (en, pt-BR, es, ja, zh-CN, ar, bn, hi)
- Tauri 2 desktop app
- React 19 + TypeScript + Vite 8 + Tailwind CSS 4
- Pi Agent extension runtime

Originally forked from OpenCodeUI, now an independent project.
License: GPL-3.0-only
2026-06-01 00:50:06 -03:00

47 lines
1.3 KiB
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ============================================
# OpenCode WebUI - 环境变量
# ============================================
# cp .env.example .env
# ---- LLM Provider API Keys(至少填一个)----
ANTHROPIC_API_KEY=
OPENAI_API_KEY=
GEMINI_API_KEY=
DEEPSEEK_API_KEY=
GROQ_API_KEY=
MISTRAL_API_KEY=
XAI_API_KEY=
# ---- 端口 ----
GATEWAY_PORT=6658
PREVIEW_PORT=6659
# ---- 预览域名(绑定独立域名解决前端资源路径问题)----
# 例如 preview.example.com,Nginx 将此域名转发到 PREVIEW_PORT
PREVIEW_DOMAIN=
# ---- 工作目录 ----
WORKSPACE=./workspace
# ---- 安全(公网部署务必设置)----
OPENCODE_SERVER_PASSWORD=
OPENCODE_SERVER_USERNAME=opencode
# ---- 路由服务(由 gateway 内置)----
PUBLIC_BASE_URL=
ROUTER_SCAN_INTERVAL=5
ROUTER_TOKEN_LENGTH=12
ROUTER_PORT_RANGE=3000-9999
ROUTER_EXCLUDE_PORTS=4096
# ---- Backend 工具链镜像/运行时源(可选)----
USE_CHINA_MIRROR=1
APT_MIRROR=http://mirrors.tuna.tsinghua.edu.cn/debian
APT_SECURITY_MIRROR=http://mirrors.tuna.tsinghua.edu.cn/debian-security
NPM_CONFIG_REGISTRY=https://registry.npmmirror.com
NODEJS_ORG_MIRROR=https://npmmirror.com/mirrors/node
PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
PIP_TRUSTED_HOST=pypi.tuna.tsinghua.edu.cn
MISE_INSTALL_URL=https://mise.run
OPENCODE_INSTALL_URL=https://opencode.ai/install