How kazuyaaaadesu/furinaaiproject works
Fufuu is a local desktop companion with a chat interface and switchable Live2D/VRM avatars. The main user workflow runs through the React app: it sends chat requests to a local Ollama service and loads/saves conversation history through a local storage server. Electron starts the desktop windows and local services. The sampled code also confirms avatar rendering and display-mode synchronization. Screenshot/vision handling and several other App capabilities are only partially excerpted, so their connections are omitted where the caller is not visible.
Main entry points: main.cjs Electron main · App.tsx Chat app · server.js Storage API · Avatar.tsx Avatar selector
Components 15
Chat interface
- Chat app
src/App.tsx - React entry
src/main.tsx
Avatar display
- Avatar selector
src/Avatar.tsx - Live2D renderer
src/Live2DViewer.tsx - Live2D model
public/models/furina-live2d/Furina.model3.json - VRM renderer
src/VRMViewer.tsx - VRM model
public/models/furina.vrm
Local services
- Storage API
server/server.js - Conversations
data/conversations.json - Memory file
data/memory.json
Desktop shell
- Electron main
electron/main.cjs - Desktop bridge
electron/preload.cjs
Other components
- User
- Ollama
- Desktop user
Connections 16
- User → Chat app: chats with
src/App.tsx - React entry → Chat app: renders
src/main.tsx - React entry → Avatar selector: renders
src/main.tsx - Chat app → Ollama: requests response
src/App.tsx - Chat app → Storage API: reads and saves
src/App.tsx - Storage API → Conversations: reads and writes
server/server.js - Storage API → Memory file: initializes
server/server.js - Avatar selector → Live2D renderer: selects 2D
src/Avatar.tsx - Avatar selector → VRM renderer: selects 3D
src/Avatar.tsx - Live2D renderer → Live2D model: loads model
src/Live2DViewer.tsx - VRM renderer → VRM model: loads model
src/VRMViewer.tsx - Electron main → Storage API: starts service
electron/main.cjs - Electron main → React entry: opens app URL
electron/main.cjs - Electron main → Desktop bridge: configures bridge
electron/main.cjs - Desktop bridge → Electron main: sends IPC
electron/preload.cjs - Desktop user → Electron main: uses desktop app