Threepenny-gui is a GUI framework written in Haskell that uses the web browser as a display. It's very easy to install. See the
for more information on what it does and can do for you as a library user.
The library comes with many examples, which can be found in the samples folder. Follow the link for more information on how to run them.
A program written with Threepenny is essentially a small web server that displays the user interface as a web page to any browser that connects to it.
The frequent communication between browser and server means that Threepenny is best used as a GUI server running on localhost.
The communication is done over a persistent connection using WebSockets.
HTML rendering mode
It might be nice in the case of search engines to merely generate a DOM and render it, so that search engines can read the pages.
qooxdoo — provides a feature-complete widget set. One could wrap this in a type-safe API from Threepenny and get a complete, stable UI framework for free. Most of the "immediate feedback" like dragging things here, switching tabs there, are taken care of by the framework. All that would be left would be to provide the domain configuration and business/presentation logic.
There are plenty more like this, but this is the first that springs to mind that is good.
Many thanks to everyone who contributed, provided feedback or simply wrote an application using Threepenny!
- Heinrich Apfelmus
- Daniel Austin
- Daniel Díaz
- Yuval Langer
- Ken Friis Larsen
- Daniel Mlot
- JP Moresmau
- Luke Palmer
- Jens Petersen
- Jaap van der Plas
- Michael Snoyman
- Steve Bigham
Special thanks to Chris Done for starting the precursor project Ji.