Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/hugo-dz/on-device-transcription
- Owner: Hugo-Dz
- License: mit
- Created: 2024-06-22T15:37:10.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-05T12:56:22.000Z (4 months ago)
- Last Synced: 2024-10-11T18:02:13.890Z (25 days ago)
- Topics: ai-transcription, electronjs, on-device-ai, svelte, sveltekit, transcription
- Language: JavaScript
- Homepage:
- Size: 2.95 MB
- Stars: 338
- Watchers: 3
- Forks: 27
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# On-device Automatic Speech Recognition
### 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/)