Skip to content

ByeBot-Integrations/Rust-Actix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ByeBot CAPTCHA - Rust Actix-Web Demo

Example Rust application demonstrating ByeBot CAPTCHA integration with Actix-Web.

Quick Start

cargo run

Open http://localhost:4343

Configuration

Edit the constants at the top of src/main.rs:

const BASE_URL: &str = "https://challenge.byebot.de";  // ByeBot CAPTCHA server URL
const API_KEY: &str = "";        // Your API key
const SITEKEY: &str = "";        // Your site key

How It Works

  1. HTML form includes the captcha widget via <div class="captcha-widget" sitekey="...">
  2. Widget script (/ray/widget.js) renders the captcha and adds a hidden byebot-token field on success
  3. Form submits to /submit, server validates token via POST to /validate_token
  4. Server returns success/error result

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages