# Scotty

Haskell web framework inspired by Ruby's Sinatra, for defining RESTful routes and responses on WAI and Warp.


Source: https://findsoftware.frbit.cloud/scotty/
Last reviewed: 2026-10-26
Listed since: 2026-10-26

## Record

### Links

- repository: https://github.com/scotty-web/scotty
- docs: https://github.com/scotty-web/scotty/wiki

### Identity

- status: active
- maintainer: The Scotty maintainers
- maintainerType: community
- parent: unknown
- firstRelease: 2012
- hqCountry: unknown

### Kind

- category: framework
- hosting: binary
- language: haskell
- runtime: binary
- runtimeMin: unknown
- basedOn: warp

### Content

- contentStore: unknown
- databases: unknown
- adminUi: unknown
- headlessApi: unknown
- templating: none, template-language agnostic
- i18n: unknown

### Rendering and deploy

- runsAs: always-on
- renderingModes: unknown
- installMethod: runghc examples/basic.hs, or stack exec

### License

- licenseModel: open-source
- license: BSD-3-Clause, BSD3

### Releases

- currentMajor: 0
- latestReleaseDate: 2026-01-07

### Adoption

- githubStargazers: 1776
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 67
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://api.github.com/repos/scotty-web/scotty (read 2026-10-26)
- urls: https://github.com/scotty-web/scotty/blob/master/README.md (read 2026-10-26)
- maintainer: https://raw.githubusercontent.com/scotty-web/scotty/master/scotty.cabal (read 2026-10-26)
- maintainerType: https://raw.githubusercontent.com/scotty-web/scotty/master/scotty.cabal (read 2026-10-26)
- language: https://api.github.com/repos/scotty-web/scotty (read 2026-10-26)
- category: https://github.com/scotty-web/scotty/blob/master/README.md (read 2026-10-26)
- runtime: https://github.com/scotty-web/scotty/blob/master/README.md (read 2026-10-26)
- basedOn: https://github.com/scotty-web/scotty/blob/master/README.md (read 2026-10-26)
- templating: https://github.com/scotty-web/scotty/blob/master/README.md (read 2026-10-26)
- installMethod: https://github.com/scotty-web/scotty/blob/master/README.md (read 2026-10-26)
- runsAs: https://github.com/scotty-web/scotty/blob/master/README.md (read 2026-10-26)
- license: https://api.github.com/repos/scotty-web/scotty (read 2026-10-26)
- license: https://raw.githubusercontent.com/scotty-web/scotty/master/scotty.cabal (read 2026-10-26)
- licenseModel: https://raw.githubusercontent.com/scotty-web/scotty/master/LICENSE (read 2026-10-26)
- firstRelease: https://hackage.haskell.org/package/scotty-0.0.1 (read 2026-10-26)
- currentMajor: https://api.github.com/repos/scotty-web/scotty/releases (read 2026-10-26)
- latestReleaseDate: https://hackage.haskell.org/package/scotty-0.30 (read 2026-10-26)
- githubStargazers: https://api.github.com/repos/scotty-web/scotty (read 2026-10-26)
- contributors: https://api.github.com/repos/scotty-web/scotty/contributors?per_page=1 (read 2026-10-26)

## Notes

Scotty is a Haskell web framework inspired by Ruby's Sinatra. It is built on WAI, the web application interface, and runs on the Warp web server. A page is defined by an HTTP verb, a URL pattern and the content it returns, and the project says any template language will do, since anything that returns a Text value works.

The package is published on Hackage, and its cabal file names "The Scotty maintainers" as the maintainer. The [README](https://github.com/scotty-web/scotty/blob/master/README.md) runs its examples with runghc or stack, and each example starts a server that runs until it is stopped. Tutorials and related projects are collected in the [Scotty wiki](https://github.com/scotty-web/scotty/wiki).

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
