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 572 65

  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 238 33

  3. Ammonite Ammonite Public

    Scala Scripting

    Scala 2.6k 371

  4. mill mill Public

    A better build tool for Java, Scala and Kotlin: 3-6x faster than Maven or Gradle, less fiddling with plugins, and more easily explorable in your IDE

    Scala 2.6k 418

  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 737 88

Repositories

Showing 10 of 23 repositories
  • mill Public

    A better build tool for Java, Scala and Kotlin: 3-6x faster than Maven or Gradle, less fiddling with plugins, and more easily explorable in your IDE

    com-lihaoyi/mill’s past year of commit activity
    Scala 2,599 MIT 418 187 36 Updated Oct 15, 2025
  • Ammonite Public

    Scala Scripting

    com-lihaoyi/Ammonite’s past year of commit activity
    Scala 2,629 MIT 371 126 13 Updated Oct 11, 2025
  • acyclic Public

    Acyclic is a Scala compiler plugin to let you prohibit circular dependencies between files

    com-lihaoyi/acyclic’s past year of commit activity
    Scala 252 MIT 36 8 3 Updated Oct 2, 2025
  • 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 756 MIT 175 16 13 Updated Sep 30, 2025
  • PPrint Public

    Pretty-printing value, types and type-signatures in Scala

    com-lihaoyi/PPrint’s past year of commit activity
    Scala 245 MIT 41 10 8 Updated Sep 27, 2025
  • 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 238 33 18 3 Updated Sep 24, 2025
  • mill-moduledefs Public

    Scalac compiler plugin to support Mill modules

    com-lihaoyi/mill-moduledefs’s past year of commit activity
    Scala 7 MIT 4 2 2 Updated Sep 22, 2025
  • unroll Public
    com-lihaoyi/unroll’s past year of commit activity
    Scala 32 4 2 2 Updated Sep 14, 2025
  • 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 572 65 7 6 Updated Sep 4, 2025
  • requests-scala Public

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

    com-lihaoyi/requests-scala’s past year of commit activity
    Scala 737 88 24 13 Updated Sep 4, 2025