Http4s

A minimal, idiomatic Scala interface for HTTP (by http4s)

Http4s Alternatives

Similar projects and alternatives to Http4s

  1. SaaSHub

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

    SaaSHub logo
  2. ZAP

    81 Http4s VS ZAP

    The ZAP by Checkmarx Core project

  3. ZIO

    66 Http4s VS ZIO

    ZIO — A type-safe, composable library for async and concurrent programming in Scala

  4. Vert.x

    52 Http4s VS Vert.x

    Vert.x is a tool-kit for building reactive applications on the JVM

  5. cats-effect

    The pure asynchronous runtime for Scala

  6. pfps-shopping-cart

    :shopping_cart: The Shopping Cart application developed in the book "Practical FP in Scala: A hands-on approach"

  7. Play

    34 Http4s VS Play

    The Community Maintained High Velocity Web Framework For Java and Scala.

  8. jsoniter-scala

    Scala macros for compile-time generation of safe and ultra-fast JSON codecs + circe booster

  9. Finagle

    24 Http4s VS Finagle

    A fault tolerant, protocol-agnostic RPC system

  10. FS2

    17 Http4s VS FS2

    Compositional, streaming I/O library for Scala

  11. refined

    17 Http4s VS refined

    Refinement types for Scala

  12. Akka HTTP

    6 Http4s VS Akka HTTP

    The Streaming-first HTTP server/module of Akka

  13. trading

    14 Http4s VS trading

    đź’± Trading application written in Scala 3 that showcases an Event-Driven Architecture (EDA) and Functional Programming (FP)

  14. general

    Discontinued Repository for general Typelevel information, activity and issues (by typelevel)

  15. cask

    12 Http4s VS cask

    Cask: a Scala HTTP micro-framework. Cask makes it easy to set up a website, backend server, or REST API using Scala (by lihaoyi)

  16. doobie

    12 Http4s VS doobie

    Functional JDBC layer for Scala.

  17. circe

    12 Http4s VS circe

    Yet another JSON library for Scala

  18. scala-pet-store

    An implementation of the java pet store using FP techniques in scala

  19. Finch.io

    1 Http4s VS Finch.io

    Scala combinator library for building Finagle HTTP services (by finagle)

  20. sttp

    2 Http4s VS sttp

    The Scala HTTP client you always wanted!

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Http4s alternative or higher similarity.

Http4s discussion

Log in or Post with

Http4s reviews and mentions

Posts with mentions or reviews of Http4s. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-02.
  • How to get started?
    4 projects | /r/scala | 2 Jun 2023
    http4s is a Typelevel project, and therefore falls into the "program in Scala as if it were Haskell" category. Many people find this off-putting, but honestly, I think with the resources listed above, this is the option at the best intersection of "mature" and "well-documented" available in Scala. The reason it's off-putting to many people is that Haskell-style pure FP isn't mainstream, so it isn't so much a matter of learning a new technology as it is a matter of learning a new paradigm, which necessarily means surfacing and unlearning things you already know, and perhaps confronting the uncomfortable feeling that things you thought were "fundamental," "have to be that way," aren't, and don't. I personally found this process liberating. But not everyone does.
  • Server Stack Options for Scala
    4 projects | /r/scala | 13 Feb 2023
    If you want a mature REST API library, I recommend http4s. Be aware, though, that it’s based on purely-functional programming with Cats, cats-effect, and fs2, so if you’re not familiar with them or aren’t prepared to commit to the paradigm, the learning curve may be daunting, seem pointless, or both.
  • Sequential application of a constructor?
    2 projects | /r/scala | 21 Jan 2023
    See also cats-effect and fs2. cats-effect gives you your IO Monad (and IOApp to run it with on supported platforms). fs2 is the ecosystem’s streaming library, which is much more pervasive in functional Scala than in Haskell. For example, http4s and Doobie are both based on fs2.
  • Grasping the concepts and getting them down to earth
    4 projects | /r/scala | 4 Nov 2022
    Most important/known: * https://http4s.org/ - an HTTP client/server * https://github.com/typelevel/fs2 - streaming * https://github.com/tpolecat/doobie - JDBC
  • Relative popularity of programming languages on Hacker News
    5 projects | news.ycombinator.com | 13 Oct 2022
    Scala devs are too busy wondering about free monads and F[Request[F] => Response[F]]. I am very pleased by http4s, Doobie, ScalaJS, and the whole ecosystem, really: https://http4s.org
  • http4s as a replacement for akka-http?
    6 projects | /r/scala | 15 Sep 2022
    In reality, your performance issues will not be http4s, but something else. That being said, there are improvements that http4s can and is making, and I'm quite excited about the future 1.0 release, which has some important and fundamental performance improvements already, like a a 125% performance improvement on the plaintext benchmark from https://github.com/http4s/http4s/pull/6091 - and finally, yes, akka-http does have very good performance, but you can also get good performance out of http4s.
  • Is Scala a good choice for a data intensive web backend?
    5 projects | /r/scala | 3 Sep 2022
    http4s for REST services.
  • Scala became Typelevel/Zio only ecosystem?
    4 projects | /r/scala | 6 Aug 2022
    This is a long list of misunderstandings I don’t have the patience to unpack. Instead, let me refer you to the links in my top comment in the thread, then suggest you learn at least http4s, a purely-functional web service library that’s been used in production for a decade or so now.
  • Pleasant to use Scala libraries
    5 projects | /r/scala | 6 Jul 2022
    The most popular nowadays are - I guess - akka-http and http4s. You can also use Play if you don't want to start from scratch but prefer a framework-based approach.
  • Why do all frameworks use OOP? (php)
    1 project | /r/learnprogramming | 11 Apr 2022
    There are functional frameworks: https://http4s.org/
  • A note from our sponsor - SaaSHub
    www.saashub.com | 11 Aug 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic Http4s repo stats
24
2,622
9.6
4 days ago

http4s/http4s is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of Http4s is Scala.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

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