# norman/friendly_id

FriendlyId is the “Swiss Army bulldozer” of slugging and permalink plugins for ActiveRecord. It allows you to create pretty URL’s and work with human-friendly strings as if they were numeric ids for ActiveRecord models.

Repository: https://github.com/norman/friendly_id
Canonical: https://ross.abutalabs.com/products/friendly_id
Homepage: http://norman.github.io/friendly_id/
Language: Ruby
License: MIT
License Family: permissive
Topics: rails, ruby, slug, plugin, friendly-url
Last push: 2026-08-18T09:19:41+00:00

## Health v2 (maintenance only)
Score: 82/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 51, longevity 100
- inputs: {"age_days": 6711, "days_push": 15, "days_rel": 117, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6225, forks 591 (observed 2026-08-28T04:09:40.717380+00:00)

## What it is
FriendlyId is a Ruby gem that adds slugging and permalink support to ActiveRecord models in Rails applications. It lets developers use human-friendly strings like 'washington' in URLs instead of numeric ids, with features like slug history, i18n, scoped slugs, and reserved words.

## Use cases
- generate seo-friendly urls for rails models
- replace numeric ids with slugs in urls
- create pretty permalinks for blog posts
- handle slug history when titles change
- support internationalized slugs
- use scoped slugs per parent resource

## When to choose
- you have a Rails or ActiveRecord app and want human-readable URLs
- you need slug versioning so old links keep working
- you want i18n-aware or scoped slugging out of the box

## When to avoid
- you use a non-Ruby or non-ActiveRecord stack
- you only need simple one-off string parameterization (use parameterize instead)
- your framework already has built-in slugging

## Facets
- artifact type: library
- maturity: stable
- function: routing, orm, internationalization
- domain: web-development, backend, developer-tools
- platform: ruby
- tags: slugs, permalinks, seo, activerecord, rails-plugin, pretty-urls, web-server

## Member repositories
- norman/friendly_id (main) score 82

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:40.717380+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-29T17:47:14.172710+00:00, confidence not recorded.
  - readme: https://github.com/norman/friendly_id (fetched 2026-08-28T04:09:40.717380+00:00, sha 9f85887e65bc)
  - homepage: http://norman.github.io/friendly_id/ (fetched 2026-08-29T08:43:31.847170+00:00, sha c79fe72ea2b8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
