Files
BMO/vite.config.ts
peji 0f027e863b BMO: a living desktop buddy with a Claude brain
Standalone React + Vite app where BMO lives in a little garden:
- Redrawn avatar (src/avatar) with depth, cartoon controls and expressive
  faces; original bmo-preview avatar and scenery kept in src/bmo
- Idle life: wandering, chatter, boredom, sleep, pokes, weather and
  time-of-day reactions
- Chat via a local Node server streaming Claude replies (Haiku by default),
  with live scene awareness and tools to change color, outfit, sky,
  weather, move and perform
- Side menu for API key, appearance, environment and chat log

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 23:05:50 -04:00

13 lines
282 B
TypeScript

import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
const brainPort = Number(process.env.BMO_PORT ?? 4310);
export default defineConfig({
plugins: [react()],
server: {
port: 5180,
proxy: { "/api": `http://127.0.0.1:${brainPort}` },
},
});