awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
norman avatar

norman/friendly_id

0
View on GitHub↗
norman.github.io/friendly_id↗

Friendly Id

Friendly ID is an ActiveRecord slugging plugin that generates human-readable URL slugs from model attributes, replacing numeric IDs for cleaner permalinks in Rails applications. It resolves database records by matching a slug string instead of the numeric primary key in finder methods, enabling friendlier URLs throughout an application.

The plugin provides a slug conflict resolution system that appends a UUID or uses candidate attribute combinations to guarantee unique slugs when the primary choice is already taken. It also offers a scoped uniqueness engine that restricts slug uniqueness within a defined association or foreign key, allowing duplicate slugs across different parent records. A permalink history tracker records previous slugs for a record and redirects old URLs to the current one, preserving link integrity after slug changes. Additionally, it includes a reserved word filter that prevents specified terms from being used as slugs, avoiding conflicts with application routes or reserved paths, and provides multilingual slug support that stores and resolves different slug translations per locale.

The project covers slug generation from model attributes, candidate-based conflict resolution with prioritized fallback attribute combinations, and customizable slug generation logic through a custom generator hook. It also supports locale-specific slug translation, scoped uniqueness constraints, and history-aware redirect chains that issue HTTP redirects when outdated slugs are requested.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • Slug Generators - Generates human-readable URL slugs from model attributes, replacing numeric IDs for cleaner permalinks in Rails applications.
  • AI Q&A Dialogue Generators - Creates a human-readable URL string from a database record's attribute, replacing the numeric primary key.
  • Scoped Slug Uniqueness Constraints - Enforces slug uniqueness within a configurable association or foreign key scope.
  • Slug-Based Record Retrieval - Resolves database records by matching a human-readable slug string instead of the numeric primary key.
  • Slug History Trackers - Stores a record of all previous slugs for a model, allowing old URLs to redirect or resolve.
  • Slug Conflict Resolutions - Provides a prioritized list of fallback attribute combinations to guarantee unique slugs on conflict.
  • Slug History Redirects - Stores previous slug versions and issues HTTP redirects when outdated slugs are requested.
  • Slug-Based - Compares the request path to the current slug and issues a 301 redirect when they differ.
  • Historical Slug Redirects - Redirects requests to a model's current slug when accessed via an older, stored slug.
  • History Tracking - Stores previous slugs for a record so old permalinks continue to resolve after slug changes.
  • Slug History Resolutions - Stores a log of every slug a record has ever used so old URLs continue to resolve after changes.
  • Slug History Trackers - Records all previous slugs for a record so old URLs continue to resolve correctly after changes.
  • Candidate Chains - Provides prioritized fallback attribute combinations to generate unique slugs when the primary choice is taken.
  • Conflict Resolution - Ensures unique slugs by appending UUIDs or using candidate fallback attributes when the primary slug is taken.
  • Conflict Resolution Strategies - Provides a conflict resolution system that appends UUIDs or uses candidate attributes to guarantee unique slugs.
  • Custom Slug Configurations - Allows users to define custom slug-building logic by replacing the default generator with a user-defined hook.
  • Scoped Slug Uniqueness Constraints - Restricts slug uniqueness within a defined association or foreign key, allowing duplicates across scopes.
  • Slug History Redirects - Logs previous slugs and redirects requests for outdated identifiers to the current slug.
  • History Redirects - Tracks previous slugs and automatically redirects old URLs to current records to prevent broken links.
  • History Trackers - Records previous slugs for a record and redirects old URLs to the current one, preserving link integrity.
  • History Tracking & Redirects - Tracks previous slugs and redirects old URLs to the current one, preserving link integrity after slug changes.
  • Scoped Uniqueness - Generates unique slugs within a defined scope, allowing the same slug to exist under different parent records.
  • Slug Reserved Word Filters - Prevents specified terms from being used as slugs by checking against a configurable blacklist.
  • Fallback Lookups - Finds records by slug while falling back to numeric ID lookup when the slug is not found.
  • Locale-Specific Slug Translations - Stores and resolves different slug translations per locale for multilingual URL support.
  • Candidate-Based Slug Conflict Resolvers - Defines a prioritized list of alternate attribute combinations to generate a unique slug when the primary choice is taken.
  • Fallback Slug Candidate Lists - Specifies a list of fallback slug sources to use when the primary slug is already taken.
  • Reserved Word Filters - Prevents specified terms from being used as slugs, avoiding conflicts with application routes or reserved paths.
  • Locale-Specific - Generates and resolves slugs per locale, enabling multilingual URL paths for the same record.
  • Locale-Specific Slug Translations - Stores separate slug translations per locale and resolves the correct slug based on the current locale.
  • Multilingual Slugs - Manages locale-specific slug translations so records have different friendly URLs per language.
  • Reserved Word Filters - Prevents specified terms from being used as slugs, avoiding conflicts with application routes or reserved paths.
  • Reserved Word Prevention - Blocks specified terms from being used as slugs to avoid conflicts with application routes or reserved paths.
  • Scoped Slug Uniqueness Constraints - Restricts slug uniqueness within a defined association, allowing duplicate slugs across different parent records.
  • Slug Uniqueness Enforcers with Fallbacks - Appends a UUID to duplicate slugs and supports candidate slugs as alternatives for uniqueness.
  • UUID-Based Slug Uniqueness Enforcers - Appends a UUID to duplicate slugs to guarantee uniqueness for each record.
