Join 10350+ others. No spamming.
I promise!

Follow us at github.



scalatra / scalatra


Tiny Scala high-performance, async web framework, inspired by Sinatra


Scalatra Build Status

Join the chat at

Scalatra is a tiny, Sinatra-like web framework for Scala.


import org.scalatra._

class ScalatraExample extends ScalatraServlet {
  get("/") {
    <h1>Hello, world!</h1>


If you're just starting out, see the installation and first project sections of our website.

Once you've done that, take a look at the Scalatra Guides for documentation on all aspects of the framework, code examples, and more. We also have an extensive selection of Example Applications which accompany the tutorials in the Scalatra Guides.

Latest version

The latest stable version of Scalatra is 2.3.1, and is published to Maven Central.

libraryDependencies += "org.scalatra" %% "scalatra" % "2.3.1"

The upcoming 2.4.0 RC release is also available. Please git it a try and give us your feedback!

libraryDependencies += "org.scalatra" %% "scalatra" % "2.4.0.RC3"

Development version

The 2.4.x branch is published as 2.4.0-SNAPSHOT to OSSRH.

resolvers += "Sonatype Nexus Snapshots" at ""

libraryDependencies += "org.scalatra" %% "scalatra" % "2.4.0-SNAPSHOT"