andrewdavidmackenzie / pigg

GUI for remote control of Raspberry Pi GPIO hardware
Apache License 2.0
214 stars 8 forks source link

Move piggui networking code into a module or crate #546

Open andrewdavidmackenzie opened 4 weeks ago

andrewdavidmackenzie commented 4 weeks ago

This would enable the use of the code to connect and interact with a piglet/porky to be used in other places, such as a CLI, or integration with HomeAssistant or other apps, without having to do the networking part all over again.

Problem would be the tch_helper and iroh_helper code, and some serializations/deserialization, maybe some file loading and saving methods also.

andrewdavidmackenzie commented 3 weeks ago

Probably would make sense to implement #505 first

andrewdavidmackenzie commented 5 days ago

Not sure why I didn't do a module in that networking folder.

If I do that it could be merged and used by both piggui and piglet