mirror of
https://github.com/moghtech/komodo.git
synced 2026-09-10 00:01:02 +00:00
* add terminal (ssh) apis * add core terminal exec method * terminal typescript client method * terminals WIP * backend for pty * add ts responses * about wire everything * add new blog * credit Skyfay * working * regen lock * 1.17.4-dev-1 * pty history * replace the test terminal impl with websocket (pty) * create api and improve frontend * fix fe * terminals * disable terminal api on periphery * implement write level terminal perms * remove unneeded * fix clippy * delete unneeded * fix waste cpu cycles * set TERM and COLORTERM for shell environment * fix xterm scrolling behavior * starship promp in periphery container terminal * kill all terminals on periphery shutdown signal * improve starship config and enable ssl in compose * use same scrollTop setter * fix periphery container distribution link * support custom command / args to init terminal * allow fully configurable init command * docker exec into container * add permissioning for container exec * add starship to core container * add delete all terminals * dev-2 * finished gen client * core need curl * hide Terminal trigger if disabled * 1.17.4
Komodo Frontend
Komodo JS stack uses Yarn + Vite + React + Tailwind + shadcn/ui
Setup Dev Environment
The frontend depends on the local package komodo_client located at /client/core/ts.
This must first be built and prepared for yarn link.
The following command should setup everything up (run with /frontend as working directory):
cd ../client/core/ts && yarn && yarn build && yarn link && \
cd ../../../frontend && yarn link komodo_client && yarn
You can make a new file .env.development (gitignored) which holds:
VITE_KOMODO_HOST=https://demo.komo.do
You can point it to any Komodo host you like, including the demo.
Now you can start the dev frontend server:
yarn dev