# Scotty

> Sinatra-inspired Haskell web framework on WAI and Warp

Source: https://talira.ai/catalog/scotty-dcp1frkp
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework, Library
- Categories: [frameworks / web / backend](https://talira.ai/categories/frameworks/web/backend), [languages / haskell](https://talira.ai/categories/languages/haskell)
- Licence: BSD-3-Clause[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Scotty maintainers](https://talira.ai/orgs/scotty-web.md)

Scotty is a [Haskell](https://talira.ai/catalog/haskell-jjq1dx6f.md) web framework inspired by Ruby's [Sinatra](https://talira.ai/catalog/sinatra-wdjbgp5t.md): a page is just an HTTP verb, a URL pattern and the content to return, which makes it a cheap and cheerful way to write RESTful, declarative web apps. It's template-language agnostic (anything that returns Text will do), conforms to WAI and runs on the fast Warp server by default. It was created by Andrew Farmer and is maintained by the Scotty maintainers.

## Links

- GitHub: https://github.com/scotty-web/scotty

## Problems it solves

- build a small REST API in Haskell
- a minimal Sinatra-like web framework for Haskell
- serve JSON endpoints from a Haskell program

## Features

- Sinatra-style routes with verbs and URL patterns
- path parameters
- template-language agnostic
- WAI compatible, Warp by default

## Trust

Overall: 0.38 out of 1.
Signals: maintenance 0.27, adoption 0.65, momentum 0.31, community 0.76, backing 0.30, extensibility 0.00.

- latest release 0.12.1 4.0 years ago
- 1.8k GitHub stars
- 80 contributors
- backed by Scotty maintainers

Warnings:

- last commit 5 months ago

## Alternatives

- [Servant](https://talira.ai/catalog/servant-wj496h90.md): Type-level web API DSL for Haskell: servers, clients and docs from one type
- [WAI](https://talira.ai/catalog/wai-zb43k2ze.md): Common interface between Haskell web applications and web servers

## Sources

[^1]: https://github.com/scotty-web/scotty/blob/master/LICENSE (checked 29 Nov 2026)
[^2]: https://github.com/scotty-web/scotty/blob/master/scotty.cabal (checked 29 Nov 2026)
