How snansrin/sonalore works
SonaLore is a local-first audio/video transcription and meeting-review application, delivered through a native Tk desktop and a compatible CLI. Users select media, run transcription (optionally with speaker separation and noise cleanup), then search, review, correct, summarize, and archive reports as offline HTML and transcript files. The graph preserves README-described archive, speaker, and local-AI capabilities. Some desktop and CLI excerpts are partial; uncertain internal links are omitted. External model services are shown only where the excerpts establish their use.
Main entry points: cli.py CLI commands · desktop.py Studio desktop · core.py Transcription engine · summary.py Meeting notes
Components 18
User interfaces
- Studio desktop
sonalore/desktop.py - CLI commands
sonalore/cli.py
Media analysis
- Transcription engine
sonalore/core.py - Runtime checks
sonalore/runtime.py - Progress and cancel
sonalore/progress.py - Speaker separation
sonalore/speakers.py
Reports and review
- Meeting notes
sonalore/summary.py - HTML reports
sonalore/report.py - Transcript editor
sonalore/transcript_editor.py - Correction workflow
sonalore/corrections.py - Search and playback
sonalore/review.py
Local data and privacy
- Report archive
sonalore/archive.py - Private data paths
sonalore/privacy.py
Other components
- User
- Audio/video files
- Local Ollama
- Whisper models
- Pyannote models
Connections 23
- User → Studio desktop: selects media
README.md - User → CLI commands: runs command
README.md - Studio desktop → CLI commands: launches job
sonalore/desktop.py - CLI commands → Audio/video files: reads files
sonalore/cli.py - CLI commands → Transcription engine: runs analysis
sonalore/cli.py - Transcription engine → Whisper models: transcribes audio
sonalore/core.py - Transcription engine → Runtime checks: checks CUDA
sonalore/core.py - Transcription engine → Progress and cancel: reports stages
sonalore/core.py - CLI commands → Speaker separation: prepares speakers
sonalore/cli.py - Speaker separation → Pyannote models: uses diarization
- CLI commands → Meeting notes: creates notes
sonalore/cli.py - Meeting notes → Local Ollama: requests local notes
sonalore/summary.py - CLI commands → HTML reports: renders report
sonalore/cli.py - Studio desktop → Report archive: manages reports
sonalore/desktop.py - Studio desktop → Transcript editor: opens editor
sonalore/desktop.py - Transcript editor → Correction workflow: validates edits
sonalore/transcript_editor.py - CLI commands → Correction workflow: revises transcript
sonalore/cli.py - Correction workflow → Meeting notes: refreshes notes
sonalore/corrections.py - Correction workflow → HTML reports: rerenders report
sonalore/corrections.py - Studio desktop → Search and playback: supports review
sonalore/desktop.py - Search and playback → Audio/video files: plays excerpts
sonalore/review.py - CLI commands → Private data paths: configures local data
sonalore/cli.py - Meeting notes → Private data paths: checks model
sonalore/summary.py