Commit Graph
35 Commits
Author SHA1 Message Date
junvandCopilot a47ea316c7 feat(jbot): UI-configurable API keys + fix Dockerfile
- Add JbotApiConfig Django model (DB singleton) for storing
  Volcengine/OpenRouter credentials set via Settings UI
- New endpoint GET/POST /api/jbot/api-config/ — tokens masked as ***
  on read; only non-placeholder values are updated on write
- views.py: _get_cfg() helper reads DB first, env vars as fallback
- Settings.jsx: new 🔑 API 配置 section with show/hide token fields
  for VOLC App ID, Access Token, OpenRouter API Key, LLM Model, ASR Resource
- api.js: apiGetApiConfig() / apiSaveApiConfig() client helpers
- Dockerfile: COPY jbot/ in both builder + production stages (was missing)
- entrypoint.sh: runs migrate --noinput before gunicorn (auto-creates table)
- k8s/manifest.yaml: remove jbot-credentials secretKeyRef (no Secret needed);
  keep LLM_MODEL/VOLC_TTS_VOICE/VOLC_ASR_RESOURCE as optional env defaults

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-17 14:13:37 +10:00
junvandCopilot a87b4643fd feat: port JBOT AI robot face into links as Django app
- Add jbot Django app (jbot/__init__.py, apps.py, urls.py, api_urls.py)
- Python backend (jbot/views.py): TTS 2.0, ASR 1.0 BigASR, LLM/memory via OpenRouter
- React SPA frontend at /jbot/ (static_src/jbot/): RobotFace, ChatPanel, expressions,
  voices, push-to-talk, history, memory, settings pages
- Vite entry jbot: static_src/jbot/main.jsx → dist/jbot.js + dist/jbot.css
- react-router-dom added; BrowserRouter basename=/jbot for SPA routing
- core/settings.py: added jbot to INSTALLED_APPS
- core/urls.py: /jbot/ + /api/jbot/ URL includes
- pyproject.toml: websocket-client>=1.9.0 for BigASR binary WS protocol
- Dockerfile: ffmpeg added to production apt-get for WebM→PCM audio conversion
- k8s/manifest.yaml: VOLC_APP_ID, VOLC_ACCESS_TOKEN, OPENROUTER_API_KEY env vars
  via jbot-credentials Secret; LLM_MODEL, VOLC_TTS_VOICE, VOLC_ASR_RESOURCE defaults

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-17 14:13:37 +10:00
junv 1b04d500d1 Add price check 2026-05-11 21:28:59 +10:00
junv b345534277 update dockerfile 2026-04-18 22:43:58 +10:00
junv f6f9bd167d fix build 2026-04-18 22:30:41 +10:00
junv 1fb54880d6 fix build 2026-04-16 14:18:46 +10:00
junv 7e0db3cdfb fix ci 2026-04-16 14:15:15 +10:00
junv 26d3ac9607 Fix docker build 2026-04-01 18:58:00 +11:00
copilot-swe-agent[bot]andwahyd4 768ab6c5d8 feat: add build time and version info to Docker image and page footer
Agent-Logs-Url: https://github.com/wahyd4/links/sessions/514d1f3d-d003-4f16-9a54-d221dba306f7

Co-authored-by: wahyd4 <836576+wahyd4@users.noreply.github.com>
2026-03-27 01:12:04 +00:00
junv 1ffdb5d2ba Fix static resources issue 2026-03-21 22:49:18 +11:00
junv 7f7a890ad5 Update files function! 2026-03-21 20:30:44 +11:00
junv b8c256424e Fix build error and page screenshot issue! 2026-03-21 16:55:22 +11:00
OpenClaw Sub-agent f89a270c0a fix: include qdrant_sync.py in docker image 2026-02-13 18:43:54 +11:00
junv 87fa38f040 Update docker 2025-11-04 21:36:30 +11:00
junv 6ff54f0439 Switch to use playwright to capture screenshots 2025-11-04 21:22:37 +11:00
junv 453567dc9c fix docker 2025-11-04 20:38:51 +11:00
junv 1c14458ab0 Update dockerfile to optimize file size 2025-11-04 20:32:52 +11:00
junv 945b43f7c1 Add static folder 2025-07-01 22:49:04 +10:00
junv 6975172363 Copy static folder 2025-07-01 22:46:51 +10:00
junv 7d9ffb6edf Update docker 2025-07-01 22:29:45 +10:00
junv 1ccd7cb022 Minimize docker image 2025-07-01 22:20:06 +10:00
junv e18bafe60d Update logic 2024-11-10 10:09:03 +11:00
junv b0e3ce934d Update docker file 2024-11-09 08:09:33 +11:00
junv f4eeb56e06 Update docker-compose 2024-11-09 07:34:50 +11:00
junv 45ce3e2343 Add chromum driver 2024-11-04 20:55:59 +11:00
junv 2a9efb111c Correct dockerfile 2024-11-04 20:48:16 +11:00
junv 33320d178f Add default screenshot 2024-11-04 20:43:57 +11:00
junv 54b48a5fe0 fix permission 2 2024-11-04 20:33:25 +11:00
junv 77ff7f7f1c Fix permission issue 2024-11-04 20:27:39 +11:00
junv 04d89b53cc Update 2024-11-04 20:21:39 +11:00
junv 6bedd80088 Correct dockerfile 2024-11-04 20:04:48 +11:00
junv 4cbdf35cfc Add uv 2024-11-04 17:26:58 +11:00
junv 827b54d719 Add pages 2024-11-04 13:43:30 +11:00
junv 2964e992ee Update docker related stuff 2024-09-08 23:03:58 +10:00
junv 2007232aea Add docker image 2024-09-08 19:46:41 +10:00