reroute VS scotty

Compare reroute vs scotty and see what are their differences.


Another Haskell web framework for rapid development (by agrafix)


Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp (Official Repository) (by scotty-web)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
reroute scotty
3 19
677 1,688
- 0.6%
2.7 8.0
about 2 months ago 15 days ago
Haskell Haskell
MIT License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of reroute. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-28.
  • Error whilst installing Spock (via stack)
    1 project | /r/haskell | 31 Oct 2022
    It's not you, it's a Spock issue:
  • Spock web framework routing question
    2 projects | /r/haskell | 28 Apr 2021
    Thanks, you are probably correct. Mistaken with insertion & matching functions working on a 2nd parameter of PathMap which is a plain list. Digged through Spock calls and ended up at hookRoute which builds-up an actual routing data structure, ie. strict HashMap.


Posts with mentions or reviews of scotty. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-08.
  • haskell todo list app (beginner)
    3 projects | /r/haskell | 8 Jun 2023
    I would suggest checking out scotty for the http server - it uses warp by default, and is very beginner-friendly.
  • HLS issues an error for Setup.hs and Spec.hs (using hspec-discover)
    2 projects | /r/haskellquestions | 20 Nov 2022
    Here's the current commit I'm working with:
  • School of Haskell: Basics
    12 projects | | 11 Nov 2022
    If you're not a fan of the ruby-on-rails / swiss army knife approach that IHP takes, check out Scotty. Add Lucid for Html rendering, and Selda for Postgres. (There are other options for any of these tools if you prefer)

    - Scotty (simple web routing)

  • Use Haskell from Nodejs
    1 project | /r/haskell | 5 Nov 2022
    Writing a Haskell webserver (maybe using scotty) and call it from node.
  • Programming language comparison by reimplementing the same transit data app
    6 projects | | 23 Oct 2022
  • How to change state in a webserver application
    1 project | /r/haskell | 18 Sep 2022
    I've been looking for this as well, and found the globalstate.hs example in the scotty github repository. It uses a ReaderT of a TVar and shows how to update or read shared state in memory.
  • Suggestions for "dashboard" graphics libraries?
    4 projects | /r/haskell | 13 Aug 2022
    I've found htmx and hyperscript talking to scotty to be an easy way to get something like this going while retaining the joys of Haskell on the backend and avoiding the pains of Haskell on the frontend.
  • Web development in Haskell
    7 projects | /r/haskell | 9 Aug 2022
    Finally, to add my opinion in the context of some other posts: I'd suggest Scotty (and probably other libraries I'm less familiar with) before Servant in particular, as Servant is a lot to absorb if you're also trying to build fluency in Haskell at the same time. Similarly, I'd advocate for Elmish (disclaimer, it's written by (very talented programmers other than myself at) my company) over Halogen, at least based on the last time I tried Halogen--I found it pretty complex as well. Don't get me wrong, I think Servant and Halogen are both great, just...complex.
  • Building a REST API with Haskell
    2 projects | | 11 Jul 2022
    This is an example of REST API built with Scotty a web framework of Haskell and PostgreSQL a relational database. It's a simple API to manage products.
  • Options for a frontend of demo for a toy app
    6 projects | /r/haskell | 13 Jun 2022
    Not that I'm much of an expert, but if you're talking about a very barebones static single-page-app, then you could very easily get by just using blaze-html to put your elements on the page, and then scotty is a basic web framework you could use to serve up your app.

What are some alternatives?

When comparing reroute and scotty you can also consider the following projects:


lucid - Clear to write, read and edit DSL for writing HTML

open-browser - Haskell library for opening the web browser.

json - Haskell JSON library

forecast-io - A Haskell library for working with data.

scotty-tls - Run your Scotty apps over TLS

swagger-petstore - swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.

scotty-session - Adding session functionality to scotty


fluid - 🐙 Code-generated, Auto-versioned, & Smart Web APIs

req - An HTTP client library

Spock-worker - Background workers for Spock