6,222 stars·591 forks·Ruby·MIT·14 views

Star history

Star history chart for norman/friendly_idStar history chart for norman/friendly_id

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Projects sharing features with Friendly Id

These projects share indexed features with Friendly Id. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • cviebrock/eloquent-sluggablecviebrock avatar

    cviebrock/eloquent-sluggable

    3,993View on GitHub↗

    This project is a slug generation and management tool for the Laravel Eloquent ORM. It provides a reusable trait that adds the ability to create unique, URL-friendly strings from model attributes, allowing database records to be retrieved using human-readable slugs instead of primary keys. The system supports multilingual URL management by maintaining separate localized slugs for a single model instance. It ensures uniqueness through an automatic collision-avoidance mechanism that appends numeric suffixes to duplicate strings and prevents the use of reserved words that might overlap with syst

    PHP
    View on GitHub↗3,993
  • area17/twillarea17 avatar

    area17/twill

    3,972View on GitHub↗

    Twill is a Laravel CMS toolkit and admin panel generator designed for building custom administrative consoles and content management systems. It serves as a headless CMS framework and a toolkit for defining content models and managing structured data through a dedicated administrative interface. The project features a visual block editor that allows publishers to arrange and configure reusable content sections via a drag-and-drop interface. It includes a dedicated digital asset manager for storing, cropping, and optimizing images and files across local or cloud storage, as well as a multiling

    PHP
    View on GitHub↗3,972
  • nette/utilsnette avatar

    nette/utils

    2,142View on GitHub↗

    This project is a general-purpose PHP utility library offering a collection of helper classes and functions for string manipulation, array and collection processing, data validation, filesystem operations, and image processing. It provides foundational toolkits designed to handle common development tasks through standardized APIs. The library is distinguished by specialized subsystems for programmatic HTML generation and secure element construction, runtime code reflection, and object-oriented utilities such as virtual property management and event callback triggers. It also includes cryptogr

    PHParray-manipulationscomponentjson
    View on GitHub↗2,142
  • transitive-bullshit/nextjs-notion-starter-kittransitive-bullshit avatar

    transitive-bullshit/nextjs-notion-starter-kit

    7,021View on GitHub↗

    This is an opinionated starter kit that turns a Notion workspace into a fast, SEO-friendly website using Next.js and Vercel. It functions as a static site generator that builds a complete website from Notion content during the build process, integrating Notion as a content management system to pull pages and render them as a web site. The kit generates automatic social images for each page, creates human-readable URL slugs from page titles, and produces search-engine-optimized pages from Notion content. It includes a keyboard-driven search overlay and table of contents for navigating content

    TypeScriptblognextjsnotion
    View on GitHub↗7,021
Compare all 20 related projects→

Frequently asked questions

What does norman/friendly_id do?

Friendly ID is an ActiveRecord slugging plugin that generates human-readable URL slugs from model attributes, replacing numeric IDs for cleaner permalinks in Rails applications. It resolves database records by matching a slug string instead of the numeric primary key in finder methods, enabling friendlier URLs throughout an application.

What are the main features of norman/friendly_id?

The main features of norman/friendly_id are: Slug Generators, AI Q&A Dialogue Generators, Scoped Slug Uniqueness Constraints, Slug-Based Record Retrieval, Slug History Trackers, Slug Conflict Resolutions, Slug History Redirects, Slug-Based.

Which projects share features with norman/friendly_id?

Projects with overlapping indexed features include: cviebrock/eloquent-sluggable — This project is a slug generation and management tool for the Laravel Eloquent ORM. It provides a reusable trait that… area17/twill — Twill is a Laravel CMS toolkit and admin panel generator designed for building custom administrative consoles and… transitive-bullshit/nextjs-notion-starter-kit — This is an opinionated starter kit that turns a Notion workspace into a fast, SEO-friendly website using Next.js and… nette/utils — This project is a general-purpose PHP utility library offering a collection of helper classes and functions for string… doctrine/inflector — Inflector is a linguistic data processing library designed to handle string transformations and grammatical inflection… gabrielchua/open-notebooklm — This project is an automated audio production system that converts document content, such as PDFs, into spoken…