# wbotelhos/raty

:star2: Raty - A Star Rating Plugin

Repository: https://github.com/wbotelhos/raty
Canonical: https://ross.abutalabs.com/products/raty
Homepage: https://wbotelhos.com
Language: JavaScript
License: MIT
License Family: permissive
Topics: rating, vote, voting, star, star-rating
Last push: 2024-04-27T18:15:02+00:00

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

## Adoption (not part of the score)
Stars 2335, forks 638 (observed 2026-08-28T04:06:38.016596+00:00)

## What it is
Raty is a vanilla JavaScript star rating plugin that renders interactive rating widgets using images or icon fonts. It supports half stars, hints, cancel buttons, and customizable icon ranges.

## Use cases
- add a star rating widget to a web page
- let users rate products with stars
- implement half-star rating input
- create a rating form with cancel option
- customize rating icons with fonts instead of images

## When to choose
- you need a lightweight, dependency-free star rating widget in vanilla JS
- you want half-star support and customizable hints
- you're migrating from the old jQuery Raty plugin

## When to avoid
- you need a full-featured React/Vue rating component with framework bindings
- you need backend rating persistence (see the author's Rating gem for Rails)
- your project requires a maintained library with frequent releases

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, frontend-framework
- domain: frontend, web-development
- platform: browser
- tags: star-rating, rating-widget, vanilla-js, jquery-successor, javascript

## Member repositories
- wbotelhos/raty (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:38.016596+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-30T02:37:45.082163+00:00, confidence not recorded.
  - readme: https://github.com/wbotelhos/raty (fetched 2026-08-28T04:06:38.016596+00:00, sha 64db626f9eaa)
  - homepage: https://wbotelhos.com (fetched 2026-08-29T10:18:27.750899+00:00, sha 04d769b64da2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
