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.
712b4293-bbc4-40ec-bb84-e50f4ef7d30e.mp4
To install and run the application, follow the instructions below:
-
Clone the repository using Git:
git clone https://github.com/dotvignesh/CmdF.git
-
Change into the repository directory:
cd CmdF
-
Create a conda environment:
conda create --name cmdf
-
Activate the new conda environment:
conda activate cmdf
-
Install the required packages:
pip install -r requirements.txt
-
Install whisper.cpp (if not already installed):
- Go to whisper.cpp repo
- Follow the instructions to set up and install whisper.cpp
-
Set
whisper_path
inmain.py
to your whisper.cpp installation location -
Run the application from your terminal:
python main.py
The application should now be running in the background.
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!