Open Source Docs

Spoonbill

Server-side SPA framework for Scala 3

Getting Started

Dependency setup and examples


Getting Started

// build.sbt
libraryDependencies += "com.natural-transformation" %% "spoonbill" % "7.0.0"

The latest release is Spoonbill 7.0.0, published for Scala 3. Keep every Spoonbill module on the same version and recompile when upgrading from an earlier major release. Start with the user guide and working examples. See the browser authentication example for password/factor login, recovery, protected actions and logout without application JavaScript. Its shared UI runs natively in cats-effect IO or Future; the guide starts with the managed IO application.

ModuleResponsibility
spoonbill-corePure immutable security and ceremony decisions
spoonbillApplication runtime, browser coordinator and memory provider
spoonbill-security-jdbcOptional PostgreSQL browser, transaction and snapshot integration
spoonbill-pekkoNative Scala 3 Pekko HTTP/WebSocket adapter

Examples