-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Yash Aryan edited this page Aug 8, 2026
·
1 revision
- Bun 1.1+ (package manager + script runner)
-
Ollama with at least:
ollama pull llama3.2 # chat ollama pull nomic-embed-text # embeddings (RAG)
- Optional: Firebase CLI for rules/hosting deploy and emulators
- macOS / Windows / Linux (Electron targets all three)
From the repo root:
./scripts/setup.shThis installs app dependencies and copies env examples. Then:
./scripts/dev.shOr manually:
cd app
cp .env.example .env # set ANYLM_FIREBASE_PROJECT + ANYLM_FIREBASE_API_KEY
bun install
bun start # typechecks/builds, then launches ElectronFirebase project setup: see Auth & Firebase and firebase/README.md.
./scripts/dev.sh --emulatorPoints the app at local Firebase emulators instead of a live project (requires emulator config in firebase/).
| Command | Purpose |
|---|---|
bun start |
Fix Electron bundle → build → launch |
bun run build |
env inject → main tsc → renderer tsc → assets |
bun run typecheck |
Both tsconfigs, no emit |
bun test |
Unit tests (bunfig.toml preloads Electron mock) |
bun run dist |
electron-builder packages into app/release/
|
bun run clean |
Remove dist/ and generated env module |
Nothing else must be started first for governance: the in-process API talks to Firestore with the user token.
You do need:
-
Ollama reachable (default
http://127.0.0.1:11434, overridable viaANYLM_OLLAMA_HOST/OLLAMA_HOST) - Valid Firebase project ids in
app/.env(or emulators) - Optionally Chroma — bundled and started by the app; RAG soft-degrades if it fails
The local OpenAI-compatible endpoint (when enabled in settings) listens on:
http://127.0.0.1:3227/v1
cd web
cp .env.example .env.local # NEXT_PUBLIC_GITHUB_OWNER / REPO
bun install # or npm — follow web/README.md
bun devcd app
bun run typecheck
bun test
bun startConfirm: boot splash → sign-in (or resume session) → Ollama status green → create a project → send a chat message.
| Page | Description |
|---|---|
| Home | Overview and navigation |
| Getting-Started | Local setup |
| Architecture | System design |
| Code-Structure | Directory map |
| Features | Feature inventory |
| Contributing | PR workflow |
| How-to-Change | Common change recipes |
| Gotchas | Footguns |
| Chat-Pipeline | Turn lifecycle |
| IPC-Contract | window.api |
| Auth-and-Firebase | Identity + rules |
| RAG-and-Knowledge | Vectors + graph |
| Agents | Multi-agent |
| Proxy-and-Governance | :3227 + policies |
| Configuration | Env + settings |
| Testing | bun test |
| Build-and-Release | Packaging |
| Skills | Build skills |
| Tools | Build tools |
| MCP-and-Extensions | MCP status + options |