# What are the largest open-source Scala 3 codebases?

**URL:** <https://users.scala-lang.org/t/what-are-the-largest-open-source-scala-3-codebases/9598>\
**Category:** Question\
**Created:** [October 31, 2023, 9:54pm UTC](https://users.scala-lang.org/t/what-are-the-largest-open-source-scala-3-codebases/9598 "2023-10-31T21:54:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![benhutchison](https://users.scala-lang.org/user_avatar/users.scala-lang.org/benhutchison/32/2757_2.png) [@benhutchison](https://users.scala-lang.org/u/benhutchison)\
**Post date:** [October 31, 2023, 9:54pm UTC](https://users.scala-lang.org/t/what-are-the-largest-open-source-scala-3-codebases/9598/1 "2023-10-31T21:54:25Z")

</div>

I am wondering if the community can suggest current examples of large, open-source codebases written specifically in the Scala 3 dialect?

And ideally, showcasing “in the wild” usage at scale of Scala 3 features such as enums, opaque types, union and intersection types, context functions, exports, macros and/or typeclass derivation.

As well as a general desire to learn from examples of how to use Scala 3 practically, I have a specific purpose: as an open, reproducible example codebase on which to report problems with Intellij Scala 3 support.

I use IJ regularly with Scala 3 on closed source codebases, and my personal experience is that there remain many issues and limitations in IJ support for Scala 3. However many issues, such as unresponsiveness or failing navigation, seem to exhibit only at codebase-wide scale.

Having a large open Scala 3 codebase would enable me to report (hopefully) reproducible issues, which I’m not able to do - at scale - on a closed codebase, nor on tiny minimized snippets.

The main one I’m aware of atm is Erik Erlandson’s Coulomb: [GitHub - erikerlandson/coulomb: coulomb: unit analysis for Scala](https://github.com/erikerlandson/coulomb)

---

<div class="post-metadata">

**Author:** ![smarter](https://users.scala-lang.org/user_avatar/users.scala-lang.org/smarter/32/262_2.png) [@smarter](https://users.scala-lang.org/u/smarter)\
**Post date:** [October 31, 2023, 10:08pm UTC](https://users.scala-lang.org/t/what-are-the-largest-open-source-scala-3-codebases/9598/2 "2023-10-31T22:08:05Z")

</div>

Here’s a few:

- [GitHub - lampepfl/dotty: The Scala 3 compiler, also known as Dotty.](https://github.com/lampepfl/dotty/)
- [GitHub - lichess-org/lila: ♞ lichess.org: the forever free, adless and open source chess server ♞](https://github.com/lichess-org/lila/)
- The develop branch of sbt where sbt 2.x is being worked on: [GitHub - sbt/sbt at develop](https://github.com/sbt/sbt/tree/develop)

There’s also many projects which cross-compile but don’t default to Scala 3 in their build and that therefore might require tweaking the default `scalaVersion` in the build to get IntelliJ to use its Scala 3 support.

---

<div class="post-metadata">

**Author:** ![benhutchison](https://users.scala-lang.org/user_avatar/users.scala-lang.org/benhutchison/32/2757_2.png) [@benhutchison](https://users.scala-lang.org/u/benhutchison)\
**Post date:** [November 1, 2023, 2:16am UTC](https://users.scala-lang.org/t/what-are-the-largest-open-source-scala-3-codebases/9598/3 "2023-11-01T02:16:08Z")

</div>

Thanks @smarter.

The lila repo in particular was useful as I’ve been able to find a reproducible example to report to the IJ team of [symbols that fail to resolve](https://github.com/lichess-org/lila/blob/master/modules/notify/src/main/NotificationRepo.scala#L32C49-L32C51) in valid code.

Interestingly, yet again it seems like this [problem is related to `export`](https://github.com/lichess-org/lila/blob/master/modules/notify/src/main/package.scala#L3C1-L3C30).

Meanwhile, I have to say I am impressed by just how capably IJ can already navigate around the [Coulomb](https://github.com/erikerlandson/coulomb) codebase, despite its scale, complexity and use of quite sophisticated use of Scala features.

---

<div class="post-metadata">

**Author:** ![yankun1992](https://users.scala-lang.org/user_avatar/users.scala-lang.org/yankun1992/32/2812_2.png) [@yankun1992](https://users.scala-lang.org/u/yankun1992)\
**Post date:** [November 1, 2023, 7:40am UTC](https://users.scala-lang.org/t/what-are-the-largest-open-source-scala-3-codebases/9598/4 "2023-11-01T07:40:57Z")

</div>

Hi @benhutchison

This is my open source project, which is developed using pure Scala 3.

- [Github - otavia-projects/otavia: Your shiny new IO & Actor programming model!](https://github.com/otavia-projects/otavia)

This project makes heavy use of the enums、union and intersection types, context functions macros and/or typeclass derivation.
