npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

mc-whisper-ui

v1.0.5

Published

CLI to transcribe video with Whisper and show a Tailwind + Monaco UI

Downloads

23

Readme

🎧 Whisper UI CLI

Transcribe any video file using OpenAI Whisper and instantly open an interactive web UI to view and edit the transcript alongside the video — powered by Tailwind CSS + Monaco Editor. Version License Node Monaco


🚀 Overview

whisper-ui is a Node.js command-line tool that:

  1. Runs the Whisper CLI to transcribe a video (.mp4, .webm, etc.).

  2. Generates a beautiful local web UI to:

    • Watch the video
    • View and edit the transcript using Monaco Editor
    • Toggle between dark/light mode
    • Download the transcript as .txt
  3. Spins up a local Express server and opens your browser automatically.

Full Wokflow for Video Based Coaching


🧩 Features

  • 🎤 Transcribe video/audio using OpenAI Whisper
  • 🧠 Choose your model: base, small, medium, large-v3, etc.
  • 🌍 Optional language specification
  • 💻 Built-in Tailwind + Monaco-based transcript editor
  • ☁️ One-command local web server
  • 🌓 Dark & light mode toggle
  • 💾 Download your edited transcript instantly

🛠️ Installation

1. Prerequisites

  • Node.js ≥ 18

  • OpenAI Whisper installed and available in your $PATH

    pip install -U openai-whisper
  • FFmpeg installed (required by Whisper)

    brew install ffmpeg

2. Install the CLI

npm install -g mc-whisper-ui

Then run:

whisper-ui --help

💡 Usage

Basic Example

whisper-ui -v demo.mp4

This will:

  1. Run Whisper with the large-v3 model (default)
  2. Save transcript + UI in ./whisper-out
  3. Launch a browser window at http://localhost:3000

Options

| Flag | Description | Default | | -------------------- | ----------------------------------------------------- | --------------- | | -v, --video <path> | Path to video file (.mp4, .webm, etc.) | (required) | | -m, --model <name> | Whisper model (base, small, medium, large-v3) | large-v3 | | -o, --out <dir> | Output directory for transcript and UI | whisper-out | | -p, --port | Port to run the UI server on (default: "3000") | 3000 | | --lang <lang> | Language code (e.g. en, fr, es) | (auto-detect) |


Example with custom model and language

whisper-ui -v lecture.mp4 -m small -o transcripts --lang en

📂 Output Structure

After running, you’ll see:

whisper-out/
├── demo.mp4
├── demo.txt
├── index.html
└── server.js
  • demo.txt → Whisper-generated transcript
  • index.html → Tailwind + Monaco UI
  • server.js → Simple Express static server (auto-generated if missing)

🖥️ UI Preview

| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | | Whisper UI Screenshot |


⚙️ Local Server

If you stop the auto-launched server, you can restart it manually:

node server.js whisper-out

Then open http://localhost:3000


🧑‍💻 Developer Notes

  • The HTML UI is auto-generated with:

    • Tailwind CDN
    • Monaco Editor via JSDelivr
  • All files are self-contained — no external build steps needed.

  • You can customize server.js for your needs.


🧾 Example Workflow

# 1. Transcribe a video
whisper-ui -v interview.mp4 -m small

# 2. Edit transcript in your browser
# (auto-opens http://localhost:3000)

# 3. Download your edited transcript
# (click "Download Transcript" in the UI)

🧠 Troubleshooting

| Issue | Fix | | ---------------------------- | ---------------------------------------------------- | | whisper: command not found | Install Whisper via pip install -U openai-whisper | | Failed to start server | Ensure port 3000 is free or edit server.js | | No transcript generated | Check Whisper logs; try a smaller model like small | | Browser doesn’t open | Manually visit http://localhost:3000 |


📜 License

MIT © Mohan Chinnappan


❤️ Acknowledgements