Self-Hosting
Since NovaChat doesn't rely on a backend, it can be easily self-hosted.
Running Locally
Local requirements: Node.js 20 + pnpm 9
sh
git clone https://github.com/rxliuli/novachat.git
pnpm i
pnpm devOpen http://localhost:5173 to access it.
Deploying Remotely
Using Cloudflare Pages
- Build static assets locally with
pnpm build - Register for a Cloudflare account
- Navigate to Workers & Pages > Overview > Create an application > Pages, and select Upload assets

- Enter a project name and create it

- Drag and drop the
distdirectory to upload
- Now, you've successfully deployed to Cloudflare Pages

