CyberCat is a small Nx workspace with:
- a Fastify service that discovers runnable script commands and streams output over Server-Sent Events
- a React web app that lets you filter, run, and watch those commands in a terminal-style UI
- colocated command entrypoints under commands and a local
.envfile in theCyberCatroot
- apps/service contains the Fastify API and command execution backend
- apps/web contains the React UI and web assets
- commands/xgd contains the xgd test scripts
- commands/zixiCat contains the zixiCat helper scripts
Create a local environment file from .env.example and add your credentials before running the xgd commands.
Start the service:
npx nx serve @cyber-cat/serviceStart the web app:
npx nx serve @cyber-cat/webBuild both apps:
npx nx build @cyber-cat/service
npx nx build @cyber-cat/webCyberCat discovers shell scripts directly from commands/xgd and commands/zixiCat. They run from the repository root:
bash ./commands/xgd/qwen-chat-llm-test.bash
bash ./commands/xgd/qwen-embed-test.bash
bash ./commands/xgd/qwen-rerank-test.bash
bash ./commands/zixiCat/copy-command2run-remote-bashrc.bash
