- Bundled with Canvas Server
- For standalone deployment, see the installation section below
Workspace connected to a browser running canvas-browser-extension
Context-bound browser with real-time data sync
- Node.js >= 20.0.0
- npm or yarn package manager
-
Clone this repository
git clone https://github.com/canvas-ai/canvas-web cd canvas-web
-
Install dependencies
npm install
-
Build the web frontend
npm run build
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview
# Lint code
npm run lint
# Copy environment template
cp .env.example .env
# Update Canvas Server API URL for remote access
VITE_API_URL=http://your-server:8001
Variable | Default |
---|---|
VITE_API_URL |
http://localhost:8001 |
CANVAS_API_PORT |
8001 |
CANVAS_API_HOST |
0.0.0.0 |
CANVAS_API_PROTOCOL |
http |
Licensed under AGPL-3.0-or-later. See main project LICENSE file.