MCOfficer / bitwarden-autotype

The missing desktop-autotype for Bitwarden. WIP and currently Windows-only.
MIT License
34 stars 1 forks source link

Linux support #33

Open jmattheis opened 2 years ago

jmattheis commented 2 years ago

It would be great if this tool could be supported on linux systems. This would probably require a rewrite of the gui part to use some kind of abstraction that supports linux / windows.

MCOfficer commented 2 years ago

The GUI part itself is using FLTK, which is cross platform. The big tickets are

  1. The system tray code. I'm not aware of any linux-specific crate that could make this happen, safe for massive frameworks a la GTK or Qt.
  2. The autotype code. I've tried repeatedly to make this work on X11, but couldn't manage it. That being said, there are crates for it, so it might be possible, or might have been possible at some point.
ruohki commented 2 years ago

you might have a look at https://github.com/tauri-apps/tauri - its like electron just ... in rust and alot smaller footprint. Brings Traybar support across linux, mac and windows. There is also a nice keyboard crate for crossplatform (well linux x11)

Edit: Tauri uses WebView2 wich is a required external dependency (aka needs to be installed on the system), but it will be part of windows 11. Otherwise its ~70meg download