A few months ago, the YaST team released cockpit-wicked. Compared to YaST, this module contains a pretty simple data model, but there is still some duplication with YaST logic.
The idea of this project is to write some simple logic and try to reuse the same code from a YaST-like application and a web-based one (like Cockpit). Here is the (over-simplified) plan:
- Write a simple model that represents the network configuration (most probably, in Rust).
- Compile the model to WASM and try to use it from cockpit-wicked.
- Build a desktop/console UI that relies on this model too.
Goal for this Hackweek
To be honest, we do not plan to finish this project in a single week. However, we would like to achieve these goals:
- Find out how realistic is the overall approach (reusing logic in WASM and desktop apps). Try to identify threats and missing pieces.
- Learn the basics about WASM.
- Explore a GUI/TUI toolkit different from libyui that allows us to write some async code. We are not limited to Rust for this part.
You can find the outcome of this project in the y3network repository.
This project is part of:
Hack Week 20