Skip to content

dotvignesh/CmdF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CmdF

CmdF is a terminal app that allows you to search and seek through YouTube videos using the power of whisper.cpp and fuzzy string matching.

Demo

712b4293-bbc4-40ec-bb84-e50f4ef7d30e.mp4

Installation

To install and run the application, follow the instructions below:

  1. Clone the repository using Git:

    git clone https://github.com/dotvignesh/CmdF.git
  2. Change into the repository directory:

    cd CmdF
  3. Create a conda environment:

    conda create --name cmdf
  4. Activate the new conda environment:

    conda activate cmdf
  5. Install the required packages:

    pip install -r requirements.txt
  6. Install whisper.cpp (if not already installed):

    • Go to whisper.cpp repo
    • Follow the instructions to set up and install whisper.cpp
  7. Set whisper_path in main.py to your whisper.cpp installation location

  8. Run the application from your terminal:

    python main.py

The application should now be running in the background.

Usage

Once the app is running, go to the video you want to search through, and hit F9 (NOTE: the video will be downloaded and transcribed in the background - time varies depending on video length)

After the video has been processed, hit Cmd + F, type in your query, and press F10 Voila, the exact location in the video will be opened in a new tab!!

Enjoy searching and skimming through your videos!

About

CmdF is a terminal app that allows you to search and seek through YouTube videos using the power of whisper.cpp and fuzzy string matching.

Resources

Stars

53 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages