Skip to content
angad-kandhariPublic

About

🧚 speech to text notes that just work. Hotkey-triggered capture with local Whisper transcription, Ollama cleanup, and Obsidian integration.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

Β 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧚 Navi

Think out loud. Capture as notes.

Press a hotkey, speak your thoughts, and Navi transcribes them locally with Whisper, cleans them up with an LLM of your choice, and saves them as Markdown to your Obsidian vault.

v0.2: Now with Ask Navi for querying your voice notes with natural language!

macOS Python License

✨ Features

Feature Description
πŸŽ™οΈ Hotkey Triggered Press βŒ˜β‡§N to start/stop recording. No UI to navigate.
πŸ” Ask Navi Query your notes: navi ask "What did I say about Q3?"
πŸ”’ Privacy First Whisper runs 100% locally on your Mac. Your voice never leaves your device.
🧠 Flexible LLM Choose Ollama (local/free), OpenAI, Anthropic, or skip cleanup entirely.
🧹 Smart Cleanup Removes filler words, fixes incomplete sentences, extracts titles automatically.
πŸ“ Obsidian Ready Notes saved as Markdown with YAML frontmatter, ready for your knowledge graph.
πŸ”” Full Feedback Menubar icon, sound effects, and macOS notifications.
πŸš€ Auto-Start Optionally starts on login so it's always ready.
πŸ” Secure API keys stored in macOS Keychain, never in plain text.

πŸ“‹ Requirements

  • macOS with Apple Silicon (M1/M2/M3/M4)
  • Python 3.11+
  • 16GB+ RAM recommended for Whisper large-v3
  • Homebrew for installing dependencies

πŸš€ Quick Start

1. Install

# Clone the repo
git clone https://github.com/angad729/navi.git
cd navi

# Create virtual environment with Python 3.12
python3.12 -m venv .venv
source .venv/bin/activate

# Install Navi
pip install -e .

2. Setup

Run the interactive setup wizard:

navi setup

The wizard will guide you through:

  1. βœ… Installing dependencies (ffmpeg)
  2. 🎀 Choosing a Whisper model for your hardware
  3. πŸ“ Configuring your Obsidian vault path
  4. ⌨️ Setting your hotkey preference
  5. 🧠 Selecting your LLM provider
  6. πŸ”” Configuring notifications & sounds

3. Start

navi start

4. Capture

Press βŒ˜β‡§N (or your custom hotkey) to start recording. Press again to stop. Your thoughts are transcribed and saved to Obsidian! ✨

πŸ” Ask Navi (v0.2)

Query your voice notes using natural language:

# First, index your notes
navi index

# Then ask questions!
navi ask "What did I say about the Q3 launch?"
navi ask "Find all notes mentioning John"
navi ask "Summarize my thoughts on Project Atlas"

Ask Navi uses local embeddings (via Ollama or sentence-transformers) to find relevant notes, then synthesizes an answer using your configured LLM.

# Show raw results without LLM synthesis
navi ask --no-synthesis "budget discussions"

# Get more results
navi ask --top-k 10 "recent meetings"

# JSON output for scripting
navi ask --json "project updates"

Embedding Setup

Ask Navi needs an embedding model for semantic search:

Option 1: Ollama (Recommended)

ollama pull nomic-embed-text

Option 2: Sentence Transformers

pip install sentence-transformers

🧠 LLM Providers

Choose how your transcripts get cleaned up:

Provider Cost Privacy Setup
Ollama Free 100% Local brew install ollama && ollama pull llama3.1:8b
OpenAI ~$0.001/note Cloud API key required
Anthropic ~$0.002/note Cloud API key required
None Free N/A Raw transcription only

🎀 Whisper Models

Choose based on your hardware:

