Skip to content

Latest commit

 

History

History
70 lines (41 loc) · 1.55 KB

README.md

File metadata and controls

70 lines (41 loc) · 1.55 KB

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!