hyprnote icon indicating copy to clipboard operation
hyprnote copied to clipboard

Linux support

Open yujonglee opened this issue 9 months ago • 21 comments

yujonglee avatar Mar 03 '25 05:03 yujonglee

how long it will take ? can we build it for linux?

Adamkaram avatar Apr 20 '25 08:04 Adamkaram

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 avatar Apr 20 '25 16:04 imbev

@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.

yujonglee avatar Apr 21 '25 11:04 yujonglee

+1. Happy to test

hirefrank avatar Jun 12 '25 23:06 hirefrank

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.

adocampo avatar Jun 27 '25 09:06 adocampo

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.

Teifion avatar Jul 30 '25 11:07 Teifion

If anyone interested in contributing Linux, we want to help you in any ways. Feel free to ping me here or at Discord!

yujonglee avatar Jul 30 '25 15:07 yujonglee

Any updates on flathub?

ngmisl avatar Aug 01 '25 06:08 ngmisl

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

BenediktBurger avatar Aug 07 '25 10:08 BenediktBurger

can i use WSL instead for the linux installation?

hptester1 avatar Sep 29 '25 01:09 hptester1

Any update on Linux support?

jamesvrt avatar Nov 05 '25 21:11 jamesvrt

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.

jamesvrt avatar Nov 05 '25 22:11 jamesvrt

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

remyd1 avatar Nov 06 '25 20:11 remyd1

#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

PythonTilk avatar Nov 12 '25 15:11 PythonTilk

https://github.com/PythonTilk/hyprnote/releases/tag/v0.0.63-linux releases for every major distro are published

PythonTilk avatar Nov 14 '25 22:11 PythonTilk

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 :/

dash00 avatar Nov 18 '25 09:11 dash00

I experienced recording issues on NVIDIA. On my laptop however it worked sometimes. Sometimes it does not 😂

PythonTilk avatar Nov 18 '25 19:11 PythonTilk

@PythonTilk just tried your branch, and unfortunately on Arch / Pipewire (with Nvidia dGPU), recording didn't work at all.

patrykgz avatar Nov 20 '25 09:11 patrykgz

We now have pipeline for Linux build from v1.0.0-nightly.7.

Audio thing not functional yet just like @patrykgz mentioned.

yujonglee avatar Nov 23 '25 10:11 yujonglee

@patrykgz I will look into audio Today.

PythonTilk avatar Nov 24 '25 05:11 PythonTilk

Looking forward to seeing this released. One thing I would consider, the "hypr" prefix is often associated with hyprland and it's associated projects.

Tylermarques avatar Dec 01 '25 21:12 Tylermarques