Model RAM Quality Speed Best For
large-v3 16GB+ ⭐⭐⭐⭐⭐ ⭐⭐ M1 Pro/Max or better
medium 8GB+ ⭐⭐⭐⭐ ⭐⭐⭐ M1/M2/M3/M4 base
small 4GB+ ⭐⭐⭐ ⭐⭐⭐⭐ Older Macs
base 2GB+ ⭐⭐ ⭐⭐⭐⭐⭐ Speed over accuracy

πŸ“– CLI Commands

Core Commands

navi setup      # Interactive configuration wizard
navi start      # Start the background daemon
navi stop       # Stop the daemon
navi status     # Check if Navi is running
navi config     # Show current configuration
navi test       # Test microphone, LLM, and Whisper
navi install    # Enable auto-start on login
navi uninstall  # Disable auto-start

Ask Navi (v0.2)

navi ask "your question"       # Query your voice notes
navi ask --top-k 10 "query"    # Get more results
navi ask --no-synthesis "q"    # Skip LLM, show raw results
navi ask --json "query"        # JSON output
navi index                     # Build/rebuild notes index
navi index --force             # Force re-index all notes

🧚 Menubar

When running, Navi shows an icon in your menubar:

Icon Status
🧚 Idle β€” ready to capture
πŸ”΄ Recording in progress
⏳ Processing your recording

Click the icon for quick access to recent notes, settings, and more.

πŸ“ Output Format

Notes are saved as Markdown with YAML frontmatter:

---
title: "Meeting with Design Team"
created: 2026-04-02T10:30:00
source: navi
type: note
duration: 45.2s
language: en
whisper_model: large-v3
---

# Meeting with Design Team

## Summary

- Key decision: New dashboard layout approved
- Action: @Sarah to create mockups by Friday
- Blocker: Waiting on API documentation

## Transcript

We discussed the new dashboard layout and agreed on...

βš™οΈ Configuration

Configuration is stored at ~/.config/navi/config.yaml:

hotkey:
  modifiers: [cmd, shift]
  key: n

whisper:
  model: large-v3
  language: en

llm:
  provider: ollama  # or: openai, anthropic, none
  ollama:
    model: llama3.1:8b
    host: http://localhost:11434

output:
  vault_path: /path/to/your/obsidian/vault
  subfolder: Navi/Notes
  filename_template: "{title} - {timestamp}"

feedback:
  sounds: true
  notifications: true
  menubar_icon: true

# Ask Navi configuration
ask_navi:
  embedding_provider: auto  # auto, ollama, sentence-transformers
  ollama_model: nomic-embed-text
  st_model: all-MiniLM-L6-v2

πŸ”§ Troubleshooting

Hotkey not working

Grant Accessibility permissions:

  1. System Settings β†’ Privacy & Security β†’ Accessibility
  2. Add Terminal.app or the Python executable

"Cannot access microphone"

Grant Microphone permissions:

  1. System Settings β†’ Privacy & Security β†’ Microphone
  2. Enable access for Terminal.app

"ffmpeg not found"

brew install ffmpeg

"Ollama not running"

ollama serve

Ask Navi returns no results

  1. Ensure notes are indexed: navi index
  2. Check index status: navi status
  3. Try broader search terms

Python version issues

Navi requires Python 3.11+. If your system default is too old:

python3.12 -m venv .venv
source .venv/bin/activate
pip install -e .

πŸ› οΈ Development

# Clone and setup
git clone https://github.com/angad729/navi.git
cd navi
python3.12 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev,ask]"

# Run tests
pytest

# Format code
black src/
ruff check src/

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“„ License

MIT License β€” see LICENSE for details.

πŸ™ Acknowledgments

  • Whisper by OpenAI for the incredible transcription model
  • mlx-whisper for Apple Silicon optimization
  • Ollama for making local LLMs accessible
  • rumps for the menubar framework

"Hey! Listen!" β€” Navi 🧚

About

🧚 speech to text notes that just work. Hotkey-triggered capture with local Whisper transcription, Ollama cleanup, and Obsidian integration.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages