Scala HTTP

Open-source Scala projects categorized as HTTP

Top 23 Scala HTTP Projects

  • Finagle

    A fault tolerant, protocol-agnostic RPC system

    Project mention: Features of Project Loom incorporated in Java 21 | news.ycombinator.com | 2023-08-15

    Not sure about now but a few years back the company I worked for was heavily vested in Finagle [1] using Future pools. I'm sure virtual threads would only enhance this framework. Also, Spring and it's reactive webflux would probably benefit as well [2].

    [1] https://twitter.github.io/finagle/

    [2] https://docs.spring.io/spring-framework/reference/web/webflu...

  • SynapseML

    Simple and Distributed Machine Learning

    Project mention: FLaNK Stack Weekly for 12 September 2023 | dev.to | 2023-09-12
  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • Spray

    A suite of scala libraries for building and consuming RESTful web services on top of Akka: lightweight, asynchronous, non-blocking, actor-based, testable

  • 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.

  • Finatra

    Fast, testable, Scala services built on TwitterServer and Finagle

  • Elastic4s

    Elasticsearch Scala Client - Reactive, Non Blocking, Type Safe, HTTP Client

  • Finch.io

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

  • Onboard AI

    ChatGPT with full context of any GitHub repo. 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 app.getonboardai.com.

  • sttp

    The Scala HTTP client you always wanted!

  • 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

  • tapir

    Declarative, type-safe web endpoints library

  • 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.

  • requests-scala

    A Scala port of the popular Python Requests HTTP client: flexible, intuitive, and straightforward to use.

    Project mention: Scala opensource projects | /r/scala | 2023-05-06

    There's the Li Haoyi's ecosystem of tools and libraries that's fun to hack on, has a low entry-bar (with a design philosophy of using the least complex abstractions for the job), and has few libs like requests and cask that may appeal to those liking some python minimalism. That's not the fastest way to learn hardcore FP, that's not the worst either.

  • cask

    Cask: a Scala HTTP micro-framework (by lihaoyi)

    Project mention: Java21/Virtual threads, simplest the most boring scala http server stack ? | /r/scala | 2023-09-24

    I want to just block as if there's no tomorrow, no effects / hardcore FP (maybe only something like https://github.com/softwaremill/ox), what would you use? E.g. for http server / db / json ?https://github.com/com-lihaoyi/cask ?

  • Dispatch

    Scala wrapper for the Java AsyncHttpClient.

  • Scalaxb

    scalaxb is an XML data binding tool for Scala.

  • smithy4s

    https://disneystreaming.github.io/smithy4s/

  • cornichon

    Testing tool in Scala for HTTP JSON API

  • spark-clickhouse-connector

    Spark ClickHouse Connector build on DataSourceV2 API

  • featherbed

    Asynchronous Scala HTTP client using Finagle, Shapeless and Cats

  • RösHTTP

    Unified Scala.js + Scala HTTP client API

  • lolhttp

    An HTTP Server and Client library for Scala.

  • Fintrospect

    Implement fast, type-safe HTTP webservices for Finagle

  • akka-http-metrics

    Easily collect and expose metrics in your akka-http server

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

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-24.

Scala HTTP related posts

Index

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

Project Stars
1 Finagle 8,734
2 SynapseML 4,936
3 Spray 2,521
4 Http4s 2,491
5 Finatra 2,268
6 Elastic4s 1,629
7 Finch.io 1,594
8 sttp 1,402
9 Akka HTTP 1,336
10 tapir 1,266
11 zio-http 725
12 requests-scala 690
13 cask 488
14 Dispatch 428
15 Scalaxb 333
16 smithy4s 315
17 cornichon 224
18 spark-clickhouse-connector 162
19 featherbed 137
20 RösHTTP 125
21 lolhttp 92
22 Fintrospect 91
23 akka-http-metrics 65
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com