A simple Elixir library for integrating Google reCAPTCHA v2 into applications.
Recaptcha is an Elixir library that integrates Google's reCAPTCHA v2 service into Elixir applications. It provides functions to render reCAPTCHA widgets and verify user responses, helping developers protect forms from spam and automated abuse. The library supports both checkbox and invisible reCAPTCHA types with configurable options.
Elixir developers building web applications that need to secure forms against spam and bots, particularly those using Phoenix or other web frameworks.
Developers choose Recaptcha for its simplicity, clean Elixir API, and seamless integration with Elixir's ecosystem. It offers configurable testing support and follows Elixir conventions, making it easier to implement reCAPTCHA without dealing with low-level HTTP details.
A simple reCaptcha 2 library for Elixir applications.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides a clean verify/2 function for validating responses with configurable options, making it easy to add CAPTCHA protection without low-level HTTP handling.
Includes Recaptcha.Template.display/1 for rendering both checkbox and invisible widgets with optional callbacks, as shown in the README examples for seamless template integration.
Offers mock HTTP client support for testing without network access, using a predefined secret key to simulate positive or negative results locally.
Supports loading keys from environment variables and configurable JSON libraries like Jason or Poison, aligning with modern Elixir deployment practices.
Does not support reCAPTCHA v3, which offers more advanced bot detection with score-based analysis, limiting its relevance for newer security requirements.
The migration notes from 1.x indicate significant API changes, and future templating might move to a Phoenix-specific package, suggesting instability and potential maintenance headaches.
Tightly coupled with Google's reCAPTCHA service, making it difficult to switch to other CAPTCHA providers without rewriting integration code, as the library lacks abstraction for different services.