threepenny-gui
brick
Our great sponsors
threepenny-gui | brick | |
---|---|---|
6 | 9 | |
427 | 1,556 | |
- | - | |
6.4 | 8.0 | |
2 months ago | about 1 month ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" 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.
threepenny-gui
-
What can I do in Haskell? UwU
Maybe? https://github.com/HeinrichApfelmus/threepenny-gui
-
What practice programs or knowledge should I learn to do "real" projects in Haskell
Not if you use my Threepenny-gui library. š
-
Is threepenny-gui really reactive?
If you really want FRP, use Obelisk (based on Reflex-Dom. I will call just say "Obelisk" to refer to Obelisk's dependencies Reflex-Dom, Reflex,... too). I like the author of threepenny-gui and the library has the great advantages of not needing GHCJS (Obelisk does not need GHCJS either theoretically but I do not know how easy it currently is to make it work without) nor Nix. But the library was originally built as a non-FRP library and it has been lacking essential FRP combinators for a long time.
When I look at the different examples included with threepenny-gui, I get the impression that they have not designed their programs reactively. For instance, if you see Mouse.hs, you see that they are saying
-
How is it going with desktop apps nowadays? What happened to wxHaskell?
The threepenny-gui library is probably best if you just want a simple way to make GUIs. However, it doesn't really do desktop GUIs as such: it displays your GUI as a webpage running on localhost. However, it does work pretty well with Electron, which gives you a desktop application.
-
Best UI Toolkit for generating UI elements at runtime
For this purpose, I normally use threepenny-gui, which can be used with Electron. (As it happens, that combination is what Iām using for my current Haskell program.)
brick
-
Show HN: Text Lambda, a versatile notebook for your personal data
Thank you!
"stash", the initial MVP version, is written in Haskell. I chose Haskell mostly because of https://github.com/jtdaugherty/brick, which is a wonderful TUI library. I also tend to prefer functional programming languages when I have the choice.
However, Text 's backend and website are currently implemented in Clojure. The app is in C + Flutter (Dart).
-
How can I move from a basic hello world/number program to something more substantial?
Brick is a great library for terminal applications. Iād say start with the examples or take a look at some tutorials that use it, then just go at it.
-
wordle - Wordle clone in the terminal
Written in Haskell with brick.
-
FINAL CUT alternatives - brick, notcurses, FTXUI, blessed, and ansi-styles-python
22 projects | 5 Sep 2021
A declarative Unix terminal UI programming library written in Haskell (by jtdaugherty)
-
Writing Programs with Ncurses
There is brick[1][2] for Haskell. Other languages may have something similar.
[1] https://hackage.haskell.org/package/brick
[2] https://github.com/jtdaugherty/brick/blob/master/docs/samtay...
-
If you could change one thing about Emacs what would it be?
In that vein, a declarative way to build (Text) UI like html+css. Or something along the lines of what Brick is for terminals.
What are some alternatives?
TuiCss - Text-based user interface CSS library
reanimate - Haskell library for building declarative animations based on SVG graphics
implicit - A math-inspired CAD program in haskell. CSG, bevels, and shells; 2D & 3D geometry; 2D gcode generation...
gloss - Painless 2D vector graphics, animations and simulations.
plot-light - A lightweight plotting library, exporting to SVG
Gifcurry - š The open-source, Haskell-built video editor for GIF makers.
free-game - The free game engine
nanovg - NanoVG Haskell bindings
Rasterific - A drawing engine in Haskell
ltk - Leksah Toolkit
vty-ui - A terminal user interface programming library similar to graphical interfaces such as GTK and QT. (DEPRECATED, see https://github.com/jtdaugherty/brick)
assimp - Haskell FFI bindings for Assimp