{"id":17681624,"url":"https://github.com/phawk/social_meta_tags","last_synced_at":"2026-01-29T07:39:25.280Z","repository":{"id":34460308,"uuid":"38396282","full_name":"phawk/social_meta_tags","owner":"phawk","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-20T03:07:50.000Z","size":61,"stargazers_count":0,"open_issues_count":13,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-11T23:48:14.060Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phawk.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-01T21:34:50.000Z","updated_at":"2019-07-30T11:11:48.000Z","dependencies_parsed_at":"2023-02-11T23:30:18.955Z","dependency_job_id":null,"html_url":"https://github.com/phawk/social_meta_tags","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phawk/social_meta_tags","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phawk%2Fsocial_meta_tags","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phawk%2Fsocial_meta_tags/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phawk%2Fsocial_meta_tags/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phawk%2Fsocial_meta_tags/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phawk","download_url":"https://codeload.github.com/phawk/social_meta_tags/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phawk%2Fsocial_meta_tags/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28870638,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T07:35:32.468Z","status":"ssl_error","status_checked_at":"2026-01-29T07:33:31.463Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-24T09:11:43.283Z","updated_at":"2026-01-29T07:39:25.264Z","avatar_url":"https://github.com/phawk.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Social meta tags\n\n[![Build Status](https://travis-ci.org/phawk/social_meta_tags.svg?branch=master)](https://travis-ci.org/phawk/social_meta_tags)\n\nEasily add [Open graph](https://developers.facebook.com/docs/sharing/webmasters#markup) and [Twitter card](https://dev.twitter.com/cards/markup) `\u003cmeta\u003e` tags to your Rails 4 application.\n\n## Installation\n\nAdd the following to your gemfile and bundle install\n\n```rb\ngem 'social_meta_tags'\n```\n\n## Configuration\n\nCreate `config/initializers/social_meta_tags.rb` and setup your site name\n\n```rb\nSocialMetaTags::Options.site_name = \"My Site\"\n```\n\nAdd the `\u003c%= social_meta_tags %\u003e` to your `app/views/layouts/application.html.erb`, something like:\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n\u003chead\u003e\n  \u003ctitle\u003eMy App\u003c/title\u003e\n  \u003c%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' =\u003e true %\u003e\n  \u003c%= javascript_include_tag 'application', 'data-turbolinks-track' =\u003e true %\u003e\n  \u003c%= csrf_meta_tags %\u003e\n  \u003c%= social_meta_tags %\u003e\n\u003c/head\u003e\n...\n```\n\n## Basic Usage\n\nIn your view files you will have access to the **social_meta_info** helper\n\n```html\n\u003c% social_meta_info(\n  title: \"This pages title\",\n  description: \"A description of the page\"\n) %\u003e\n```\n\n\n## Full Usage\n\nIn your view files you will have access to the **social_meta_info** helper\n\n```html\n\u003c% social_meta_info(\n  title: \"This pages title\",\n  description: \"A description of the page\",\n  og: {\n    title: \"This pages title\",\n    description: \"A description of the page\"\n  },\n  twitter: {\n    title: \"This pages title\",\n    description: \"A description of the page\"\n  }\n) %\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphawk%2Fsocial_meta_tags","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphawk%2Fsocial_meta_tags","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphawk%2Fsocial_meta_tags/lists"}