Urgent.News

What's breaking now, across hundreds of outlets.

Tech

I built a fully local alternative to Wispr Flow in Rust

I wanted dictation like Wispr Flow, but without the subscription and without my voice being uploaded to someone's cloud. So I built Hamsa, and it is now open source. How it works Hold Ctrl + Win, speak, let go, and the text is pasted into whatever app has focus. Your editor, a chat, a browser, an email, anywhere you can type. Double-tap the shortcut instead and it keeps listening hands-free: tap…

The author wanted dictation functionality similar to Wispr Flow, but without the subscription costs and without sending their voice data to a cloud server. As a result, they developed Hamsa, an open-source alternative that is now available on GitHub.

Hamsa works by utilizing a shortcut key combination (Ctrl + Win) to start dictating. As the user speaks, their words appear in real-time above a small floating bar. To end the dictation, the user can tap the shortcut once. Esc can be pressed to cancel the current dictation session.

Under the hood, Hamsa uses Phonon, a pure Rust implementation of the Parakeet-TDT speech model. This engine runs on the user's GPU through wgpu when available, falling back to a CPU-based implementation if necessary. All processing occurs locally on the user's PC, meaning no account or subscription is required, and the user's voice and transcribed text remain on their machine.

Hamsa's dictionary, snippets, notes, and history are all stored locally. The application allows users to teach it specific words and phrases to spell correctly or to replace, as well as add replacements. Additionally, Hamsa supports snippet insertion through short cues. It also offers style rules, such as automatic removal of filler words, conversion of spoken lists into bulleted lists, and smart punctuation adjustments.

For users who want an additional layer of processing, Hamsa offers an optional small local language model for smart cleanup. Furthermore, there are optional Moroccan Darija speech models available. Setting up Hamsa is a five-step process that begins quietly in the system tray and can be customized with light or dark themes.

Currently, Hamsa is in beta and only supports Windows 10/11. It is built using Rust and the Slint UI toolkit and is licensed under the Apache 2.0 license. The project's GitHub repository can be found at https://github.com/mostafadrazy/hamsa, and a demo video is available at https://mostafadrazy.github.io/hamsa/.

The author invites feedback, particularly from frequent dictation users, and asks readers to consider what features would make them switch from their current dictation solution.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Ratchet: A Closed-Loop Verification Gate That Turns PRDs into Live Browser Proof

AI coding agents are great at writing code, but they love saying "it's done" the moment unit tests pass—without ever checking if the app actually works in a real browser.

  • Ratchet verifies software meets all requirements in a live browser before locking.
  • It reads PRD and matches acceptance criteria against Kane CLI's design and coverage state.
  • Ratchet uncovers real browser issues missed by unit tests, like URL assertion problems.

I built a death-chest plugin for Minecraft that never eats your items (Paper 1.21)

I lost a full diamond kit to a lava pool one time too many, so I built GraveGuard — a death-chest plugin for Paper 1.21.x that drops a protected grave where you die instead of scattering your items…

  • GraveGuard prevents item loss upon death in Minecraft
  • Protects items in a grave at death location with hologram timer
  • Customizable settings include protection duration and despawn options

More from Tuesday 24 November →