Privacy-first AI meeting note taker for Windows, macOS and Linux. Free, open source (MIT). On-device Whisper/Parakeet transcription and speaker diarization, no meeting bot. Open-source alternative to Granola, Otter and Fireflies. https://meetily.ai
Agent Guide for Meetily
These instructions apply to AI coding agents working in this repository.
Project Overview
- Meetily is a desktop application for recording meetings, transcribing audio, and generating summaries.
- The supported app lives in
frontend/: Next.js/React provides the UI, and the Rust/Tauri core handles native behavior, audio, persistence, transcription, and summary orchestration. - Local transcription uses Whisper or Parakeet. Summaries use the configured local or cloud provider; do not assume every provider runs locally.
- Frontend code invokes Tauri commands; Rust emits events that update frontend state. Preserve existing command contracts, event payloads, and state ownership.
backend/is an unsupported legacy archive, not a runtime dependency or a place to add new application behavior. Its FastAPI/CORS behavior is not a supported production API.
See architecture and audio pipeline, including frontend/native communication and model management.
Development Commands
Use pnpm 9.15.9. Run these commands from frontend/:
Before running desktop dev/build commands, complete the first-run sidecar setup. Installing frontend dependencies alone does not stage llama-helper.
| Command | Purpose |
|---|---|
pnpm install --frozen-lockfile |
Install the committed dependency set |
pnpm run tauri:dev |
Run the full desktop app |
pnpm run tauri:build |
Build the desktop app for production |
Use the Tauri app for development and validation; a standalone Next.js server does not exercise native commands, audio, or permissions.
See build and platform setup, development commands and debugging, and GPU acceleration for prerequisites and platform-specific options. After sidecar preparation, prefer the package scripts over clean-run wrappers, which can remove dependencies and generated output.
Working in This Repository
- Read the relevant source before editing and follow existing patterns. Keep changes focused on the requested problem.
- Implement native behavior through existing Rust services and Tauri commands/events. Check callers and listeners when changing an interface.
- Check source and configuration before repeating technical examples or assumptions from documentation.
Engineering Guardrails
- Preserve both audio outputs: recordings receive mixed audio, while transcription receives VAD-selected speech. A change to one path must not silently break the other.
- Preserve sample-rate conversions and the channel-drain/flush behavior during recording shutdown. Read the current pipeline and VAD implementation rather than assuming timing constants.
- Follow existing shared-state synchronization and async boundaries. Do not block async tasks or audio callbacks with expensive work.
- Use
perf_debug!()andperf_trace!()for hot-path logging that should disappear in release builds. Keep pipeline and worker diagnostics aggregated rather than adding per-chunk logs. - Reuse
AudioBufferPoolwhere applicable instead of adding avoidable audio-buffer allocations. - Use Tauri path APIs for application files; do not hardcode platform-specific paths. Preserve platform permission handling.
- Use "microphone" and "system" consistently for audio-device roles. Keep errors user-friendly and logs diagnostic without exposing private meeting content.
Source Map
| Area | Start here |
|---|---|
| Tauri entry point and command registration | lib.rs |
| Meeting persistence | database/ |
| Recording commands and lifecycle | recording_commands.rs, recording_manager.rs |
| Device discovery and platform configuration | devices/ |
| Audio permissions | permissions.rs |
| Audio capture | capture/ |
| Mixing, resampling, and VAD | pipeline.rs, vad.rs |
| Recording output | recording_saver.rs |
| Transcription providers and workers | transcription/ |
| Whisper model loading and acceleration | whisper_engine/ |
| Parakeet model loading and inference | parakeet_engine/ |
| Summary providers and orchestration | summary/ |
| Recording UI and shared frontend state | page.tsx, SidebarProvider.tsx, RecordingStateContext.tsx |
Verification and Privacy
- Exercise the changed path in the Tauri app when application behavior changes. Check relevant platform permissions, devices, and models for native/audio work.
- Use existing frontend tests under
frontend/tests/and Rust tests for the affected subsystem. Inspect their runner and configuration before choosing commands; do not assume apnpm testscript exists. - For documentation-only changes, check links and any changed commands or configuration rather than building the app unnecessarily.
- Report exactly what ran, observed results, the platform, and what remains untested. Never invent build, test, or hardware results.
- Use synthetic or redacted reproduction data. Never share private recordings, transcripts, credentials, or unredacted logs and attachments.
Issues, PRs, and Authorization
- When preparing an issue or PR, read and follow CONTRIBUTING.md for duplicate searches, coordination with existing work, branch targets, review expectations, and submission requirements. Local-only edits and investigations do not require a GitHub duplicate search.
- Do not commit, push, create issues or PRs, or post comments without explicit user authorization for that action. Permission to edit locally is not permission to publish.
- Before requesting publication authorization, provide related issue/PR links, a concise change explanation, verification results, and known limitations.