mirror of
https://github.com/basketikun/infinite-canvas.git
synced 2026-08-06 01:14:36 +08:00
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
---
|
|
title: Quick Start
|
|
description: Run Infinite Canvas in a few steps
|
|
---
|
|
|
|
# Quick Start
|
|
|
|
To try the project, deploy or start the `web/` frontend.
|
|
|
|
## Deploy with Vercel
|
|
|
|
Import the repository into Vercel. The root `vercel.json` builds `web/`. AI requests are sent directly from the browser to your OpenAI-compatible endpoint, so no additional application server is required.
|
|
|
|
## Run locally
|
|
|
|
```bash
|
|
git clone git@github.com:basketikun/infinite-canvas.git
|
|
cd infinite-canvas/web
|
|
bun install
|
|
bun run dev
|
|
```
|
|
|
|
Open `http://localhost:3000`.
|
|
|
|
## Run with Docker
|
|
|
|
```bash
|
|
docker build -t infinite-canvas .
|
|
docker run --rm -p 3000:3000 infinite-canvas
|
|
```
|
|
|
|
## First-time setup
|
|
|
|
- Open Settings and enter your `Base URL`, `API Key`, and model names.
|
|
- Open `/prompts` to fetch prompt repositories directly from the browser and cache them in IndexedDB.
|
|
- Configure WebDAV if you want to synchronize canvases, assets, and generation history across devices.
|
|
|
|
Canvas projects and My Assets are primarily stored in the browser. The API key is also stored locally and used by the browser to call OpenAI-compatible endpoints directly.
|