Next.js + TypeScript + Tailwind dashboard for operating the Python bot in ../solana-copy-bot.
- Start / stop bot process (server-side API route)
- Live status polling
- Read bot config from Python bot
.env - Preview training export dataset (
jsonl)
- Install dependencies:
npm install
- Copy env:
copy .env.example .env.local
- Run dev server:
npm run dev
- Open http://localhost:3000
This project is ready to deploy to Vercel:
- Push this folder to a Git repository.
- Import project in Vercel.
- Set environment variables in Vercel project settings:
BOT_ROOT_PATH(path where bot is available in runtime; usually not used on Vercel serverless)BOT_PYTHON_BIN(optional)
- Deploy.
The start/stop process API (/api/control) depends on local process management and direct filesystem access to the Python bot.
On Vercel serverless, long-lived Python bot processes are not suitable. Recommended production split:
- Deploy this frontend to Vercel for visualization/control UX.
- Run the Python bot on a VM/container (Railway, Fly.io, Render, VPS).
- Replace
/api/controland status endpoints to call your bot host API.