Avalonia.FuncUI
Perla
Our great sponsors
Avalonia.FuncUI | Perla | |
---|---|---|
20 | 7 | |
846 | 132 | |
3.2% | - | |
8.3 | 8.2 | |
2 days ago | 4 months ago | |
F# | F# | |
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.FuncUI
- AvaloniaUI: Create Multi-Platform Apps with .NET
- Course using F#: Write your own tiny programming system(s)
-
ASP.NET Core Blazor
For those interested in .NET languages with alternative compilation targets, Elmish (https://elmish.github.io/elmish/) is pretty unique.
We use F# on the front end (instead of TS), and thanks to the Fable compiler (which transpiles F# to JS, Python, Dart, PHP and Rust), most of the benefits of an Elm-style model in the UI can be ported to all sorts of different outputs languages. The rust target is in beta, but its promising because the WASM bundle size stands to be dramatically lower.
While the default is reactivity library for Elmish is React, you can swap in Avalonia/FuncUI (https://github.com/fsprojects/Avalonia.FuncUI) pretty easily as well.
-
GUI development with Rust and GTK 4
The code to declare/build the widgets is quite nice. Modifying widgets by hand on certain signals or manually re-wiring all the signals seems a bit outdated to me.
Wonder if something like FuncUI [1] could be built on top of it.
[1] https://github.com/fsprojects/Avalonia.FuncUI
-
Desktop UI with F# web frameworks?
OTOH, if desktop really is the primary focus, and if you can drop the idea of reusable UI code, then Avalonia is a great choice for F# as you can use a Avalonia.FuncUI and/or Elmish.Avalonia.
- Functional cross platform UI in F#
-
Why does it seem like Microsoft is actively ignoring AvaloniaUI?
And one more MVU for you https://github.com/fsprojects/Avalonia.FuncUI
- Is Maui dead on arrival?
-
Ask HN: How to make a native GUI with a modern language?
You might want to check out Avalonia.FuncUI, which lets you use F# and the cross-platform Avalonia framework to build desktop applications with an Elm-like architecture: https://github.com/fsprojects/Avalonia.FuncUI#example-using-...
- Looking to write F# WinUI 3 stuff - does anyone have real world examples?
Perla
-
Targeting Node, Bun and Deno With F#
Does that import map thing feel familiar? well maybe I spoke about that a few months ago when I wrote about a project of mine (Perla) which uses import maps to allow you to write Single Page Applications without node installed!
-
Progressively Adding Fable to JS Projects
If you need to handle dependencies via CDN/Local Dist file then some dependencies won't work because they use node like imports import {} from 'lit/some/sub/directory.js browser imports need to start with / or ./ or even ../ so they can be valid ES module imports thankfully for this you can check out in a shameless plug one of the projects I'm working on: Perla which handles this precise case but I digress, the ideal situation would be you with npm and already figured out how to serve node dependencies to your compiled code.
-
Why did you (any .NET pro) either choose or switch to using F#?
The most "complex" application would be a webpack alternative in F#: AngelMunoz/Perla and maybe a simple migrations manager AngelMunoz/Migrondi
-
Building a webpack alternative in F#
Not the author, but it doesn't seem like you'll need dotnet installed from the docs
-
Building a Webpack alternative in F#
Whew! That was a lot! but shows how to build each part of the Webpack alternative I've been working on Called Perla there are still some gaps though
-
What are you working on? (2021-12)
I keep working on Perla :) https://github.com/AngelMunoz/Perla
-
Server Sent Events with Saturn and FSharp
I've been working in perla which is a cross-platform executable frontend dev-server/build-tool which is not tied to Nodejs or .NET meaning that you don't need to have .NET installed and neither Nodejs, at the same time it doesn't use npm or other things to handle dependencies it does so by leveraging skypack and import maps to let you use npm dependencies but from a CDN rather than locally.
What are some alternatives?
Fabulous - Declarative UI framework for cross-platform mobile & desktop apps, using MVU and F# functional programming
Fable: F# |> BABEL - F# to JavaScript, TypeScript, Python, Rust and Dart Compiler
MySqlConnector - MySQL Connector for .NET
ionide-vscode-fsharp - VS Code plugin for F# development
Avalonia - Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
Saturn - Opinionated, web development framework for F# which implements the server-side, functional MVC pattern
openiddict-core - Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
Lambda-Calculus - A simple Programming Language Compiler to Lambda-Calculus, with a Lambda-Runtime
Elmish.WPF - Static WPF views for elmish programs
Fable.Lit - Write Fable Elmish apps with Lit
Sutil - Lightweight front-end framework for F# / Fable. No dependencies.
vite - Next generation frontend tooling. It's fast!