Skip to content

Add voice dictation with voxtype - #4088

Merged
dhh merged 24 commits into
devfrom
voxtype
Jan 6, 2026
Merged

dhh merged 24 commits into
devfrom
voxtype

Conversation

@dhh

@dhh dhh commented Jan 5, 2026 •

Copy link
Copy Markdown
Contributor

Add AI voice dictation using Voxtype that can be installed via Install > AI > Dictation, and which then shows up in the Waybar.

@peteonrails

Copy link
Copy Markdown
Contributor

I've been working to get voxtype ready enough for a PR to Omarchy for inclusion, so this work makes my day. First class support for this distribution is a priority of mine: happy to take any feedback, coordinate, or offer help. There is a new release today that includes icon themes (and manpages), one of the themes uses the default Omarchy fonts in the Waybar.

Comment thread bin/omarchy-install-voxtype Resolved
@dhh

dhh commented Jan 6, 2026

Copy link
Copy Markdown
Contributor Author

@peteonrails It would be nice if when we do "voxtype setup --download" that it doesn't give this scary sounding error after install:

image

@dhh dhh changed the title Try with voxtype Add voice dictation with voxtype Jan 6, 2026
@dhh

dhh commented Jan 6, 2026

Copy link
Copy Markdown
Contributor Author

@ryanrhughes Would be nice to get the AUR package onto the OPR.

@dhh

dhh commented Jan 6, 2026

Copy link
Copy Markdown
Contributor Author

@peteonrails Also would be nice if "voxtype setup model" would offer to adjust the config for a model that has already been downloaded. I've set that up on right click so it's easy to switch between models, but you have to redownload to be able to change the model.

@dhh
dhh merged commit 0d42f1b into dev Jan 6, 2026
@dhh
dhh deleted the voxtype branch January 6, 2026 12:00
@peteonrails

Copy link
Copy Markdown
Contributor

@peteonrails Also would be nice if "voxtype setup model" would offer to adjust the config for a model that has already been downloaded. I've set that up on right click so it's easy to switch between models, but you have to redownload to be able to change the model.

@dhh Thanks for that feedback - I didn't consider that use case and it makes total sense. Implementing it in the next build.

@dhh

dhh commented Jan 6, 2026

Copy link
Copy Markdown
Contributor Author

@peteonrails Would also be nice if we could hide these post-install instructions, since they don't apply to the Omarchy setup. Maybe --silence-post-install or something?

image

@dhh

dhh commented Jan 6, 2026

Copy link
Copy Markdown
Contributor Author

@peteonrails Also, when I'm testing this in a VM, I get a core dump:

image

Would be nice if there was a guard against whether you need from the system and a user friendly error message if this can't be setup.

@peteonrails

Copy link
Copy Markdown
Contributor

@peteonrails Would also be nice if we could hide these post-install instructions, since they don't apply to the Omarchy setup. Maybe --silence-post-install or something?
image

I can do that. Thinking of removing all of the post install stuff into a voxtype setup check subcommand.

@peteonrails

Copy link
Copy Markdown
Contributor

@peteonrails Also, when I'm testing this in a VM, I get a core dump:
image

Would be nice if there was a guard against whether you need from the system and a user friendly error message if this can't be setup.

Illegal Instruction is usually triggered when running on a Zen3 or earlier CPU using the AVX-512 build. Is it possible that in the VM, that /usr/bin/voxtype is symlinked to /usr/lib/voxtype/voxtype-avx512 instead of /usr/lib/voxtype/voxtype-avx2?

The AVX-512 Zen4 optimized binaries have been a real headache and I am considering removing them in future packages of voxtype-bin. That would lead to about a 10% performance hit, but only on CPU work: if you have opinions on that I'd certainly take them under advisement.

@dhh

dhh commented Jan 6, 2026

Copy link
Copy Markdown
Contributor Author

I'm seeing this on a MS-A2 with Zen5 cores running Proxmox. So it's probably the Proxmox layer that's causing problems? I don't actually need this to work from within Proxmox, but it would be nice if others who try don't just see a core dump.

@peteonrails

Copy link
Copy Markdown
Contributor

Following up here - I added a startup guard for the VM coredump seen above, and added --no-post-install and --quiet flags for the setup command (PR inbound for --no-post-install)

Additionally:
voxtype setup model will let you switch models without re-downloading.
voxtype setup model --set <modelname> updates the config without using the menu (must be present already)
voxtype setup model --set <modelname> --restart will restart the daemon after the update

Also updated the icon-theme to match the icons you set in your initial PR, expecting it to go unused by default.

Hopefully these enhancements are useful. Thanks again for giving this a go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants