# Whisper Web: ML-Powered Speech Recognition Directly in Your Browser

This repository profile is provided by osrepos.com, an open source repository discovery platform.

Source: osrepos.com
Repository profile: https://osrepos.com/repo/xenova-whisper-web
Generated for open source discovery and AI-assisted research.

Whisper Web brings powerful, ML-powered speech recognition directly to your browser, leveraging ? Transformers.js. This innovative project allows for client-side audio processing, offering privacy and efficiency without relying on cloud services. It even includes experimental WebGPU support for accelerated performance.

GitHub: https://github.com/xenova/whisper-web
OSRepos URL: https://osrepos.com/repo/xenova-whisper-web

## Summary

Whisper Web brings powerful, ML-powered speech recognition directly to your browser, leveraging ? Transformers.js. This innovative project allows for client-side audio processing, offering privacy and efficiency without relying on cloud services. It even includes experimental WebGPU support for accelerated performance.

## Topics

- javascript
- transformers
- whisper
- typescript
- speech recognition
- machine learning
- browser-based
- webgpu

## Repository Information

Last analyzed by OSRepos: Fri Dec 05 2025 00:01:26 GMT+0000 (Western European Standard Time)
Detail views: 6
GitHub clicks: 3

## Safety Notice

OSRepos shares public repositories for knowledge and discovery only. Review source code, dependencies, licenses, and security implications before running or installing anything.

## Content

## Introduction

Whisper Web, developed by Xenova, offers cutting-edge, ML-powered speech recognition directly within your web browser. This project leverages the power of [? Transformers.js](https://github.com/xenova/transformers.js) to perform complex machine learning tasks entirely client-side, eliminating the need for server-side processing. It's designed for privacy and efficiency, allowing users to transcribe audio without sending data to external servers. Furthermore, Whisper Web includes experimental WebGPU support, enabling GPU acceleration for even faster transcription directly in compatible browsers.

## Installation

To get Whisper Web running locally, follow these simple steps:

1.  **Clone the repository and install dependencies:**

    bash
    git clone https://github.com/xenova/whisper-web.git
    cd whisper-web
    npm install
    

2.  **Run the development server:**

    bash
    npm run dev
    

    *Note for Firefox users: You may need to change the `dom.workers.modules.enabled` setting in `about:config` to `true` to enable Web Workers. More details can be found in [this issue](https://github.com/xenova/whisper-web/issues/8).* 

3.  **Open the link** (e.g., [http://localhost:5173/](http://localhost:5173/)) in your browser.

## Examples

Experience Whisper Web in action through its live demos:

*   **Main Demo Site:** [https://huggingface.co/spaces/Xenova/whisper-web](https://huggingface.co/spaces/Xenova/whisper-web)
*   **Experimental WebGPU Demo:** [https://huggingface.co/spaces/Xenova/whisper-webgpu](https://huggingface.co/spaces/Xenova/whisper-webgpu)

## Why Use It?

Whisper Web stands out for several compelling reasons:

*   **Client-Side Processing:** All speech recognition happens directly in the user's browser, enhancing privacy and enabling offline functionality.
*   **Performance:** With experimental WebGPU support, it can leverage your device's GPU for significantly faster transcription speeds.
*   **Ease of Integration:** Built with TypeScript and JavaScript, it's straightforward to integrate into web applications.
*   **Open Source:** Licensed under MIT, it's free to use, modify, and distribute.

## Links

*   **GitHub Repository:** [https://github.com/xenova/whisper-web](https://github.com/xenova/whisper-web)
*   **Main Demo Site:** [https://huggingface.co/spaces/Xenova/whisper-web](https://huggingface.co/spaces/Xenova/whisper-web)
*   **Experimental WebGPU Demo:** [https://huggingface.co/spaces/Xenova/whisper-webgpu](https://huggingface.co/spaces/Xenova/whisper-webgpu)
*   **Transformers.js:** [https://github.com/xenova/transformers.js](https://github.com/xenova/transformers.js)