andrewdavidmackenzie / pigg

Raspberry Pi GPIO GUI
Apache License 2.0
208 stars 8 forks source link

Move piggui "host" code into a library crate #546

Open andrewdavidmackenzie opened 2 weeks ago

andrewdavidmackenzie commented 2 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 2 weeks ago

Probably would make sense to implement #505 first