Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hugo-dz/on-device-transcription

A ready-to-use, minimal app that converts any speech into text.
https://github.com/hugo-dz/on-device-transcription

ai-transcription electronjs on-device-ai svelte sveltekit transcription

Last synced: 25 days ago
JSON representation

A ready-to-use, minimal app that converts any speech into text.

Awesome Lists containing this project

README

        

# On-device Automatic Speech Recognition


App Screenshot

### About

A ready-to-use, minimal app that converts any speech into text, processed entirely locally using [Ratchet](https://github.com/huggingface/ratchet). You can deploy it as a website or build it as a desktop application.
Try the web version [here](https://huggingface.co/spaces/HugoDzz/ratchet-demo).

Important: This application requires access to the WebGPU API. If you're using it on the web, please ensure your browser supports WebGPU.

## Getting Started

### Prerequisites

- [Node.js](https://nodejs.org/en/)
- [Npm](https://docs.npmjs.com/getting-started)

### Run it locally

- Clone the project.

```bash
git clone https://github.com/Hugo-Dz/on-device-transcription.git
cd on-device-transcription
```

- Install the dependencies.

```bash
npm install
```

- Start the dev server

```bash
npm run dev
```

### Build the desktop application

- Build the Svelte application.

```bash
npm run build:svelte
```

- (optional) Start the Electron application in dev mode.

```bash
npm run dev:electron
```

- Build the Electron executable.

```bash
npm run build:electron
```

## Resources

- [OpenAI Whisper](https://openai.com/index/whisper/)
- [Ratchet SDK](https://github.com/huggingface/ratchet)
- [Electron with SvelteKit](https://github.com/mhkeller/sveltekit-electron)

## License

MIT License [Hugo Duprez](https://www.hugoduprez.com/)