philippejadin/arduino-cli-agent

too much dependencies ?

Closed this issue · 12 comments

Hi,
thanks for this work on arduino-cli. I tried but I have a problem with tkinter.
Is it necessary to install so many modules ? Can we have a 'light' version please ?
Many thanks.

agreed, I was trying to make a simple gui to check the server status, but it add so much bloat that I think too that it's a bad idea. A simple terminal will do, after all we can do ascii art :-)

I just pushed a new version without this dependency. It should be light. In order to test, check the readme it's not accurate. I still need to check if it works on windows (correct path to arduino-cli.exe)

I could test in few days I think. But as I know nothing in Python programming, I can't help but here is a project from a Blockly@rduino's contributor: https://github.com/nbremond77/rDuino-Compiler-Uploader-Server
Maybe this could help...

I'll release something working probably today. I keep both versions, but I start to quite like nodejs to be honest :-) I can make binaries for the 3 platform (windows, linux, mac) with a simple command line, and it works well.

I'll post here when it's ready.

first exe to test here : https://github.com/philippejadin/arduino-cli-agent/releases/tag/0.1

Beside, I added some more docs in the readme

I just updated the exe. It now donwloads arduino-cli automatically for you. This one should be already quite fail proof :-)

Doesn't work on Windows 7 x64. Connected through nothing....no proxy.

pb

Yes, I managed to introduce a bug in the latest attempt.
What would be the best way to distribute the arduino-cli binary do you think? Provide everything (start.exe + arduino-cli.exe) in a zip file ?

I think it's easier for newbies...a complete package to start maybe ?
I think an installer with donwloading elements would be useful when everything will be ok.

can you try once more? Now there is a zip file. Still need to add the examples folder but this can be downloaded from git (just for testing). Thanks!

Works well, also detected my 2 arduino 'unknwon' type...and cannot force it.
Could it be possible to send it as argument from Blockly@rduino ?
But embedded Python with script is more compatible, launch faster and takes half memory...

I create separate issues for those questions and close this one :-)