{"id":32216204,"url":"https://github.com/clarson/captcha-nocaptcha","last_synced_at":"2025-10-22T07:56:57.644Z","repository":{"id":25638096,"uuid":"29073466","full_name":"clarson/Captcha-noCAPTCHA","owner":"clarson","description":"Simple Google's noCAPTCHA reCAPTCHA for perl","archived":false,"fork":false,"pushed_at":"2017-07-06T18:37:50.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-22T07:56:36.251Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","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/clarson.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}},"created_at":"2015-01-10T22:32:34.000Z","updated_at":"2016-02-25T19:23:03.000Z","dependencies_parsed_at":"2022-09-01T23:40:59.868Z","dependency_job_id":null,"html_url":"https://github.com/clarson/Captcha-noCAPTCHA","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/clarson/Captcha-noCAPTCHA","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarson%2FCaptcha-noCAPTCHA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarson%2FCaptcha-noCAPTCHA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarson%2FCaptcha-noCAPTCHA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarson%2FCaptcha-noCAPTCHA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clarson","download_url":"https://codeload.github.com/clarson/Captcha-noCAPTCHA/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarson%2FCaptcha-noCAPTCHA/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280402183,"owners_count":26324587,"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","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-10-22T07:56:53.088Z","updated_at":"2025-10-22T07:56:57.636Z","avatar_url":"https://github.com/clarson.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nCaptcha::noCAPTCHA - Simple implementation of Google's noCAPTCHA reCAPTCHA for perl\n\n# SYNOPSIS\n\nThe following is example usage to include captcha in page.\n\n        my $cap = Captcha::noCAPTCHA-\u003enew({site_key =\u003e \"your site key\",secret_key =\u003e \"your secret key\"});\n        my $html = $cap-\u003ehtml;\n\n        # Include $html in your form page.\n\nThe following is example usage to verify captcha response.\n\n        my $cap = Captcha::noCAPTCHA-\u003enew({site_key =\u003e \"your site key\",secret_key =\u003e \"your secret key\"});\n        my $cgi = CGI-\u003enew;\n        my $captcha_response = $cgi-\u003eparam('g-recaptcha-response');\n\n        if ($cap-\u003everify($captcha_response',$cgi-\u003eremote_addr)) {\n                # Process the rest of the form.\n        } else {\n                # Tell user he/she needs to prove his/her humanity.\n        }\n\n# METHODS\n\n## html\n\nAccepts no arguments.  Returns CAPTCHA html to be rendered with form.\n\n## verify($g\\_captcha\\_response,$users\\_ip\\_address?)\n\nRequired $g\\_captcha\\_response. Input parameter from form containing g\\_captcha\\_response\nOptional $users\\_ip\\_address.\n\n## errors()\n\nReturns an array ref of errors if verify call fails. List of possible errors:\n\nmissing-input-secret    The secret parameter is missing.\ninvalid-input-secret\t  The secret parameter is invalid or malformed.\nmissing-input-response\tThe response parameter is missing.\ninvalid-input-response\tThe response parameter is invalid or malformed.\nhttp-tiny-no-response   HTTP::Tiny did not return anything. No further information available.\nstatus-code-DDD         Where DDD is the status code returned from the server.\nno-content-returned     Call was successful, but no content was returned.\n\n## response()\n\nReturns the response hashref for the most recent captcha response.\n\n# FIELD OPTIONS\n\nSupport for the following field options, over what is inherited from\n[HTML::FormHandler::Field](https://metacpan.org/pod/HTML::FormHandler::Field)\n\n## site\\_key\n\nRequired. The site key you get when you create an account on [https://www.google.com/recaptcha/](https://www.google.com/recaptcha/)\n\n## secret\\_key\n\nRequired. The secret key you get when you create an account on [https://www.google.com/recaptcha/](https://www.google.com/recaptcha/)\n\n## theme\n\nOptional. The color theme of the widget. Options are 'light ' or 'dark' (Default: light)\n\n## noscript\n\nOptional. When true, includes the \u003cnoscript\u003e markup in the rendered html. (Default: false)\n\n## api\\_url\n\nOptional. URL to the Google API. Defaults to https://www.google.com/recaptcha/api/siteverify\n\n## api\\_timeout\n\nOptional. Seconds to wait for Google API to respond. Default is 10 seconds.\n\n# SEE ALSO\n\nThe following modules or resources may be of interest.\n\n[HTML::FormHandlerX::Field::noCAPTCHA](https://metacpan.org/pod/HTML::FormHandlerX::Field::noCAPTCHA)\n\n# AUTHOR\n\nChuck Larson `\u003cclarson@cpan.org\u003e`\n\n# CONTRIBUTORS\n\nleejo `\u003cleejo@cpan.org\u003e`\n\n# COPYRIGHT \u0026 LICENSE\n\nCopyright 2017, Chuck Larson `\u003cchuck+github@endcapsoftwware.com\u003e`\n\nThis projects work sponsered by End Cap Software, LLC.\n[http://www.endcapsoftware.com](http://www.endcapsoftware.com)\n\nThis program is free software; you can redistribute it and/or modify\nit under the same terms as Perl itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarson%2Fcaptcha-nocaptcha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclarson%2Fcaptcha-nocaptcha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarson%2Fcaptcha-nocaptcha/lists"}