scotty
hakyll
scotty | hakyll | |
---|---|---|
19 | 9 | |
1,688 | 2,648 | |
0.6% | - | |
8.0 | 6.6 | |
13 days ago | 1 day 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.
scotty
-
haskell todo list app (beginner)
I would suggest checking out scotty for the http server - it uses warp by default, and is very beginner-friendly.
-
HLS issues an error for Setup.hs and Spec.hs (using hspec-discover)
Here's the current commit I'm working with: https://github.com/scotty-web/scotty/commit/3ed8586c046b46dc42740e8ac2e7fe712e84191d
-
School of Haskell: Basics
If you're not a fan of the ruby-on-rails / swiss army knife approach that IHP takes, check out Scotty. Add Lucid for Html rendering, and Selda for Postgres. (There are other options for any of these tools if you prefer)
- Scotty (simple web routing) https://hackage.haskell.org/package/scotty
-
Use Haskell from Nodejs
Writing a Haskell webserver (maybe using scotty) and call it from node.
- Programming language comparison by reimplementing the same transit data app
-
How to change state in a webserver application
I've been looking for this as well, and found the globalstate.hs example in the scotty github repository. It uses a ReaderT of a TVar and shows how to update or read shared state in memory.
-
Suggestions for "dashboard" graphics libraries?
I've found htmx and hyperscript talking to scotty to be an easy way to get something like this going while retaining the joys of Haskell on the backend and avoiding the pains of Haskell on the frontend.
-
Web development in Haskell
Finally, to add my opinion in the context of some other posts: I'd suggest Scotty (and probably other libraries I'm less familiar with) before Servant in particular, as Servant is a lot to absorb if you're also trying to build fluency in Haskell at the same time. Similarly, I'd advocate for Elmish (disclaimer, it's written by (very talented programmers other than myself at) my company) over Halogen, at least based on the last time I tried Halogen--I found it pretty complex as well. Don't get me wrong, I think Servant and Halogen are both great, just...complex.
-
Building a REST API with Haskell
This is an example of REST API built with Scotty a web framework of Haskell and PostgreSQL a relational database. It's a simple API to manage products.
-
Options for a frontend of demo for a toy app
Not that I'm much of an expert, but if you're talking about a very barebones static single-page-app, then you could very easily get by just using blaze-html to put your elements on the page, and then scotty is a basic web framework you could use to serve up your app.
hakyll
-
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/
- School of Haskell: Basics
- Hakyll – A Static Site Generator in Haskell
-
I want to make a website for myself
Honestly, I've had a great experience with Hakyll for static site generation. There's a bit of a learning curve to effectively use the library/framework, but in my opinion the learning curve is much lower than Yesod/Fay. If all you need is to build static website pages, I'd suggest Hakyll.
-
SSGs through the ages: The ‘After Jekyll’ era
Hakyll
-
I did a thing : Hakyll with Internationalization;
Hi there. A friend of mine wanted to publish a blog/site at both French and English. I told him about static generators and Hakyll from u/jaspervdj but the internationalization piece was missing. Of course there are other generators with internationalization but... Well here is one for Hakyll. * Generator source code * Use case and its source code --- If it already exists, please hide that fact from me. If not and if you enjoy it, please use it at will. There is a public docker image at registry.gitlab.com/swi18ng/swi18ng:latest for quick testing purpose if needs be (don't forget to add -e LANG=C.UTF8 if you use some special characters). And of course, don't hesitate to give me some feedback. This would be greatly appreciated! > P.
-
About GitLab and Pages by Safely Dysfunctional
This info is relevant because Hakyll application requires to be complied before it generates the pages, and the compilation process of Haskell is a pretty expensive (computationally saying). Although, the executable is incredible fast, due to great work made by the compiler. This processing cost will be discussed soon.
-
Static site generators to watch in 2021
Btw there is a static page generator utilizing pandoc directly: hakyll[1]. Since it's configuration is done via haskell source code file, you need to be willing to learn a bit of haskell though.
[1] https://jaspervdj.be/hakyll/
-
Static site generators: help with choosing the better option based on language
Hakyll (Haskell) (website| GitHub)
What are some alternatives?
lucid - Clear to write, read and edit DSL for writing HTML
neuron - Future-proof note-taking and publishing based on Zettelkasten (superseded by Emanote: https://github.com/srid/emanote)
reroute - Another Haskell web framework for rapid development
hamlet - Haml-like template files that are compile-time checked
json - Haskell JSON library
gutenberg - A fast static site generator in a single binary with everything built-in. https://www.getzola.org
scotty-tls - Run your Scotty apps over TLS
hakyll-elm - Hakyll wrapper for the Elm (http://elm-lang.org) compiler
scotty-session - Adding session functionality to scotty
hakyll-sass - Hakyll SASS compiler over hsass
fluid - 🐙 Code-generated, Auto-versioned, & Smart Web APIs
hoogle - Haskell API search engine