Letās talk about productivity š - I use AI pretty frequently (duh, shocker! š). In VSCode, Github Copilot works pretty well, but still from a case to case, after it does a bunch of suggestions and alterations - some things still arenāt as perfect as Iād expect. I find myself constantly explaining to AI simple things:
Or,Ā outsideĀ of the VSCode, when Iām just brainstorming some ideas with ChatGPT or Claude, I find myself typing and typing and typing, essays of pages, running prompts, back and forward.
Typing takes too much time - I tend to gravitate to AI Mic-input built-in the OpenAI Mobile App (because they use Whisper). So, I found myself starting a conversation on the š±phone app, and then continuing it via the š„ļøĀ webĀ (desktop) - and I really liked it. When it was about more nuanced things - Iād use typing, but when I want to dive into deep explanations and I want to output pages of content to AI, voice would be my go-to tool.
Whatās the alternative?
Huh, this brings me here š
Idea was - take an existing self-hosted web-service, built aroundĀ Whisper, and extend it with a small UI / Interface that would do exactly what I needed.
My target was:Ā https://github.com/ahmetoner/whisper-asr-webservice
My fork š became:Ā https://github.com/HumanFace-Tech/whisper-asr-with-ui
Hereās the result, with an example:
The goal? šÆ Say it once, paste it anywhere - VSCode, Slack, Jira, emails - without having to fiddle around.
Below Iāll get into details of how it works, and how you can install and customize it for your own needs.
Letās first analyze where we want to get:
So, our steps are:
I usedĀ https://github.com/ahmetoner/whisper-asr-webserviceĀ - this is a neat little web-service wrapper around whisper. It has various engines and models to choose from. I did use it ~1 year ago in theĀ OrangePi AI Assistant project.
So, I forked it, and adjusted a few bits here and there. Final project is -Ā https://github.com/HumanFace-Tech/whisper-asr-with-ui
Most of my adjustments are explained in theĀ READMEĀ file of the project - and also steps on how to run it, but hereāsĀ TLDR: I createdĀ index.htmlĀ and modifiedĀ docker-compose.ymlĀ - in the end I use a smallĀ nginxĀ (I know, overkill! but hey, itās fast to configure, saves time and works well š) to feed my index.html on a specific port.
ā
For the setup to work, Iām also usingĀ Ollama, but you can use anything youāre comfortable with. Ollama turns raw transcriptions into polished prose with one smart prompt - transforming your messy thoughts into professional-looking text in seconds (like in the demo above). It even auto-corrects stuff. If you donāt have a local GPU - I highly recommend usingĀ https://groq.com/Ā - as itās blazing fast and powerful enough for the task.
If you want to alter the endpoint or pick a different model, just alter the HTML here:
https://github.com/HumanFace-Tech/whisper-asr-with-ui/blob/315ee7b325970f3240c49f3464aaa7f52b8f26f4/index.html#L332
Picking the right model for the job can be tricky - every time youāll change the model (env. variable in the docker-compose) - youāll need to down/up everything.
I know, itās pretty simple, not sexy - but Iām just sharing a tool Iām personally using daily š but check-out next steps š
~1 year ago I started working on a project calledĀ Whisper-AllĀ - itās a simple tray-based omni-present app, running on Windows / Linux / MacOS (because itās an Electron App) - that is the same concept as this thing, but itās configurable, will use keyboard shortcut combinations to capture audio anywhere and copy to clipboard.
Itās also open-source - I just need to find time to finish it. With that App - you can just paste your API keys fromĀ Groq, or run things locally (for privacy reasons) and increase your productivity.
Assuming agents will come along soon, would be a neat thing to have.
Letās keep in touch š


