kalaksi / lightkeeper Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
How to add a new machine?
Pretty much the title, I mainly use ssh key with passphrase and lightkeeper doesn't support that.
A list of tasks you can do if you want to help the project.
Also you can check out the issues section for bug reports!
Dont forget to reference this issue when submitting a task fixing PR!
src/cache.rs:62
src/command_handler.rs:345,356
monitor_manager.rs
): src/command_handler.rs:401,450,483
src/command_handler.rs:451
remote_text_editor
and text_editor
are valid executables: src/configuration.rs:44,46
src/connection_manager.rs
src/file_handler.rs:92,99
src/frontend/frontend.rs
: src/frontend/frontend.rs:11
src/frontend/frontend.rs:35
src/frontend/qt/models/config_manager_model.rs:15
, src/frontend/qt/models/host_data_manager_model.rs:15
src/frontend/qt/models/config_manager_model.rs:632
src/frontend/qt/models/desktop_portal_model.rs:146,169
src/frontend/qt/models/theme_model.rs:48
src/frontend/qt/models/theme_model.rs:77
I collected those from code comments that are like this:
// TODO: blah blah blah
To view all comments like this, do this:
$ grep -n TODO $(find src -type f)
$> flatpak run io.github.kalaksi.Lightkeeper
[2023-09-10T09:57:46Z INFO lightkeeper] Lightkeeper starting...
[2023-09-10T09:57:46Z INFO lightkeeper::module::module_factory] Validating modules
[2023-09-10T09:57:46Z INFO lightkeeper::module::module_factory] Loaded 28 command modules, 19 monitoring modules and 2 connector modules
[2023-09-10T09:57:46Z INFO lightkeeper::configuration] Reading main configuration from /home/oktay454/.var/app/io.github.kalaksi.Lightkeeper/config/config.yml
[2023-09-10T09:57:46Z INFO lightkeeper::configuration] Reading host configuration from /home/oktay454/.var/app/io.github.kalaksi.Lightkeeper/config/hosts.yml
[2023-09-10T09:57:46Z INFO lightkeeper::configuration] Reading group configuration from /home/oktay454/.var/app/io.github.kalaksi.Lightkeeper/config/groups.yml
Gtk-Message: 12:57:46.408: Failed to load module "xapp-gtk3-module"
Gtk-Message: 12:57:46.427: Failed to load module "canberra-gtk-module"
Gtk-Message: 12:57:46.428: Failed to load module "canberra-gtk-module"
[2023-09-10T09:57:46Z WARN default] Qt: Session management error: Could not open network socket
[2023-09-10T09:57:46Z INFO lightkeeper::module::connection::ssh] Connected to 127.0.0.1:22
[2023-09-10T09:57:46Z WARN lightkeeper::module::connection::ssh] Password is not set, trying authentication with first key found in SSH agent
[2023-09-10T09:57:47Z ERROR lightkeeper::monitor_manager] [example-host] Error from monitor ping: oping::PingError::LibOpingError: İşleme izin verilmedi
Active connections are terminated when add/delete machine. There is no problem with one or two machines, but as the number of managed machines increases, opening closed connections will negatively affect the comfort of use.
Hi,
square icons are not really nice to see nowadays. I attach a rounded version.
You can easily get it by using ImageMagick:
$ convert io.github.kalaksi.Lightkeeper-128px.png \
\( +clone -alpha extract \
-draw 'fill black polygon 0,0 0,30 30,0 fill white circle 30,30 30,0' \
\( +clone -flip \) -compose Multiply -composite \
\( +clone -flop \) -compose Multiply -composite \
\) -alpha off -compose CopyOpacity -composite io.github.kalaksi.Lightkeeper-rounded.png
Also remember that only 128x128 icons are required for Flathub apps right now.
lightkeeper/src/frontend/qt/qml_frontend.rs
Line 103 in 8692eea
I'm trying to create a Nix derivation of this but found that always is used in the file://, so manually the qml must be copied to result derivation. If these resources are already in a rc, why not use that rc?
I would love to try out an application like this, but the idea of running it on my machine freaks me out since it would immediately have ssh access to a lot of servers which is insecure for obvious reasons
My point being is that there should be some independent reviews attached to every release/version. Of course everyone could just study the code for themselves but that's just basically too much work.
Also the readme has no explanation whatsoever what access level is required, and how the data is fetched.
Even though I deleted the ~/.var/app/io.github.kalaksi.Lightkeeper/
directory, it does not work after the update.
Debian 12 Gnome (X11)
flatpak run io.github.kalaksi.Lightkeeper
[2023-11-04T19:18:08Z INFO lightkeeper] Lightkeeper starting...
[2023-11-04T19:18:08Z INFO lightkeeper::module::module_factory] Validating modules
[2023-11-04T19:18:08Z INFO lightkeeper::module::module_factory] Loaded 30 command modules, 23 monitoring modules and 3 connector modules
[2023-11-04T19:18:08Z INFO lightkeeper::configuration] Created new main configuration file /home/USER_NAME/.var/app/io.github.kalaksi.Lightkeeper/config/config.yml
[2023-11-04T19:18:08Z INFO lightkeeper::configuration] Created new host configuration file /home/USER_NAME/.var/app/io.github.kalaksi.Lightkeeper/config/hosts.yml
[2023-11-04T19:18:08Z INFO lightkeeper::configuration] Created new group configuration file /home/USER_NAME/.var/app/io.github.kalaksi.Lightkeeper/config/groups.yml
[2023-11-04T19:18:08Z INFO lightkeeper::configuration] Reading main configuration from /home/USER_NAME/.var/app/io.github.kalaksi.Lightkeeper/config/config.yml
[2023-11-04T19:18:08Z INFO lightkeeper::configuration] Reading host configuration from /home/USER_NAME/.var/app/io.github.kalaksi.Lightkeeper/config/hosts.yml
[2023-11-04T19:18:08Z INFO lightkeeper::configuration] Reading group configuration from /home/USER_NAME/.var/app/io.github.kalaksi.Lightkeeper/config/groups.yml
[2023-11-04T19:18:08Z INFO lightkeeper::configuration] Updated main configuration file /home/USER_NAME/.var/app/io.github.kalaksi.Lightkeeper/config/config.yml
[2023-11-04T19:18:08Z INFO lightkeeper] Lightkeeper starting...
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: SendError { .. }', ../src/host_manager.rs:232:24
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[2023-11-04T19:18:08Z INFO lightkeeper::module::module_factory] Validating modules
[2023-11-04T19:18:08Z ERROR lightkeeper::connection_manager] Stopped receiver thread: receiving on a closed channel
[2023-11-04T19:18:08Z INFO lightkeeper::module::module_factory] Loaded 30 command modules, 23 monitoring modules and 3 connector modules
[2023-11-04T19:18:08Z INFO lightkeeper::configuration] Reading main configuration from /home/USER_NAME/.var/app/io.github.kalaksi.Lightkeeper/config/config.yml
[2023-11-04T19:18:08Z INFO lightkeeper::configuration] Reading host configuration from /home/USER_NAME/.var/app/io.github.kalaksi.Lightkeeper/config/hosts.yml
[2023-11-04T19:18:08Z INFO lightkeeper::configuration] Reading group configuration from /home/USER_NAME/.var/app/io.github.kalaksi.Lightkeeper/config/groups.yml
[2023-11-04T19:18:08Z WARN qt.qpa.xcb] could not connect to display
[2023-11-04T19:18:08Z INFO qt.qpa.plugin] Could not load the Qt platform plugin "xcb" in "" even though it was found.
[2023-11-04T19:18:08Z ERROR default] This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
[2023-09-17T20:05:13Z WARN default] Qt: Session management error: Could not open network socket
[2023-09-17T20:05:13Z INFO lightkeeper::module::connection::ssh] Connected to 127.0.0.1:22
[2023-09-17T20:05:13Z WARN lightkeeper::module::connection::ssh] Password is not set, trying authentication with first key found in SSH agent
[2023-09-17T20:05:13Z ERROR lightkeeper::connection_manager] [example-host] Error while connecting 127.0.0.1: Error when communicating with SSH agent: [Session(-18)] Username/PublicKey combination invalid
[2023-09-17T20:05:13Z WARN lightkeeper::monitor_manager] No response messages received for monitor _internal-platform-info-ssh
[2023-09-17T20:05:13Z ERROR lightkeeper::monitor_manager] [example-host] Error from monitor _internal-platform-info-ssh: Error while connecting: Error when communicating with SSH agent: [Session(-18)] Username/PublicKey combination invalid
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.