Scala HTTP Server

Open-source Scala projects categorized as HTTP Server

Top 8 Scala HTTP Server Projects

  • Http4s

    A minimal, idiomatic Scala interface for HTTP

    Project mention: How to get started? | /r/scala | 2023-06-02

    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.

  • Akka HTTP

    The Streaming-first HTTP server/module of Akka

    Project mention: Akka-HTTP in android | /r/androiddev | 2023-04-12

    Here I've posted my issue https://github.com/akka/akka-http/issues/4248

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • tapir

    Declarative, type-safe web endpoints library

    Project mention: what library/framework should I use for backend development? | /r/scala | 2023-02-21

    You're not confined to the usual suggestions below (play, http4s). There's a ton of options. (I wrote test cases using a bunch of different frameworks a few years ago at https://github.com/hohonuuli/msdemos). Having written services using a variety of frameworks in production, I would strongly suggest using one that auto-generates API docs (openapi, swagger) for you. That will save you a huge amount of time later on. For heavier services, like the one at https://fathomnet.org/, I tend to the Java side (Quarkus is my current top choice, but Micronaut and Helidon are both great). For everything else I use Scala. My go-to right now is tapir using a vertx backend. See https://tapir.softwaremill.com/

  • zio-http

    A next-generation Scala framework for building scalable, correct, and efficient HTTP clients and servers

    Project mention: Creating a CLI app with scala and Graal VM: should I switch to Rust? | /r/scala | 2023-08-31

    For JNI, make sure you have `-H:+JNI` in your native image options. Be aware that Netty is a bit of a monster to include in a native image application (I just recently added it a Netty dependency and it completely broke my project and took a good day to figure out). Mine was through zio-http and I was able to piece together some working options from github issues: https://github.com/zio/zio-http/issues/20.

  • typed-schema

    Typelevel http service definition DSL

    Project mention: Companies with interesting Scala projects | /r/scala | 2023-06-02

    Tinkoff has a strong Scala FP presense: - https://github.com/tofu-tf/tofu - https://github.com/tofu-tf/derevo - https://github.com/tofu-tf/typed-schema

  • snunit

    Scala Native HTTP server based on NGINX Unit

    Project mention: Nginx Unit – Universal web app server | news.ycombinator.com | 2023-09-10
  • livestub

    The HTTP server stub you always wanted!

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • omhs

    One More Http Server: Routing DSL on Netty.

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-09-10.

Scala HTTP Server related posts

Index

What are some of the best open-source HTTP Server projects in Scala? This list will help you:

Project Stars
1 Http4s 2,468
2 Akka HTTP 1,331
3 tapir 1,255
4 zio-http 706
5 typed-schema 151
6 snunit 118
7 livestub 50
8 omhs 8
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com