Haskell Database

Open-source Haskell projects categorized as Database

Top 23 Haskell Database Projects

  1. postgrest

    REST API for any Postgres database

    Project mention: Generate an OpenAPI From Your Database | dev.to | 2024-12-27

    This is especially helpful because Supabase uses PostegREST under the hood, which does not support OpenAPI 3.x. Note that some Postgres specific features like enums are not converted to JSON Schema enums as Sequelize doesn't expose that information.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. erd

    Translates a plain text description of a relational database schema to a graphical entity-relationship diagram.

    Project mention: Rewriting essential Linux packages in Rust | news.ycombinator.com | 2025-03-09
  4. Espial

    Espial is an open-source, web-based bookmarking server.

    Project mention: Linkwarden: FOSS self-hostable bookmarking with AI-tagging and page archival | news.ycombinator.com | 2025-05-01
  5. hstream

    HStreamDB is an open-source, cloud-native streaming database for IoT and beyond. Modernize your data stack for real-time applications. (by hstreamdb)

  6. opaleye

  7. beam

    A type-safe, non-TH Haskell SQL library and ORM (by haskell-beam)

    Project mention: Optimizing a Rust GPU matmul kernel | news.ycombinator.com | 2024-12-06

    I'm not familiar with GPUs specifically, but I have seen this for ORMs that support multiple SQL dialects (e.g. [0]).

    A great technique is called 'tagless final encoding' [1]. Using this technique, you can specify capabilities of an embedded domain-specific language (eDSL) such that you can have a shared (but narrow) common set of features, while allowing specializations of this eDSL to support extra features.

    [0]: https://github.com/haskell-beam/beam

    [1]: https://nrinaudo.github.io/articles/tagless_final.html

  8. hasql

    The fastest PostgreSQL libpq-based driver for Haskell

  9. SaaSHub

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

    SaaSHub logo
  10. selda

    A type-safe, high-level SQL library for Haskell

  11. bloodhound

    Haskell Elasticsearch client and query DSL (by bitemyapp)

  12. squeal-postgresql

    Squeal, a deep embedding of SQL in Haskell

  13. hedis

    A Redis client library for Haskell.

  14. acid-state

    Add ACID guarantees to any serializable Haskell data structure

  15. HDBC-session

    This repository includes a joined query generator based on typefull relational algebra, and mapping tools between SQL values list and Haskell record type.

  16. postgresql-simple

    Mid-level client library for accessing PostgreSQL from Haskell

  17. esqueleto

    Bare bones, type-safe EDSL for SQL queries on persistent backends. (by prowdsponsor)

  18. groundhog

    This library maps datatypes to a relational model, in a way similar to what ORM libraries do in OOP. See the tutorial https://www.schoolofhaskell.com/user/lykahb/groundhog for introduction

  19. mongoDB

    MongoDB driver for Haskell (by mongodb-haskell)

  20. hw-kafka-client

    Kafka client for Haskell, including auto-rebalancing consumers

  21. sqlite-simple

    Mid-level bindings for sqlite

  22. HDBC

    Haskell Database Connectivity

  23. mysql-haskell

    Pure haskell mysql driver

  24. Neks

    A dead simple networked key/value store

  25. hasql-th

    Template Haskell utilities for Hasql

  26. SaaSHub

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

    SaaSHub logo
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).

Haskell Database discussion

Log in or Post with

Haskell Database related posts

  • Generate an OpenAPI From Your Database

    4 projects | dev.to | 27 Dec 2024
  • Optimizing a Rust GPU matmul kernel

    2 projects | news.ycombinator.com | 6 Dec 2024
  • What I Learned from Making the Python Back End for My New Webapp

    2 projects | news.ycombinator.com | 16 Oct 2024
  • PostgREST 12.2: Prometheus metrics

    1 project | dev.to | 29 Aug 2024
  • PostgREST – Serve a RESTful API from Any Postgre Database

    1 project | news.ycombinator.com | 25 Jul 2024
  • Single Software Developer Projects

    1 project | dev.to | 24 Feb 2024
  • Revisiting Haskell after 10 years

    8 projects | dev.to | 15 Jan 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 13 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 postgrest 25,249
2 erd 1,831
3 Espial 835
4 hstream 722
5 opaleye 610
6 beam 596
7 hasql 532
8 selda 478
9 bloodhound 427
10 squeal-postgresql 371
11 hedis 331
12 acid-state 302
13 HDBC-session 233
14 postgresql-simple 206
15 esqueleto 180
16 groundhog 179
17 mongoDB 172
18 hw-kafka-client 147
19 sqlite-simple 133
20 HDBC 130
21 mysql-haskell 125
22 Neks 115
23 hasql-th 112

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Haskell is
the 25th most popular programming language
based on number of references?