WMAL / Linux-Kodachi

Linux Kodachi is a security-focused operating system designed for users who value privacy, anonymity, and a secure computing experience. Developed by Warith Al Maawali, Kodachi provides all the tools necessary for anonymous online activities while maintaining ease of use.
https://www.digi77.com/linux-kodachi/
284 stars 60 forks source link

convert newmac to gui #15

Closed batashi closed 3 years ago

batashi commented 5 years ago

@WMAL nice to see this milestone. I am interested in general . Can you suggest a script to start with.i hope [simple & important]

electron is good for this but for end user it's not a big difference if I start with Java, while it's available in base system. >> I prefer because : a. I know much
b. easy to track complexity. c. FXML is lovely GUI. d. cross platform. we can use this final tool across other distros. no GUI barriers.

If we agreed about which framework to use.

from your side please .

  1. select script to try
  2. describe & doc

from my side.

  1. design prototype
  2. coding GUI
WMAL commented 5 years ago

Dear Ahmed,

When it comes to security I would rather not use Java the have tons for security flaws.

If you are not ok with python which is very easy u can use shell script directly with electonjs

a script to start with mac address tools

its located in /home/kodachi/.kbase/newmac

or /home/kodachi/.kbase/domaincontrol

Both are very simple to understand

batashi commented 5 years ago

welcome @WMAL , Good. it's a chance to learn electron and python. let's see.

batashi commented 5 years ago

while this , can you update github to latest Kodachi version.

batashi commented 5 years ago

@WMAL kindly check newmac prototype. image

seeking your feedback

batashi commented 5 years ago

@WMAL static UI created based on prototype.

no shell linking till now.

image

WMAL commented 5 years ago

That's awesome Ahmed for the code just download the iso it has all the latest code I will update here later when I have time.

How are you going to link that with shell ? Can you do it directly or u need python in between I guess

batashi commented 5 years ago

I prefer to work directly with Shell. Will see and back to you.

batashi commented 5 years ago

Dear @WMAL Current issue : newmac is responsive cli tool. for future updates we should keep it running for same base code. cli and gui .

Currently I couldn't pass parameters to newmac tool.

for example : image

error : image

my current action is reading newmac script and select parts needed within electronjs and write another code here. it's decoupled our efforts.

seeking your suggestions.

WMAL commented 5 years ago

Hi, Why do you need to pass parameter into the shell code your best way is to run shell code within electronjs if not possible then via pyhton it can be done easily.

Back end should be integrated with front end in single code if possible

batashi commented 5 years ago

@WMAL , by run newmac shell script, it's only show main screen which is select option. I cannot control from outside (electronjs or any other programming tool)

at all I see electronjs not well ready for work with shell by default.
I have try shelljs which is good for nodeJS but not for electronjs because exec bash script directly not work. and need more work around.

by next time. I will see how I can complete with electronJS or see an alternative.

If you want see my code there is gui_newmac folder in .kbase in my fork.

WMAL commented 5 years ago

Thx Ahmed I will check the code