scalatra

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

Github stars Tracking Chart

Scalatra Build Status

Join the chat at https://gitter.im/scalatra/scalatra

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

Example

import org.scalatra._

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

Documentation

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.6.+, and is published to Maven Central.

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

Development version

The 2.5.x branch is published as 2.6.{x}-SNAPSHOT to OSSRH.

resolvers += "Sonatype Nexus Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"

libraryDependencies += "org.scalatra" %% "scalatra" % "2.6.{x}-SNAPSHOT"

Community

Main metrics

Overview
Name With Ownerscalatra/scalatra
Primary LanguageScala
Program languageScala (Language Count: 2)
Platform
License:Other
所有者活动
Created At2009-05-31 09:20:32
Pushed At2025-06-08 00:37:55
Last Commit At2021-07-22 14:57:11
Release Count134
Last Release Namev3.1.2 (Posted on 2025-05-03 11:58:07)
First Release Namestep-1.0 (Posted on 2010-01-28 00:21:54)
用户参与
Stargazers Count2.7k
Watchers Count81
Fork Count340
Commits Count4.2k
Has Issues Enabled
Issues Count443
Issue Open Count62
Pull Requests Count1264
Pull Requests Open Count9
Pull Requests Close Count119
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private