How atlessc/qwen-drive works
Qwen Drive is a desktop-primary, local-first personal computing environment. A user works through the Next.js PWA to chat or use focus areas such as Projects, Search, Journal, and Knowledge; requests cross the same-origin API boundary into a separate Fastify core. Deterministic server code owns exact operations, while inference runtimes provide model reasoning. The graph also preserves documented local-model, optional web-search, Mac-context, and bootstrap capabilities. Evidence is limited to the README, tree, and sampled excerpts, so uncertain internal route-to-service wiring is omitted.
Main entry points: server/index.ts Fastify core · App.tsx Next.js PWA · service.ts Inference service · db/index.ts SQLite data
Components 21
PWA experience
- Next.js PWA
src/App.tsx - Dashboard
components/dashboard/Dashboard.tsx
Core services
- Chat and orchestration
server/chats-api.ts - Inference service
server/inference/service.ts - Fastify core
server/index.ts
Focus areas
- Projects and sessions
server/projects.ts - Coding Agent
server/coding-agent/service.ts - Local search
server/search/service.ts - Journal
server/journal/api.ts - Health
server/health/api.ts - Knowledge
server/knowledge/service.ts - People
server/people.ts - Personal Context
server/personal-context/service.ts - Tasks
server/tasks.ts - Usage
components/usage/Usage.tsx
Local platform
- SQLite data
server/db/index.ts - Local model runtimes
server/inference/runtimes/ollama.ts - Brave Search
- macOS context
server/mac-context/service.ts - Bootstrap service
server/bootstrap/index.ts
Other components
- User
Connections 21
- User → Next.js PWA: uses
- Next.js PWA → Fastify core: API requests
- Fastify core → Inference service: dispatches
- Inference service → Local model runtimes: invokes
- Fastify core → Chat and orchestration: serves chat
- Fastify core → Projects and sessions: serves projects
- Fastify core → Coding Agent: serves agent
- Fastify core → Local search: serves search
- Fastify core → Journal: serves journal
- Fastify core → Health: serves health
- Fastify core → Knowledge: serves knowledge
- Fastify core → Personal Context: serves context
- Chat and orchestration → Inference service: requests reasoning
- Next.js PWA → Dashboard: presents
- Next.js PWA → Projects and sessions: requests projects
- Next.js PWA → SQLite data: via core
- Fastify core → SQLite data: uses
- Fastify core → Brave Search: searches online
- Fastify core → macOS context: reads approved context
- User → Bootstrap service: plans or starts
- Tasks → SQLite data: stores tasks