test repo
Find a file
2021-06-30 13:05:12 +05:30
.github added donation links 2021-06-30 13:05:12 +05:30
examples std::mpsc replaced with oneshot and custom builder for system 2021-06-11 19:28:14 +05:30
src return err when unable to connect to redis 2021-06-13 12:51:22 +05:30
.gitignore renamed data to system, hashcache is not 'static 2021-03-09 15:35:33 +05:30
Cargo.lock add and retrive challenge and resp 2021-06-11 12:08:05 +05:30
Cargo.toml add and retrive challenge and resp 2021-06-11 12:08:05 +05:30
CHANGELOG.md counter is now a wrapper over mcaptcha 2021-06-05 19:55:35 +05:30
code_of_conduct.md added code_of_conduct.md 2021-05-02 18:14:35 +05:30
LICENSE.md licence 2021-03-01 20:34:05 +05:30
README.md update docs link 2021-06-06 14:42:48 +05:30

libmcaptcha

mCaptcha - PoW based DoS protection

Documentation Documentation dependency status AGPL License CI (Linux)
codecov Documentation

mCaptcha uses SHA256 based proof-of-work(PoW) to rate limit users.

If someone wants to hammer your site, they will have to do more work to send requests than your server will have to do to respond to their request.

NOTE: 0.1.x is out, expect breaking changes as ergonomics and performance is improved. Checkout changelog for changes and migration pointers. Breaking changes will be frequent through 0.1.x.

Why use mCaptcha?

  • Free software, privacy focused
  • Seamless UX - No more annoying captchas!
  • IP address independent(sort of) - your users are behind a NAT? We got you covered!
  • Automatic bot throttling
  • Resistant to replay attacks - bye-bye captcha farms!

Demo

Demo servers are available at:

Core functionality is working but it's still very much work-in-progress.

Feel free to provide bogus information while signing up(project under development, database frequently wiped).

Self-hosted:

Please refer to mCaptcha/mCaptcha for instructions.

Documentation

Usage

mCaptcha is made up of three components:

1. Front-end library

We have a WASM library now, Android and iOS libraries soon

2. Back-end library

We have Rust library, other languages will have support soon

3. Rate limiting service

Under development.

A paid, managed service will be made available soon but I(@realaravinth) encourage you guys to self-host. Go decentralisation!

Contributing

yes please!