Haskell Web

Open-source Haskell projects categorized as Web

Top 23 Haskell Web Projects

  • postgrest

    REST API for any Postgres database

    Project mention: Can't link fresh project - problem with underlying postgrest version not supporting 15. | reddit.com/r/Supabase | 2023-01-29

    I suspect this is the culprit (might be wrong): https://github.com/PostgREST/postgrest/blob/main/src/PostgREST/Config/PgVersion.hs

  • hakyll

    A static website compiler library in Haskell

    Project mention: School of Haskell: Basics | news.ycombinator.com | 2022-11-11
  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • yesod-persistent

    A RESTful Haskell web framework built on WAI.

    Project mention: so people are making these | reddit.com/r/ProgrammerHumor | 2022-07-31

    I also looked into Snap (http://snapframework.com/) and Yesod (https://www.yesodweb.com/) for Haskell. I didn't really get anywhere with those though because I had build issues with dependencies and was in a bit of a hurry so I put them off for later.

  • servant

    Main repository for the servant libraries — DSL for describing, serving, querying, mocking, documenting web applications and more!

    Project mention: Question: Servant with NamedRoutes and Swagger | reddit.com/r/haskell | 2022-11-25

    a HasSwagger instance for NamedRoutes was added in May 2022 (in this commit) but there hasn't been a package release since March

  • scotty

    Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp (Official Repository)

    Project mention: HLS issues an error for Setup.hs and Spec.hs (using hspec-discover) | reddit.com/r/haskellquestions | 2022-11-20

    Here's the current commit I'm working with: https://github.com/scotty-web/scotty/commit/3ed8586c046b46dc42740e8ac2e7fe712e84191d

  • neuron

    Future-proof note-taking and publishing based on Zettelkasten (superseded by Emanote: https://github.com/EmaApps/emanote)

    Project mention: Recommendation for simple static sure generator based on Markdown | reddit.com/r/software | 2022-11-12

    Have you considered neuron or it's successor emanote?

  • aeson

    A fast Haskell JSON library

    Project mention: Haskell adoption is higher than I expected, what can we do to get it to top 10 languages. | reddit.com/r/haskell | 2022-10-24

    Don't get me wrong, we figured it all out, and currently we use Aeson fork as we needed this: https://github.com/haskell/aeson/pull/926, as the default behaviour didn't work with Swift, and I wasn't sure if it's worth spending any time completing it...

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • obelisk

    Functional reactive web and mobile applications, with batteries included.

    Project mention: obelisk/README.md at master · obsidiansystems/obelisk · GitHub | reddit.com/r/cryptogeum | 2023-01-23
  • reroute

    Another Haskell web framework for rapid development (by agrafix)

    Project mention: Error whilst installing Spock (via stack) | reddit.com/r/haskell | 2022-10-31

    It's not you, it's a Spock issue: https://github.com/agrafix/Spock/issues/180

  • transient

    A full stack, reactive architecture for general purpose programming. Algebraic and monadically composable primitives for concurrency, parallelism, event handling, transactions, multithreading, Web, and distributed computing with complete de-inversion of control (No callbacks, no blocking, pure state)

  • webify

    webfont generator - converts ttf to woff, eot and svg

  • graphql-api

    Write type-safe GraphQL services in Haskell

  • morpheus-graphql

    Haskell GraphQL Api, Client and Tools

    Project mention: School of Haskell: Basics | news.ycombinator.com | 2022-11-11
  • wreq

  • react-haskell

    React bindings for Haskell

  • req

    An HTTP client library

  • scalpel

    A high level web scraping library for Haskell. (by fimad)

    Project mention: Web scraping library | reddit.com/r/haskell | 2022-10-04

    This may be of interest: https://github.com/fimad/scalpel

  • postgres-websockets

    PostgreSQL + Websockets

    Project mention: PostgREST – Serve a RESTful API from Any Postgres Database | news.ycombinator.com | 2022-12-29

    At work, we've finally replaced a large part of a custom (mostly-)web backend with PostgREST recently, and that's quite a relief: considerably less code to maintain in that project now, and that was a rather awkward code. Something akin to PostgREST's "Embedding with Top-level Filtering" [1] had to be provided for all the tables, with OpenAPI schema and a typed API (Haskell + Servant); I avoided manually writing it all down, but at the cost of poking framework internals, and maintainability suffered. It was particularly annoying that the code doesn't really do anything useful, except for standing between a database and an HTTP client, and simply mimics the database anyway. Whenever a change had to be introduced, it was introduced into the database, the backend, and the frontend simultaneously, so it wasn't even useful for some kind of compatibility.

    Now PostgREST handles all that, and only a few less trivial endpoints are handled by a custom backend (including streaming, which I'm considering replacing with postgrest-websocket [2] at some point).

    During the switch to PostgREST, the encountered minor issues were those with inherited tables (had to set a bunch of computed/virtual columns [3] in order to "embed" those), and with a bug on filtering using such relations (turned out it was an already-fixed regression [4], so an update helped). Also a couple of helper stored procedures (to use via /rpc/) for updates in multiple tables at once (many-to-many relationships, to edit entities along with their relationships, using fewer requests) were added (though the old custom backend didn't have that), the security policies were set from the beginning, the frontend was rewritten (which allowed to finally switch without adding more work), so it was only left to cleanup the backend.

    Not using views, since as mentioned above, database changes usually correspond to frontend changes, and the API doesn't have to be that stable yet.

    Happy with it so far.

    [1] https://postgrest.org/en/stable/api.html#embedding-with-top-...

    [2] https://github.com/diogob/postgres-websockets

    [3] https://postgrest.org/en/stable/api.html#computed-virtual-co...

    [4] https://github.com/PostgREST/postgrest/issues/2530

  • three-layer

    :three: :cake: Architecture of the Haskell web applications

    Project mention: My Module Structure Does Not Feel Haskell-like | reddit.com/r/haskell | 2022-12-13

    I’m working on this pet project for a time now. Initially based on the three-layer repository, it’s now modelled after the Clean Architecture. In my understanding, it’s an OOP variation of the functional “Functional Core, Imperative Shell” approach. As most examples for Clean Architecture are written in C#, my module structure also looks more like a typical C# than Haskell one to me.

  • nixpkgs-update

    Updating nixpkgs packages since 2018

    Project mention: Chrome technically unusable on NixOS | reddit.com/r/NixOS | 2022-04-15

    you could open an issue https://github.com/ryantm/nixpkgs-update/issues requesting pr update automation for google chrome.

  • haskanoid

    A free and open source breakout clone in Haskell using SDL and FRP, with Wiimote and Kinect support.

  • lucid

    Clear to write, read and edit DSL for writing HTML (by chrisdone)

  • keter

    Web app deployment manager

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-01-29.

Haskell Web related posts


What are some of the best open-source Web projects in Haskell? This list will help you:

Project Stars
1 postgrest 19,954
2 hakyll 2,539
3 yesod-persistent 2,506
4 servant 1,678
5 scotty 1,621
6 neuron 1,444
7 aeson 1,160
8 obelisk 808
9 reroute 669
10 transient 627
11 webify 430
12 graphql-api 403
13 morpheus-graphql 378
14 wreq 375
15 react-haskell 348
16 req 323
17 scalpel 305
18 postgres-websockets 303
19 three-layer 291
20 nixpkgs-update 263
21 haskanoid 260
22 lucid 257
23 keter 254
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives