Proof-Of-Work captcha
  • TypeScript 57.1%
  • Svelte 34%
  • SCSS 6.5%
  • CSS 2.2%
  • HTML 0.1%
  • Other 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-14 10:26:34 +03:00
public feat: initial commit for VivaRAT 2026-09-14 10:17:13 +03:00
src feat: initial commit for VivaRAT 2026-09-14 10:17:13 +03:00
.gitignore feat: initial commit for VivaRAT 2026-09-14 10:17:13 +03:00
LLMS.md docs: document remote captcha API endpoints in LLMS.md 2026-09-14 10:26:34 +03:00
package-lock.json feat: initial commit for VivaRAT 2026-09-14 10:17:13 +03:00
package.json feat: initial commit for VivaRAT 2026-09-14 10:17:13 +03:00
README.md fix: format markdown code fences in README.md 2026-09-14 10:18:55 +03:00
svelte.config.js feat: initial commit for VivaRAT 2026-09-14 10:17:13 +03:00
tsconfig.app.json feat: initial commit for VivaRAT 2026-09-14 10:17:13 +03:00
tsconfig.json feat: initial commit for VivaRAT 2026-09-14 10:17:13 +03:00
tsconfig.lib.json feat: initial commit for VivaRAT 2026-09-14 10:17:13 +03:00
tsconfig.node.json feat: initial commit for VivaRAT 2026-09-14 10:17:13 +03:00
vite.config.external.ts feat: initial commit for VivaRAT 2026-09-14 10:17:13 +03:00
vite.config.i18n-bundle.ts feat: initial commit for VivaRAT 2026-09-14 10:17:13 +03:00
vite.config.i18n.ts feat: initial commit for VivaRAT 2026-09-14 10:17:13 +03:00
vite.config.lib.ts feat: initial commit for VivaRAT 2026-09-14 10:17:13 +03:00
vite.config.playground.ts feat: initial commit for VivaRAT 2026-09-14 10:17:13 +03:00
vite.config.plugins.ts feat: initial commit for VivaRAT 2026-09-14 10:17:13 +03:00
vite.config.themes.ts feat: initial commit for VivaRAT 2026-09-14 10:17:13 +03:00
vite.config.ts feat: initial commit for VivaRAT 2026-09-14 10:17:13 +03:00
vite.helpers.ts feat: initial commit for VivaRAT 2026-09-14 10:17:13 +03:00

VivaRAT

VivaRAT is a privacy-first, proof-of-work (PoW) CAPTCHA widget built with Svelte 5 and TypeScript. It offers seamless spam protection without tracking users, serving cookies, or fingerprinting devices.

Features

  • Privacy-First: Fully GDPR, CCPA, and privacy-regulation compliant. No user tracking, profiling, or cookies.
  • Client-Side Proof-of-Work: Supports modern cryptographic algorithms including PBKDF2, Argon2id, Scrypt, and SHA.
  • Pure Dark Theme: Native and persistent dark aesthetic by default.
  • Web Component Ready: Packaged as custom element <vivarat-widget> with easy DOM integration.
  • Accessible & Multilingual: Built-in internationalization (i18n) supporting 40+ languages and full WCAG accessibility.
  • Extensible: Plugin architecture for features like obfuscation and custom verification.

Getting Started

Installation

npm install

Development

To start the interactive playground:

npm run dev

Usage

Insert the custom element into your HTML form:

<form method="POST" action="/submit">
  <!-- VivaRAT Widget -->
  <vivarat-widget challenge="..."></vivarat-widget>
  <button type="submit">Submit</button>
</form>

Architecture & Algorithms

VivaRAT PoW v2 is asymmetric: computationally demanding for the client to compute via Web Workers, while lightweight and fast for server-side verification using HMAC keys and single-iteration validation.