# [Project] Framework Laptop Hub PY Edition - A Python-based Control Center for Framework Laptops 16 & 13 🚀

Hello everyone !

Following your votes, I see that customized profiles for RyzenADJ are the clear winner. I’ve already started implementing the features, but I’ve noticed that it makes the program quite slow (likely due to some Python limitations). Not to mention the .exe compilation, which keeps throwing new surprises my way every day :joy:.

For work, I’ve recently been working on some projects in C#. Would you be interested in a C# version of the program instead of Python? It would offer much better performance on Windows 11, not to mention other advantages.

Tell me what do you think :smiling_face:

If you want to use C# you should consider using Avalonia UI. This UI framework also works well under Linux, so you could use only one codebase.
I am pretty experienced with C# under Linux. If there are any questions we can chat :slight_smile:

1 Like

Why not ! Does Avalonia Ui is free ? Or does it have any strange licensing rules ?
I saw some pretty nasty scheme for some UI in the past.

Avalonia UI is free and open source. You can find it here: GitHub - AvaloniaUI/Avalonia: Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology

1 Like

Oh ! I think i’ll give Avalonia UI a try ! I’ve some readings to do :nerd_face:

1 Like

indeed Avalonia UI is great !! Take a look :

2 Likes

Nice! That was quick :smiley:

Because Avalonia is similar to WPF, the GUI wasn’t too hard to build—now I have to code everything else :smiling_face_with_tear:

1 Like

Here is a sneak peek for the C# version : Sneak peek :smiling_face:

Hey John, thank you for replying and happy to get feedback! Here is my repo:

You can clone it and run (needs Rust on your system) the debug build via
cargo build && sudo -E ./target/debug/ryzone

or release build via
cargo build --release && sudo -E ./target/release/ryzone

You can also give appimage generation a try as I have included the cargo appimage. However, there are some steps you will need to follow to have the appimagetool on your system first - i will include the instructions in the readme shortly.

Forgot to reply on your questions with regards to Linux: I also don’t usually build OS apps, so I have no idea what the best practice is for repositories for cross OS apps. Maybe someone else can chime in on this.

The only thing I can think off that will matter to me is 1) As a maintainer, easier to maintain one repo if there is code overlap(for example on the gui) 2) as a distro user, if its not available via my distro’s package / appimage, at least there are instructions to build it for my distro.

Thanks to @nrp, I now have the possibility to start adding support for Intel based Framework Laptop ! Again a huge thanks you :pray:

1 Like

I’m gonna release the C# version ! Take a look : Changelog :gear:

2 Likes

A new devlog is available :kissing_cat: Team blue support incoming

2 Likes