# quirkey/sammy

Sammy is a tiny javascript framework built on top of jQuery, It's RESTful Evented Javascript.

Repository: https://github.com/quirkey/sammy
Canonical: https://ross.abutalabs.com/products/sammy
Homepage: http://sammyjs.org
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2024-07-27T22:25:53+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 6375, "days_push": 767, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2977, forks 378 (observed 2026-08-28T04:07:33.039800+00:00)

## What it is
Sammy.js is a tiny JavaScript framework built on top of jQuery, inspired by Ruby's Sinatra, providing RESTful, evented routing for single-page applications. It lets developers define get/post routes and custom event-bound routes with chained asynchronous callbacks.

## Use cases
- build a single-page app with hash-based routing
- define RESTful routes in the browser like Sinatra
- bind routes to custom application events
- chain multiple async callbacks in a route
- build a lightweight jQuery-based web app without a heavy framework

## When to choose
- you maintain a legacy jQuery codebase needing simple client-side routing
- you want a Sinatra-style routing DSL in JavaScript
- you need a tiny framework with minimal footprint

## When to avoid
- starting a new modern project - use React, Vue, or a modern router instead
- you need framework features beyond routing like state management or components
- you want actively maintained software with current browser support

## Facets
- artifact type: framework
- maturity: abandoned
- function: web-framework, routing, frontend-framework
- domain: web-development, frontend
- platform: browser
- tags: sinatra-inspired, jquery, hash-routing, spa, restful, evented, javascript

## Member repositories
- quirkey/sammy (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:33.039800+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:31:33.995024+00:00, confidence not recorded.
  - readme: https://github.com/quirkey/sammy (fetched 2026-08-28T04:07:33.039800+00:00, sha ba0e0df3b935)
- Data as of 2026-08-30T08:39:29.467469+00:00.
