{"id":24077518,"url":"https://github.com/neirrek/sinatra-opencaptcha","last_synced_at":"2025-10-20T09:32:32.347Z","repository":{"id":2982497,"uuid":"3998399","full_name":"neirrek/sinatra-opencaptcha","owner":"neirrek","description":"A Sinatra extension for OpenCaptcha","archived":false,"fork":false,"pushed_at":"2012-05-15T12:48:39.000Z","size":108,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T21:06:40.420Z","etag":null,"topics":["captcha","ruby","sinatra"],"latest_commit_sha":null,"homepage":"","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/neirrek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-04-11T21:15:33.000Z","updated_at":"2017-11-25T21:49:00.000Z","dependencies_parsed_at":"2022-08-30T23:01:23.175Z","dependency_job_id":null,"html_url":"https://github.com/neirrek/sinatra-opencaptcha","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neirrek%2Fsinatra-opencaptcha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neirrek%2Fsinatra-opencaptcha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neirrek%2Fsinatra-opencaptcha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neirrek%2Fsinatra-opencaptcha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neirrek","download_url":"https://codeload.github.com/neirrek/sinatra-opencaptcha/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240951805,"owners_count":19883803,"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":["captcha","ruby","sinatra"],"created_at":"2025-01-09T20:55:37.405Z","updated_at":"2025-10-20T09:32:27.314Z","avatar_url":"https://github.com/neirrek.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Sinatra-OpenCaptcha\n===================\n\nA **Sinatra** extension to seamlessly integrate **OpenCaptcha** to Sinatra applications.\n\nSee http://www.opencaptcha.com for more information about OpenCaptcha\n\nInstallation\n------------\n\n    gem install sinatra-opencaptcha\n\nUsage example\n-------------\n\n    require 'sinatra'\n    require 'sinatra/opencaptcha'\n\n    get '/' do\n      erb :index\n    end\n\n    post '/' do\n      if open_captcha_valid?\n        \"Welcome, dear #{params[:name]}!\"\n      else\n        \"Go away, bloody spamming machine!\"\n      end\n    end\n\n    __END__\n\n    @@ index\n    \u003chtml\u003e\n      \u003chead\u003e\n        \u003cmeta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"\u003e\n        \u003ctitle\u003eInsert title here\u003c/title\u003e\n      \u003c/head\u003e\n      \u003cbody\u003e\n        \u003cform action=\"/\" method=\"post\"\u003e\n          \u003cp\u003e\u003clabel for=\\\"name\\\"\u003eMy name: \u003c/label\u003e\u003cinput type=\"text\" id=\"name\" name=\"name\"/\u003e\u003c/p\u003e\n          \u003c%= open_captcha :answer_input_label =\u003e 'What do you read?: ', :answer_input_class =\u003e 'text' %\u003e\n          \u003cp\u003e\u003cinput type=\"submit\" value=\"Submit\"/\u003e\u003c/p\u003e\n        \u003c/form\u003e\n      \u003c/body\u003e\n    \u003c/html\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneirrek%2Fsinatra-opencaptcha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneirrek%2Fsinatra-opencaptcha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneirrek%2Fsinatra-opencaptcha/lists"}