purescript-halogen
pandoc
Our great sponsors
purescript-halogen | pandoc | |
---|---|---|
11 | 420 | |
1,510 | 32,218 | |
0.3% | - | |
3.6 | 9.8 | |
about 2 months ago | 7 days ago | |
PureScript | Haskell | |
Apache License 2.0 | GNU General Public License v2.0 or later |
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.
purescript-halogen
-
Designing an HTML Component system
There's a framework in purescript from which u can grab some ideas I think: https://github.com/purescript-halogen/purescript-halogen.
-
What can I do in Haskell? UwU
If you wanna do web frontends right now, I'd recommend Halogen for Purescript since it is maintained and has documentation.
-
Building Mystery Mansion Madness without a UI Framework
Before 2012, all of my websites were made using HTML, CSS and a sprinkling of JS. Then, I went all-in on AngularJS, followed by React. I started using Typescript and then PureScript and learned more frameworks like Halogen and Concur. I even wrote my own UI framework called purescript-deku.
-
Inflist, an experiment using PureScript and React
First of all I had to choose what to use to manage the User Interface. I narrowed down to two modules: Halogen and react-basic-hooks (which is a “wrapper” of the unmaintained react-basic). I decided to go with react-basic-hooks just because I work with React on a daily basis and I wanted to understand its interoperability with PureScript. I will 10/10 try Halogen too in the next future since as far as I can see is the most famous and maintained in the PureScript community.
-
State of Scala.js frameworks
There's also Purescript, which is sort of a Haskell for frontend. It has type classes, HKTs and so on and also has a very nice FFI. When it comes to UI libraries there is Halogen which I think is very well though out and allows for using tagless final approach. There's also react-basic but I haven't used that one myself.
-
Solid.js feels like what I always wanted React to be
Yeah? I wrote something to deal with it too (https://github.com/toastal/return-optics) 5.5 years ago. You arguably chose the wrong data as `(model, Cmd msg, Maybe extMsg)` instead of `(model, Cmd msg, List extMsg)` which would give you more flexibility and still functions as a monoid on [] instead of Nothing, but allows multiple messages shrug. I tried this approach more recently and it involved me having to encode all of actions in a massive tree and then I still had issues with certain messages including now having to UUID all elements that that previously I didn't need to think about. It was a mess, but the best I could do with the tools at hand.
If you compare this to Halogen (https://github.com/purescript-halogen/purescript-halogen/blo...) where you still have purity but can set up subscribers and listeners from any component. It's much easier to use and for some components like dialogs, it's much simpler. And this actually isn't the best example because with the latest Halogen, Portals (https://github.com/purescript-halogen/purescript-halogen/pul...) was introduced so you can launch a dialog on the spot instead of even needing to communicate between them at all.
-
7 Useful Tools Written in Haskell
Below you can find the example of a simple button component written in Halogen:
- Q: Webapps in Purescript for Haskellers
-
Haskell as a first timer - Am I missing something ?
Hi just to answer your Purescript question. I've been using Purescript for some time now in production and I really like it. I've been using purescript-halogen which is a reactive framework, similar to React, Vuejs etc. I feel Purescript has a lot of top quality libraries and they have been increasing lately. But just like with Haskell there will be abandoned repositories and undocumented experiments and sometimes it has to do with the fact that both Haskell and Purescript have fewer maintainers than some other languages. But my experience is that a lot of the libraries that are written are well implemented and very usable.
pandoc
-
Beautifying Org Mode in Emacs (2018)
My main authoring tool is then Emacs Markdown Mode (https://jblevins.org/projects/markdown-mode/). For data entry, it comes with some bells and whistles similar to org-mode, like C-c C-l for inserting links etc.
I seldom export my notes for external usage, but if it is the case, I use lowdown (https://kristaps.bsd.lv/lowdown/) which also comes with some nice output targets (among the more unusual are Groff and Terminal). Of cource pandoc (https://pandoc.org/) does a very good job here, too.
-
Show HN: I made a tool to clean and convert any webpage to Markdown
This is one of those things that the ever-amazing pandoc (https://pandoc.org/) does very well, on top of supporting virtually every other document format.
-
📓 Versionner et builder l'eBook de son Entretien Annuel d'Evaluation sur Git(Hub)
pandoc toolchain pour builder une version confortable/imprimable en phase de travail (ePub, pdf, docx, html)
-
Launch HN: Onedoc (YC W24) – A better way to create PDFs
Congrats on the launch, I guess, but there are so many free options that I can't think of a situation where paying $0.25 per document would be justified...? Just to name a few:
Back in the days, I used to use XSL-FO [0] and it was okay. It was not very precise but it rarely if ever broke, and was perfectly integrated with an XML/XSLT solution. Yeah, this was a long time ago.
Last month I used html-to-pdfmake [1] and it's also not very precise and more fragile, but very efficient and fast.
Yet another approach would be to pro grammatically generate .rtf files (for example) and use Pandoc [2] to produce PDFs (I have not tried this in production but don't see why it wouldn't work).
[0] https://en.wikipedia.org/wiki/XSL_Formatting_Objects
-
Ask HN: Looking for lightweight personal blogging platform
Others have mentioned static site generators. I like Hakyll [1] because it can tightly integrate with Pandoc [2] and allows you to develop custom solutions if your needs ever grow.
[1]: https://jaspervdj.be/hakyll/
[2]: https://pandoc.org/
-
Show HN: CLI for generating beautiful PDF for offline reading
Have you compared it with a conversion by pandoc (https://pandoc.org/)?
-
Pandoc
I have used it to kickstart a blogging project that I wish to come back to soon. The Lua inter-op for custom readers, writers and filters is great but I wish there was more editor integration and even perhaps an official IDE/editor with built-in debugging features (probably something already do-able with Emacs but I haven't checked). The only blocker for my project is no support for "ChunkedDoc" for Lua filters [1] which forces me to write more code and a complicated Makefile.
- I don't always use LaTeX, but when I do, I compile to HTML (2013)
What are some alternatives?
pandoc-highlighting-extensions - Extensions to Pandoc syntax highlighting
obsidian-html - :file_cabinet: A simple tool to convert an Obsidian vault into a static directory of HTML files.
obsidian-export - Rust library and CLI to export an Obsidian vault to regular Markdown
Obsidian-MD-To-PDF - A command line python script to convert Obsidian md files to a pdf
kramdown - kramdown is a fast, pure Ruby Markdown superset converter, using a strict syntax definition and supporting several common extensions.
wavedrom - :ocean: Digital timing diagram rendering engine
vimwiki - Personal Wiki for Vim
calibre - The official source code repository for the calibre ebook manager
sphinx - implementation of a sphinx client in haskell
mdx - Markdown for the component era
gotenberg - A developer-friendly API for converting numerous document formats into PDF files, and more!
logseq - A local-first, non-linear, outliner notebook for organizing and sharing your personal knowledge base. Use it to organize your todo list, to write your journals, or to record your unique life.