linux-corsair-lighting-node-core-control icon indicating copy to clipboard operation
linux-corsair-lighting-node-core-control copied to clipboard

Create a service API

Open khor0 opened this issue 5 years ago • 3 comments

Hi,

First of all, I'd like to thank you for this project. I use Linux as my main OS and these RGB were getting anoying.

I'm a programmer myself and I'd like to contribute to this project.


I want to give some suggestions:

  1. I'd like to have a service (systemd is fine by me) which could recieve commands from command line to set the colors, frequency, etc.
  2. I'd like to create an graphical user interface for this (with Electron, because this is already in JS/TS)
  3. I'd like to improve the documentation over this. Maybe start the wiki?

I hope to hear from you. Regards

EDIT: A point 4 would be having the binary/source in /opt (for example) and having a config file in /etc.

khor0 avatar Mar 03 '20 01:03 khor0

Hey, great to hear!

Points 1,2, and 3 are all great ideas. I’m not opposed to 4, however I would like to plan out how a config file in /etc would affect point 1.

Is there anything specific that you would like to contribute to first?

bobrown101 avatar Mar 03 '20 02:03 bobrown101

In my head, point 4 defines whatever the system is initially configured to. In the command line you should be able to save the current settings, like in firewalld.

In firewalld you can make changes to your firewall rules and then save the runtime configuration to a permanent state.

khor0 avatar Mar 03 '20 02:03 khor0

I like that idea. Luckily just last week I had to interact with firewalld for the first time so this actually means something to me.

I like the idea of exporting configs via stdout and importing configs via stdin. If we can keep that similarity between this service api and firewalld I would be happy.

bobrown101 avatar Mar 03 '20 02:03 bobrown101