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:
-
Build a website with Cask, ScalaSql, and Scalatags (Example) or API server with Cask, ScalaSql, and uPickle (Example)
-
Write a command-line utility with MainArgs and OS-Lib (Examples)
-
Automate some third-party JSON APIs via Requests-Scala and uPickle (Example)
-
Write an incremental static site generator using the Mill Build Tool, together with OS-Lib and Scalatags (Example)
: 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
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:
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.