/simple-captcha-js

A lightweight pure javascript simple captcha for guarding your forms.

Primary LanguageTypeScriptMIT LicenseMIT

Simple captcha

Guarding Your Website Forms, One Click at a Time!

Simple captcha is a JavaScript library that provides an easy-to-use CAPTCHA solution for enhancing the security of forms on your website. It offers flexibility and convenience with string-based and calculation-based options.

Features ✨

  • Choice between string-based and calculation-based CAPTCHA
  • Flexible integration with various form elements
  • User-friendly and accessible interface
  • Customization options for CAPTCHA settings
  • Reliable security against spam and malicious attacks

Installation 🚀

  1. Include the simple captcha library in your HTML file:
   <script src="//cdn.jsdelivr.net/npm/simple-capthcha-js@1/dist/core.min.js"> </script>
  1. Initialize SimpleCaptcha on your website forms using JavaScript:
const captcha = new SimpleCaptcha()

captcha.init({
  ribbon: {
      display: false,
  },
  captcha:{
      formId: 'example-id',
      algorightm: 'rondom-string',
      difficulty: 'medium'
  }
 })

Usage 🤖

Once initialized, SimpleCaptcha will automatically add CAPTCHA to your website forms. Users can choose their preferred CAPTCHA type before submitting the form.

Support 🙌

If you encounter any issues or have questions about the plugin, please open an issue on GitHub.

Contributing 🌟

Contributions are welcome! Feel free to fork the repository, make improvements, and submit pull requests.

License 📝

This project is licensed under the MIT License.

Credits 💡

Simple captcha is developed and maintained by Othmane N.


Thank you for using Simple captcha! We hope it helps to improve the security of your WordPress website. If you find it useful, consider starring the repository on GitHub.

© 2024 Otha.studio | Developed with ❤️ and ☕