Straight to Full Documentation
The PWABuilder Whisper pwa-starter is based on our opinionated, best practices, production tested starter that we use to build all of our PWAs, including PWABuilder itself! The pwa-starter is a starter codebase, just like create-react-app or the Angular CLI can generate, that uses the PWABuilder team's preferred front-end tech stack. We also have a CLI tool to allow you to create a PWA template from the command line.
This "Whisper" version of the starter sets you up with all the code you need to use Whisper to transcribe audio and video, on your device using transformers.js, which uses Onnxruntime to run Whisper client-side on your device, no cloud needed.
After you have cloned this starter to your machine, run through the following steps.
Install Dependencies:
npm install
And then start developing your app with:
npm run dev
With that command, the app will open in the browser and will update when you make changes to the code. And that's it! Good luck on your Progressive Web App adventure!
With it you get an app that:
- Has no build system to set up and no boilerplate code to add. Everything is included out of the box.
- Has a Service Worker system using Workbox
- Scores close to 100 on Lighthouse out of the box
- Has everything needed to be installable in the browser
- Is ready to be package for the app stores using PWABuilder
- Uses the Azure Static Web Apps CLI which enables emulating your production environment locally, and gets you ready for deploying to Azure Static Web Apps!
and all with just a few button clicks 😊.