npm

open-captcha
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

[!CAUTION] This is a proof of concept and has not been tested against image recognition yet, to keep your system secure use an already prooven secure captcha. However if you have the skills or resources to run image recognition on some samples please see examples/ for some sample outputs.

open-captcha

Open Captcha stands out from other captcha providers in a big way. Forget about connecting to external services or making your users work for free to train AI. Our approach ensures that each challenge is unique and employs the most advanced anti-ai detection methods, all while being completly self-hosted and intergrated into your web-app.

Benchmarking

version os cpu gpu runs avg generation duration
1.1.x Linux Lab 5.15.0-94-generic #104-Ubuntu SMP Tue Jan 9 15:25:40 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz TigerLake-LP GT2 [Iris Xe Graphics] 500 471.93 /ms

To benchmark yourself run the script npm run benchmark

System dependencies

In most cases setting up open-captcha from npm should just work. However, since open-captcha uses image rendering you may run into problems and you might need to adjust your system configuration and make sure all your dependencies are up to date. For general information on building native modules, see the node-gyp documentation.

Ubuntu / Debian

sudo apt-get install -y build-essential libxi-dev libglu1-mesa-dev libglew-dev pkg-config python3 python-is-python3
sudo yum install -y gcc-c++ libXi-devel mesa-libGL-devel glew-devel pkgconfig python3

Windows

Mac OS X

Readme

Keywords

none

Package Sidebar

Install

npm i open-captcha

Weekly Downloads

1

Version

0.1.0

License

AGPL-3.0

Unpacked Size

1.26 MB

Total Files

30

Last publish

Collaborators

  • notreeceharris