Site root
ມີ `index.html`, `404.html`, `502.html`, `.htaccess`, `.user.ini`; ບໍ່ມີ package manager ຫຼື backend ໃນໂຟນເດີນີ້.
ຫນ້ານີ້ແມ່ນ control surface ສຳລັບເລືອກ project root, ເລືອກ agent, ແນບຮູບ/ຫນ້າຈໍ, ແລະສົ່ງຄຳສັ່ງ coding ຜ່ານ chat. ຝັ່ງ backend ສາມາດຕໍ່ກັບ code-server, Claude Code, Codex, Gemini, Qwen ແລະ tool ອື່ນໆໄດ້.
ໂຄງສ້າງເກົ່າໃນ site root ເປັນ static aaPanel default. ຫນ້ານີ້ຖືກສ້າງແບບບໍ່ພຶ່ງ framework ເພື່ອໃຫ້ deploy ໄດ້ທັນທີ.
ມີ `index.html`, `404.html`, `502.html`, `.htaccess`, `.user.ini`; ບໍ່ມີ package manager ຫຼື backend ໃນໂຟນເດີນີ້.
ຕິດຕັ້ງເປັນ service ແລ້ວເປີດ project folder ຈາກ server. Extension ຕິດຕັ້ງຜ່ານ UI ຫຼື CLI.
Repo ມີ `.claude`, `.codex`, `.gemini`, `.qwen`, `.opencode`, `.cursor`, `.vscode`, `.agents` ສຳລັບ cross-harness setup.
ຖ້າຈະສັ່ງ agent ໃຫ້ແກ້ໄຟລ໌ຈິງ ຕ້ອງມີ API backend, auth, sandbox, queue/session store.
ຫນ້າ chat ນີ້ເຮັດວຽກເປັນ frontend prototype: ເກັບ project ໃນ browser, ສ້າງ prompt, ແນບຮູບ, ແລະກຽມ payload ໃຫ້ backend ນຳໄປ run agent.
# Project agent brief
Root: /www/wwwroot/devm.onemiracles.com
Harnesses: Codex, Claude Code, Gemini, Qwen
Rules:
- read code before editing
- run focused tests
- never expose secrets
- keep changes scoped
Task:
Build from mobile chat, verify in browser,
then hand back changed files and commands.
ໃນ production ໃຫ້ run ຂັ້ນຕອນນີ້ໃນ server/VPS ທີ່ເກັບ project. ໃຊ້ HTTPS + password/SSO ເພື່ອເຂົ້າຈາກໂທລະສັບ.
ຕິດຕັ້ງແລ້ວ ແລະ server ນີ້ login ດ້ວຍ ChatGPT ແລ້ວ. Extension `openai.chatgpt` ຖືກຕິດຕັ້ງໃນ code-server.
ຕິດຕັ້ງແລ້ວ ແລະ server ນີ້ login ຜ່ານ Claude.ai Pro ແລ້ວ. Extension `anthropic.claude-code` ຖືກຕິດຕັ້ງໃນ code-server.
CLI ແລະ extension `google.geminicodeassist` ຕິດຕັ້ງແລ້ວ. ຍັງຕ້ອງ Sign in with Google, `GEMINI_API_KEY`, ຫຼື Vertex AI credentials.
CLI ແລະ extension `qwenlm.qwen-code-vscode-ide-companion` ຕິດຕັ້ງແລ້ວ. Qwen OAuth free tier ຢຸດແລ້ວ; ໃຊ້ API key ຫຼື Coding Plan.
ຕິດຕັ້ງ VS Code-compatible editor ໃນ browser ແລ້ວເປີດເປັນ service.
curl -fsSL https://code-server.dev/install.sh | sh sudo systemctl enable --now code-server@$USER cat ~/.config/code-server/config.yaml
ຕອນນີ້ PM2 run code-server ໃນ port `18082` ແລ້ວ. Local health check ຜ່ານ, ແຕ່ການເຂົ້າຈາກ internet ອາດຕ້ອງເປີດ firewall ຫຼືຕັ້ງ reverse proxy.
pm2 status devm-code-server curl -I http://127.0.0.1:18082/login # Public URL after firewall/proxy: http://devm.onemiracles.com:18082/
code-server ໃຊ້ Open VSX ເປັນ default. ຕິດຕັ້ງ extension ຈາກ sidebar ຫຼື CLI; ຖ້າບໍ່ມີໃຫ້ຕິດຕັ້ງ VSIX.
code-server --install-extension ms-python.python code-server --install-extension GitHub.copilot code-server --install-extension ./vendor/my-extension.vsix
Clone ECC ແລ້ວ copy ຊັ້ນ config ທີ່ຕ້ອງການເຂົ້າ project ຫຼື home directory.
git clone https://github.com/affaan-m/everything-claude-code.git /opt/ecc rsync -a /opt/ecc/.claude /opt/ecc/.codex /opt/ecc/.gemini /opt/ecc/.qwen ./ rsync -a /opt/ecc/AGENTS.md /opt/ecc/CLAUDE.md ./
Backend ຄວນ map agent ແຕ່ລະຕົວເປັນ command template ພ້ອມ cwd/project root ແລະ env secrets.
codex --cd /path/to/project claude --add-dir /path/to/project gemini --include-directories /path/to/project qwen
Static UI ບໍ່ຕ້ອງ DB. ຖ້າເປັນ real multi-project system ໃຫ້ໃຊ້ Postgres ຫຼື SQLite ເກັບ users, project roots, sessions, audit log, attachments.
tables: users, projects, agent_sessions, messages, attachments, command_runs, audit_logs
ສ່ວນນີ້ຄືຮູບແບບ architecture ທີ່ຈະເຮັດໃຫ້ chat ສັ່ງຂຽນໂປຣແກຣມໄດ້ຈິງ ໂດຍບໍ່ໃຫ້ browser ມີ shell access ໂດຍກົງ.
HTTPS, login, rate limit, CSRF, upload validation, project allow-list.
Run commands in cwd, stream stdout/stderr, timeout, sandbox, kill switch.
Open same root folder, terminal shares filesystem with agent worker.
DB for sessions, object storage/local disk for screenshots and generated files.