Avalonia
maui-linux
Avalonia | maui-linux | |
---|---|---|
255 | 31 | |
23,927 | 806 | |
2.0% | - | |
9.9 | 0.0 | |
6 days ago | about 1 month ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Avalonia
-
The search for easier safe systems programming
WPF is not the best example of open source, as some components are still closed source. Though it only runs on Windows, a closed source operating system, so perhaps that is not so important.
https://github.com/dotnet/wpf/issues/2554
That said, there are cross platform, open source .NET UI frameworks out there, including one that is inspired by WPF:
https://avaloniaui.net/
-
Industrial Controller? Windows or Linux?
You might also want to look at AvaloniaUI[0] for a cross platform .NET GUI library. It is similar to WPF but much nicer to work with.
[0] https://github.com/AvaloniaUI/Avalonia
- Avalonia – Farewell to the .NET Foundation
-
AvaloniaUI: Create Multi-Platform Apps with .NET
Production user here. There's no money gotchas. They're above reproach. In fact, I've received considerable free support from their devs on GitHub Issues [1].
The Avalonia business model is based on selling XPF, which runs WPF (Windows-only) apps on other platforms. That's very interesting to big corps with existing codebases.
See my comment [2]
[1] https://github.com/AvaloniaUI/Avalonia/issues
[2] https://news.ycombinator.com/item?id=39246988#39249128
-
.NET on Linux: What a Contrast
Yes, but the portable GUI frameworks by Microsoft themselves are generally not very good, and they tend to be abandoned after a couple of years.
Avalonia is developed outside of the Microsoft corporate madness and seems to be slowly becoming the defacto cross-platform framework because it is expected to last a bit longer than a manager's attention span: https://avaloniaui.net/
- Too many Mac apps are being built with Electron
-
Ask HN: Do you have a problem you'd pay to have taken away?
Not my comment, but relevant here "The problem with compiling Skia to WASM is you'll lose any benefits of hardware graphics acceleration on the device."
(From https://github.com/AvaloniaUI/Avalonia/discussions/6831#disc... )
- Dezvoltare aplicatie desktop
- Ask HN: How to create web, mobile, and desktop apps from a single code base?
-
.NET 8 – .NET Blog
It's a bit of a hit and miss as of today. CLI, back-end and natively compiled libraries (think dll/so/dylib or even .lib/.a - you can statically link NAOT binaries into other "unmanaged" code) work best, GUI - requires more work.
Avalonia[0] and MAUI[1] have known working templates with it, but YMMV.
[0] https://github.com/lixinyang123/AvaloniaAOT / https://github.com/AvaloniaUI/Avalonia/ / honorable mention https://github.com/VincentH-Net/CSharpForMarkup
[1] https://github.com/dotnet/maui (try out with just true in csproj - it is known to work e.g. on iOS)
maui-linux
-
What's New in Final RC for .NET 8, .NET MAUI, Asp.net Core and EF8
While this is the quite endorsed by the community: https://github.com/dotnet/maui/discussions/339
I think the fundamental issue is that desktop Linux is way too fragmented. Not only just GTK2/3 and Qt but you have GNOME, KDE, XFCE, Cinnamon and then you have X11, Xorg, Wayland...
To be honest, all those craps are why desktop Linux never took off. I'm very safe to say MAUI for Linux will eventually renders components off its own using framebuffer and hardware acceleration APIs such as OpenGL or Vulkan just because of the market fragmentations...
If desktop Linux truly wants to get the attention, it will need to unify. Fixing dependency hell using Flatpak is the right direction.
There is an existing old fork of MAUI for Linux that uses GTK: https://github.com/jsuarezruiz/maui-linux
-
Tauri Mobile – Develop Mobile Apps with JavaScript and Rust
There is work being done to address desktop linux, but I agree that is one of the deficiencies.
https://github.com/jsuarezruiz/maui-linux/pull/37
The lack of a WASM target is another, although UNO project in the past provided such a target for MAUI's very closely-related predecessor (Xamarin.Forms).
https://platform.uno/xamarin-forms/
-
Announcing .NET 7 Release Candidate 1
That's more on the fact that there's no official set of native UI in Linux since MAUI uses the platform's native UI instead of drawing everything themselves like Flutter, there have been some community works around this via this repo using GTK as the native UI to target. This is the same case for say React Native where most Linux implementation will likely use Electron as a shell since there's no standard set of platform UI components to choose.
- .NET MAUI on Linux Makes Progress
-
"Microsoft and Canonical announce native .NET availability in Ubuntu 22.04 hosts and containers" – yeah, very nice, but there's still no cross-platform way to build graphical .NET apps, right?
There's even a senior engineer at Microsoft who's done some exploratory work on Linux bindings already: https://github.com/jsuarezruiz/maui-linux
- Will we ever get a new CLR language to replace C# Like Kotlin did for Java?
-
Dont u just love ur job as a dev in c#
https://github.com/jsuarezruiz/maui-linux exists but appears to be inactive lately
-
What options exist for creating (simple) GUI applications on Linux?
The applications I'm trying to make all require relatively simple GUI, only needing images, text-boxes, buttons, and basic configuration menus. I have heard of maui-linux however I'm very new to all of this and not sure how to make use of it at all.
- How quickly and efficiently do you believe Linux will get support for MAUI apps?
-
Introducing .NET MAUI – One Codebase, Many Platforms
Kudos to Microsoft and the teams (.Net, etc.) that made this possible! This is really big! What's the team's plan to extend MAUI to Linux? This is key, considering it was the platform that set the cross-platform (xPlat) .Net in motion, where Mono, MonoDevelop (now Visual Studio for Mac), among others, were bred. For example, is it possible to officially support an MAUI implementation for Linux modelled around Gtk? Like what has already been started here? Linux had so much love during the Mono/Xamarin days and has continued to enjoy same as .Net Core (now .Net all across) matures into being genuinely cross-platform. Linux's support will really be a game-changer! MAUI will then be "One Codebase, Many Platforms", indeed! Thanks once again for all the work on MAUI. It's awesome!
What are some alternatives?
Uno Platform - Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
WPF - WPF is a .NET Core UI framework for building Windows desktop applications.
Eto.Forms - Cross platform GUI framework for desktop and mobile applications in .NET
managed-midi - [Past project] Cross-platform MIDI processing library for mono and .NET (ALSA, CoreMIDI, Android, WinMM and UWP).
MahApps.Metro - A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.
QtSharp - Mono/.NET bindings for Qt
Gtk# - Gtk# is a Mono/.NET binding to the cross platform Gtk+ GUI toolkit and the foundation of most GUI apps built with Mono
dotnet-webgl-sample - .NET + WebAssembly + WebGL = 💖