Frontend Integration
<script src="https://neuracaptcha.com/neuracaptcha.min.js"></script>
<div id="captcha-container"></div>
<script>
const captcha = new NeuraCaptcha({
siteKey: 'YOUR_SITE_KEY',
container: '#captcha-container',
theme: 'dark', // or 'light'
callback: function(token) {
// Token received, enable form submission
document.getElementById('submit-btn').disabled = false;
}
});
</script>
Backend Verification
// Verify the token on your server
const verifyResponse = await fetch('https://neuracaptcha.com/api/pow/verify', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
token: captchaToken,
secretKey: 'YOUR_SECRET_KEY'
})
});
const result = await verifyResponse.json();
if (result.valid) {
// Token is valid, continue with form processing
}
About NeuraCaptcha
NeuraCaptcha is a secure, privacy-focused alternative to traditional captchas, using proof-of-work to
verify human presence without invasive tracking.
Key Features:
- Runs entirely in the browser
- No personal data collection
- Adaptive difficulty based on device capability
- Bot detection through behavioral analysis
- GPU-accelerated verification when available
- Simple drop-in implementation
How It Works
NeuraCaptcha uses cryptographic proof-of-work challenges that are trivial for humans (with device
assistance) but resource-intensive for bots at scale. It combines this with behavioral analysis to
assign a trust score to each request.