meta-tags

github.com/kpumuk/meta-tags SEO & Web Analytics Open-source projectOpen source

Manage search engine optimization metadata in Ruby on Rails applications with this SEO library.

github.com/kpumuk/meta-tags
meta-tags homepage screenshot

About meta-tags

meta-tags is an open-source gem for Ruby on Rails applications to render HTML head metadata, including titles, descriptions, canonical links, robots directives, Open Graph tags, X card tags, and hreflang links. It uses display_meta_tags in layouts and set_meta_tags or helper methods in controllers and views, with an optional initializer for truncation and rendering options.

It requires Ruby 3.0 or later and Rails 6.1 or later. It does not generate structured data / JSON-LD, robots.txt, sitemaps, internal links, or page content.

Key features

  • Render page titles and descriptions in Rails layouts and views
  • Set canonical links for pages
  • Set robots directives including noindex and nofollow
  • Render Open Graph and X card tags for sharing previews
  • Render hreflang links
  • Configure truncation and property-attribute rendering via initializer
Best for: Developers maintaining Ruby on Rails 6.1+ applications who need to manage HTML head metadata.
Good for
  • Supports Rails 6.1+ and is tested against major Rails releases
  • Includes defaults for truncation and rendering that can be changed
  • Allows setting tags from layouts, controllers, and views
Watch out for
  • Requires Ruby 3.0+ and Rails 6.1+; older versions are not supported
  • Does not generate structured data, robots.txt, sitemaps, internal links, or page content

meta-tags at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

meta-tags alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in SEO & Web Analytics

Well-known listings from the same topic.

All 211

meta-tags FAQ

How do I install meta-tags?
Add gem "meta-tags" to your Gemfile and run bundle install.
How do I render meta tags in a Rails layout?
Add display_meta_tags to the layout head, such as , and use set_meta_tags in views to set values.
What versions are supported?
Ruby 3.0 and later and Ruby on Rails 6.1 and later; older versions are no longer supported.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing