Open Source Docs

Spoonbill

Server-side SPA framework for Scala 3

Overview

Why Spoonbill, architecture overview, and documentation links


Spoonbill is a server-side single-page application framework for Scala 3. The browser runs a small JS bridge. The server owns all application state and renders UI updates. Client and server are combined into a single app without any REST protocol in the middle.

Why?

  • A shared browser runtime that does not grow with application code

  • Comparable to static HTML client-side RAM consumption

  • Indexable pages out of the box

  • Routing out of the box

  • Build extremely large app without increasing size of the page

  • No need to make CRUD REST service

  • Connect to infrastructure (DBMS, Message queue) directly from application

  • Coordinate browser authentication in Scala with atomic memory or PostgreSQL host transactions

Documentation

Full User Guide

Spoonbill also includes a user guide in AsciiDoc format: