#4141st of 110 in Backend and cloud templates

kemal

Sinatra-style web framework for Crystal with routing, WebSockets and JSON

Releases and problems feed (RSS)

Stars
3.9k
License
MIT
Last commit
Nov 2026
Last release
Oct 2026
Language
Crystal
Stars, last 30 weeks+95
26 Apr 2026: 3,839 stars3 May 2026: 3,843 stars10 May 2026: 3,847 stars17 May 2026: 3,848 stars24 May 2026: 3,849 stars31 May 2026: 3,853 stars7 Jun 2026: 3,855 stars14 Jun 2026: 3,856 stars21 Jun 2026: 3,858 stars28 Jun 2026: 3,859 stars5 Jul 2026: 3,859 stars12 Jul 2026: 3,863 stars19 Jul 2026: 3,863 stars26 Jul 2026: 3,865 stars2 Aug 2026: 3,876 stars9 Aug 2026: 3,887 stars16 Aug 2026: 3,890 stars23 Aug 2026: 3,891 stars30 Aug 2026: 3,896 stars6 Sept 2026: 3,898 stars13 Sept 2026: 3,899 stars20 Sept 2026: 3,904 stars27 Sept 2026: 3,905 stars4 Oct 2026: 3,908 stars11 Oct 2026: 3,911 stars18 Oct 2026: 3,918 stars25 Oct 2026: 3,920 stars1 Nov 2026: 3,924 stars8 Nov 2026: 3,931 stars15 Nov 2026: 3,932 stars22 Nov 2026: 3,934 stars

3,839 on 26 Apr 20263,934 on 22 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Kemal is a web framework for the Crystal language with a Sinatra-like routing DSL covering all HTTP verbs, including QUERY. It includes WebSocket routes, ECR templates, static file serving and composable middleware, and compiles to a single native binary. It does not impose an ORM or project layout; sessions come from the separate kemal-session shard.

Who it is for: Crystal developers building HTTP APIs, WebSocket services or small web apps

Strengths

  • Built-in WebSocket routes and ECR templates, no extra shards needed
  • Compiles to a single native binary (~2 MB per README)
  • No forced ORM or layout; works with any Crystal database library
  • Returns 405 with an Allow header for wrong-method requests, per RFC 9110

Weaknesses

  • Crystal only; requires Crystal 1.19+ and a compile step
  • Sessions need the separate kemal-session shard
  • General web framework with no LLM or model integration included
  • README benchmark figures are self-reported, with no methodology given

What it needs

  • Crystal
  • Needs Crystal 1.19+

What changed

  1. v1.15.0 ↗ (opens in a new tab)Security fix

    GHSA-X97G-6H7H-Q9W6, GHSA-89XC-29WG-6MM5, GHSA-GVHF-4V24-F8R5. “(SECURITY) Never route a request-target that does not start with /, and refuse a malformed one (GHSA-x97g-6h7h-q9w6). The route key is the method followed by the path with nothing in between, so the …”

  2. v1.13.0 ↗ (opens in a new tab)Security fix

    GHSA-JF9Q-62H3-924J, CVE-2011-3192. “(SECURITY) Run the GET filters for HEAD requests served by the GET route (GHSA-jf9q-62h3-924j). Kemal serves a HEAD request with the GET route when no explicit HEAD route exists, but Kemal::FilterHan…”

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in Backend and cloud templates

See all 110
Also in Backend and cloud templates
RankProjectScore
#39functions-samplesOfficial Cloud Functions for Firebase samples for each trigger type and use case12.2k starsApache-2.073 out of 100
#40humaGo framework for REST/RPC APIs built from typed handlers and OpenAPI 3.14.6k starsMIT73 out of 100
#42api-platform/corePHP library for building hypermedia REST and GraphQL APIs on Symfony2.6k starsMIT73 out of 100
#43cloud-foundation-fabricTerraform modules and landing-zone blueprints for Google Cloud organizations2.1k starsApache-2.072 out of 100
#44litestarTyped Python ASGI framework for building APIs with OpenAPI generation8.6k stars+59 (+0.7%) in 30 daysMIT71 out of 100