This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/drive/1G6opS0oqO9Ygn97nFvJGFQJakcx1piny
Prerequisites: Node.js v20+
Run the setup script to install dependencies:
./setup.shOr manually:
- Install dependencies:
npm install - Set the
GEMINI_API_KEYin .env.local to your Gemini API key - Run the app:
npm run dev
npm run dev- Start development server with hot reloadnpm run build- Build the application for productionnpm run start- Start the Electron app via Forgenpm run preview- Preview the production buildnpm run typecheck- Run TypeScript type checking without buildingnpm run clean- Remove build artifactsnpm run clean:all- Remove build artifacts, node_modules, and lockfile
| Script | Description |
|---|---|
npm run make |
Build for current platform/arch |
npm run make:linux |
Build Linux (native arch) |
npm run make:linux:x64 |
Build Linux x64 |
npm run make:linux:arm64 |
Build Linux arm64 |
npm run make:mac |
Build macOS (native arch) |
npm run make:mac:x64 |
Build macOS x64 |
npm run make:mac:arm64 |
Build macOS arm64 |
npm run make:win |
Build Windows (native arch) |
npm run make:win:x64 |
Build Windows x64 |
npm run make:win:arm64 |
Build Windows arm64 |
npm run deploy |
Build and publish to S3 (native arch) |
npm run deploy:x64 |
Build x64 and publish to S3 |
npm run deploy:arm64 |
Build arm64 and publish to S3 |
./setup.sh- Automated setup (installs dependencies, creates .env.local)./start.sh- Quick start script (installs dependencies if needed, then starts the app)
