Skip to content

nichoffs/tvn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Terminal Voice Navigator

Voice-to-shell program, all in a single shell script.

Requirements

  • mac
  • sox (for rec)
  • ollama with phi3 installed
  • whisper.cpp - I didn't include it in git repo but it is in lib/whisper.cpp/ in my project. Clone there or change path to whisper.cpp in tvn.sh.

How it Works

  1. take mic input from user and save to wav
  2. pipe wav to whisper.cpp and transcribe to txt
  3. concatenate extracted text with system prompt
  4. prompt phi using ollama
  5. extract command between bash tags
  6. execute response as command

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages