Skip to content

The lihaoyi Scala Platform 🇸🇬

The lihaoyi platform lets you write Scala in an easy and productive way while delivering real business value. It provides all the core building blocks a typical software engineer needs day to day: HTTP clients and servers, JSON/binary data serialization, filesystem operations, CLI argument parsing, build tooling, etc. These can be combined in a variety of ways to perform many useful real-world tasks:

Latest Projects Versions

  • : a better build tool for Java, Scala, and Kotlin
  • : a library for interfacing with common OS filesystem and subprocess APIs
  • : a Scala port of the popular Python Requests HTTP client
  • : a simple, fast, dependency-free JSON & Binary serialization library
  • : an ORM to query SQL databases via concise and familiar collection operations
  • : a HTTP micro-framework for websites, backend servers, or REST APIs
  • : a small, convenient, dependency-free library for command-line argument parsing
  • : a library for easily writing high-performance parsers
  • : a simple testing framework
  • : a library for pretty-printing values, types and type-signatures
  • : a library providing "source" metadata to your program
  • : a library for manipulating Fancy Ansi colored strings
  • : interfaces for manipulating streaming collections and bytestreams

Bounties

The com-lihaoyi organization maintains an ongoing issue bounty program, paying out 100s to 1000s of USD for the completion of various issues. See the up-to-date listing here:

The lihaoyi projects are all open source, but if you want to learn more about writing Scala in the easy and productive way, you check out the following book:

Learn Scala

Hands-on Scala Programming also comes with over 150 worked examples that demonstrate how to use Scala with the lihaoyi projects in a wide variety of real scenarios:

These examples are free to browse online, and are a great way to kickstart your next application, project or business using the Scala programming language.

Pinned Loading

  1. cask cask Public

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

    Scala 584 68

  2. scalasql scalasql Public

    Scala ORM to query SQL databases from Scala via concise, type-safe, and familiar case classes and collection operations. Connects to Postgres, MySql, H2, and Sqlite out of the box

    Scala 246 34

  3. Ammonite Ammonite Public

    Scala Scripting

    Scala 2.6k 371

  4. mill mill Public

    A better build tool for Java, Scala and Kotlin: Simpler than Maven, easier than Gradle, with 3-6x faster dev workflows than other JVM build tools

    Scala 2.7k 427

  5. mainargs mainargs Public

    A small, convenient, dependency-free library for command-line argument parsing in Scala

    Scala 205 27

  6. requests-scala requests-scala Public

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

    Scala 742 91

Repositories

Showing 10 of 24 repositories
  • mill Public

    A better build tool for Java, Scala and Kotlin: Simpler than Maven, easier than Gradle, with 3-6x faster dev workflows than other JVM build tools

    com-lihaoyi/mill’s past year of commit activity
    Scala 2,665 MIT 427 128 23 Updated Jan 16, 2026
  • scalasql Public

    Scala ORM to query SQL databases from Scala via concise, type-safe, and familiar case classes and collection operations. Connects to Postgres, MySql, H2, and Sqlite out of the box

    com-lihaoyi/scalasql’s past year of commit activity
    Scala 246 34 19 3 Updated Jan 15, 2026
  • upickle Public

    uPickle: a simple, fast, dependency-free JSON & Binary (MessagePack) serialization library for Scala

    com-lihaoyi/upickle’s past year of commit activity
    Scala 762 MIT 175 15 12 Updated Jan 14, 2026
  • cask Public

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

    com-lihaoyi/cask’s past year of commit activity
    Scala 584 68 10 9 Updated Jan 14, 2026
  • mainargs Public

    A small, convenient, dependency-free library for command-line argument parsing in Scala

    com-lihaoyi/mainargs’s past year of commit activity
    Scala 205 27 16 20 Updated Jan 14, 2026
  • geny Public

    Provides the geny.Generator data type, the dual to a scala.Iterator that can ensure resource cleanup

    com-lihaoyi/geny’s past year of commit activity
    Scala 96 24 1 14 Updated Jan 14, 2026
  • utest Public

    A simple testing framework for Scala

    com-lihaoyi/utest’s past year of commit activity
    Scala 509 MIT 88 15 2 Updated Jan 14, 2026
  • fastparse Public

    Writing Fast Parsers Fast in Scala

    com-lihaoyi/fastparse’s past year of commit activity
    Scala 1,130 MIT 168 17 5 Updated Jan 14, 2026
  • Ammonite Public

    Scala Scripting

    com-lihaoyi/Ammonite’s past year of commit activity
    Scala 2,638 MIT 371 128 17 Updated Jan 14, 2026
  • mill-moduledefs Public

    Scalac compiler plugin to support Mill modules

    com-lihaoyi/mill-moduledefs’s past year of commit activity
    Scala 7 MIT 4 1 2 Updated Jan 13, 2026