threepenny-gui
GUI framework that uses the web browser as a display. (by HeinrichApfelmus)
gi-atk
Generate Haskell bindings for GObject-Introspection capable libraries (by haskell-gi)
Our great sponsors
threepenny-gui | gi-atk | |
---|---|---|
6 | 8 | |
427 | 273 | |
- | 0.4% | |
6.4 | 7.0 | |
about 2 months ago | about 1 month ago | |
Haskell | Haskell | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of threepenny-gui.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-16.
-
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.)
gi-atk
Posts with mentions or reviews of gi-atk.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-09.
-
‘Missing C libraries’ when compiling haskell-gi-base on Windows
As far as I can tell, I haven’t explicitly set extra-prog-path to anything in particular. haskell-gi’s package.cabal doesn’t seem to have this variable set either. If it does have some value out of the ordinary, I would have no idea how to figure that out.
-
A solid GUI Framework for Haskell?
gi-gtk (part of the haskell-gi project) is still actively maintained and it is in LTS 18.
-
Best UI Toolkit for generating UI elements at runtime
Excellent news! For Windows, there’s some detailed documentation on installation, which I personally think is excellent. (Though I may be biased, since I wrote some of it myself!) For Linux, I remember installation being pretty simple last time I tried it (on an Ubuntu VM, as I already mentioned), though I haven’t attempted it again lately.
Followed https://github.com/haskell-gi/haskell-gi#mac-osx
For compilation there are instructions here that should be enough. We also had issues at run time about missing gsettings-schemas. We found a thread for another gtk application which solved our issues with these commands:
It worked. Long story short : upgraded everything, applied Github issue workaround, it worked.
Sorry, not a maintainer (that would be /u/garetxe, I think), just a satisfied user! And a Windows one to boot, so I wouldn’t know about Mac (though I have previously managed to build it on an Ubuntu VM). Perhaps try building it again and submit an issue if it doesn’t work; there’s some relevant documentation here and here which might help.
What are some alternatives?
When comparing threepenny-gui and gi-atk you can also consider the following projects:
Gifcurry - 😎 The open-source, Haskell-built video editor for GIF makers.
free-game - The free game engine
nanovg - NanoVG Haskell bindings
ltk - Leksah Toolkit
dear-imgui.hs - Haskell bindings to Dear ImGui, an immediate mode GUI toolkit
assimp - Haskell FFI bindings for Assimp
pianola
imagemagick - haskell imagemagick bindings
hgrev - Compile Mercurial (hg) version info into Haskell code.
nfc - Haskell bindings to libnfc
reactive-banana-gi-gtk - Functional Reactive Programming (FRP) with GObject Introspection in Haskell
UISF - A Haskell arrowized FRP library for GUIs