{"id":22582906,"url":"https://github.com/fuseraft/recaptcha_check","last_synced_at":"2025-03-28T16:45:04.621Z","repository":{"id":65965486,"uuid":"603595053","full_name":"fuseraft/recaptcha_check","owner":"fuseraft","description":"A simple interface for verifying Google reCAPTCHA responses.","archived":false,"fork":false,"pushed_at":"2023-03-08T16:46:34.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T02:24:22.451Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fuseraft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-02-19T01:37:00.000Z","updated_at":"2023-02-19T01:46:11.000Z","dependencies_parsed_at":"2023-05-06T10:31:21.022Z","dependency_job_id":null,"html_url":"https://github.com/fuseraft/recaptcha_check","commit_stats":null,"previous_names":["fuseraft/recaptcha_check","scstauf/recaptcha_check"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuseraft%2Frecaptcha_check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuseraft%2Frecaptcha_check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuseraft%2Frecaptcha_check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuseraft%2Frecaptcha_check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fuseraft","download_url":"https://codeload.github.com/fuseraft/recaptcha_check/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246068269,"owners_count":20718501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-12-08T06:12:54.294Z","updated_at":"2025-03-28T16:45:04.581Z","avatar_url":"https://github.com/fuseraft.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# recaptcha_check (reCAPTCHA verification)\nA simple interface for verifying Google reCAPTCHA responses.\n\nYou can find the gem here: [RubyGems.org](https://rubygems.org/gems/recaptcha_check)\n\n# Installation\n```\ngem install recaptcha_check\n```\n\n# Methods\n`RecaptchaCheck#register`: sets the reCAPTCHA private key to be used during verification.\n\n`RecaptchaCheck#verify`: returns `true` if the reCAPTCHA response passes verification.\n\n# Configuration\nYou must call `RecaptchaCheck#register` once early in your application to set the reCAPTCHA private key before using `RecaptchaCheck#verify` in other parts of your application.\n```Ruby\nRecaptchaCheck.register ENV['var_containing_your_reCAPTCHA_PrivateKey']\n```\n\n# Usage in Sinatra app\n```Ruby\npost '/contact' do\n    require 'recaptcha_check'\n\n    if RecaptchaCheck.verify(params)\n        # mailer.send params\n        redirect '/contact/sent'\n    else\n        redirect back\n    end\nend\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuseraft%2Frecaptcha_check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuseraft%2Frecaptcha_check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuseraft%2Frecaptcha_check/lists"}