hyprnote
hyprnote copied to clipboard
Linux support
how long it will take ? can we build it for linux?
Packaging-wise, please build as a Flatpak (https://docs.flatpak.org/en/latest/) and publish to the Flathub store (https://flathub.org/)
The other Linux packaging formats are either distribution-specific (rpm, deb, snap) or unreliable (appimage).
If you need help, I could contribute.
@imbev
The other Linux packaging formats are either distribution-specific (rpm, deb, snap) or unreliable (appimage).
Good to know. I don't know much about the Linux ecosystem.
Tauri has guide on flatpak(https://v2.tauri.app/distribute/flatpak), so I don't think we have problem with distribution.
Few things to do:
- [ ] Make app at least "running".(https://github.com/fastrepl/hyprnote/blob/main/CONTRIBUTING.md) Never tested on Linux. We might need to update https://github.com/fastrepl/hyprnote/blob/main/.cargo/config.toml.
- [ ] Implement Speaker capture for Linux(https://github.com/fastrepl/hyprnote/blob/main/crates/audio/src/speaker/linux.rs). Should be straightforward, using alsa-rs.
+1. Happy to test
yeah, I would help to test as well, as hyprnote is open source, I guess most tools it uses are already open source and available to linux like alsa, whisper or llama, perhaps the UI needs to be rewritten if it is using some mac-specific framework.
I would also be interested in testing this on Linux. I've done a few experiments with note taking and so far am still finding manual notes work better for me than AI but I saw your post on Hackernews and I'm interested.
If anyone interested in contributing Linux, we want to help you in any ways. Feel free to ping me here or at Discord!
Any updates on flathub?
I guess the Detectors have to be adjusted as well. At least there is only a stub for windows and none at all for Linux.
I created a branch, where I added also installation notes (what worked for me) and modifications to the source code to make the compilation work: https://github.com/BenediktBurger/hyprnote/tree/linux-development
can i use WSL instead for the linux installation?
Any update on Linux support?
I guess the Detectors have to be adjusted as well. At least there is only a stub for windows and none at all for Linux.
I created a branch, where I added also installation notes (what worked for me) and modifications to the source code to make the compilation work: https://github.com/BenediktBurger/hyprnote/tree/linux-development
Thanks for the start here @BenediktBurger
To save others some legwork trying to run that code, I can compile on Linux and start the app. However, while it works with the mic it doesn't yet support system sounds (i.e. won't pick up what others say in a video call) -- this is only stubbed in the code.
This would be nice. Maybe an AppImage would do the job...
BTW, I tried the [podman,docker] compose way, and it failed with the admin-caddy container:
Podman compose:
Error: short-name "caddy:2-alpine" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf"
fa79ae99b606cf8a6624da60e8fb9425174f0fb2288a8ed83d507a58a0334694
1cd41737fa79b557de8e8b45ec26b05ad62c29af985d2a99ed2c8ec005e8bc0a
[caddy] | Error: no container with name or ID "admin-caddy" found: no such container
Docker compose:
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/home/remy/hyprnote/hyprnote-desktop_v0.0.83/caddy/Caddyfile" to rootfs at "/etc/caddy/Caddyfile": mount src=/home/remy/hyprnote/hyprnote-desktop_v0.0.83/caddy/Caddyfile, dst=/etc/caddy/Caddyfile, dstFd=/proc/thread-self/fd/39, flags=MS_BIND|MS_REC: not a directory: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
Best
#1659 i did some stuff to add linux support to the best of my knowlegde. i havent testet it mutch jet but im gonna do so soon
https://github.com/PythonTilk/hyprnote/releases/tag/v0.0.63-linux releases for every major distro are published
Hey there ! Could install the debian package and launch the app, so great to have it ! But unfortunately it does not seem to support actual recording properly yet :/
I experienced recording issues on NVIDIA. On my laptop however it worked sometimes. Sometimes it does not 😂
@PythonTilk just tried your branch, and unfortunately on Arch / Pipewire (with Nvidia dGPU), recording didn't work at all.
We now have pipeline for Linux build from v1.0.0-nightly.7.
Audio thing not functional yet just like @patrykgz mentioned.
@patrykgz I will look into audio Today.
Looking forward to seeing this released. One thing I would consider, the "hypr" prefix is often associated with hyprland and it's associated projects.