Skip to content

About

Make your art toxic to AI scrapers. A privacy-first, zero-upload tool that protects your images locally using invisible cryptographic perturbations.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

AI Destroyer

Shield your art from AI scrapers. 100% local, no upload, no tracking.

client-side license PRs

AI Destroyer is a local-first art protection tool for artists. It runs entirely in your browser — no uploads, no tracking, no accounts. It strips metadata and applies perceptually masked perturbations that target AI feature extraction while remaining invisible to the human eye.


Features

  • 100% local processing — your images never leave your device
  • Zero data collection — no cookies, no analytics, no telemetry
  • No account required — just open and use
  • Multilingual — English, Portuguese (PT-BR) and Spanish (ES)
  • Dark / Light theme with system preference detection
  • 4 protection profiles — Soft, Medium, Strong, Maximum
  • 5 protection layers:
    • Chromatic noise with perceptual variance masking
    • Low-bit scrambling with 5-level granular dithering
    • Frequency reinforcement (anti-reading patterns)
    • Invisible watermark (multi-channel LSB steganography)
    • Anti-upscale patterns (degrades super-resolution)
  • Perceptual variance masking — flat areas receive negligible perturbation; textured areas receive full protection
  • Blue-channel prioritization — exploits human vision's lower sensitivity to blue for maximum undetectability
  • Live comparison — drag slider to see human view vs AI reading
  • Heuristic metrics — fidelity (PSNR), delta, perturbation score
  • Multiple export formats — PNG, JPEG, WebP with quality control
  • Deterministic seeds — same image + same seed = same protection

Engine Architecture

The protection engine (src/protection.js) applies adversarial perturbations using:

Technique What it does
Local Variance Mask Builds a 3×3 variance map per pixel — smooth gradients (skin, sky) get minimal noise, textured areas get full perturbation
Structured High-Pass Per-channel high-frequency noise with unique seeds (R/G/B) — attacks CNN feature extraction
Anti-Correlation Disrupts RGB channel relationships that neural networks rely on for training signal
Spectral Shielding Mid-band frequency patterns desynchronize convolutional layer activations
Adaptive Amplitude Profiles scaled from 3 (soft) to 10 (ultra) — 3–5× lower than traditional approaches

The key insight: variability over magnitude. Rather than brute-force noise, the engine concentrates perturbation exactly where neural networks extract features, leaving human-perceptible regions virtually untouched.

Honest Limitations

This tool raises technical friction, but it is not an absolute guarantee against every current or future AI without model-specific adversarial validation. The practical goal is to preserve human readability while significantly increasing the cost of automated reuse.

Run Locally

npm install
npm test     # run unit tests (9 tests)
npm run dev  # start dev server

Then open: http://127.0.0.1:4173

Demo mode: http://127.0.0.1:4173/?demo=1

Build for Production

npm run build    # outputs to dist/
npm run preview  # preview production build

The production build is ~67KB gzipped (total). No backend, no API keys, no server-side processing.

Deploy

This is a static site. Deploy the dist/ folder to any static hosting:

  • Cloudflare Pages (recommended) — unlimited bandwidth, global CDN, custom headers
  • Vercel, Netlify, GitHub Pages, or any static file server

Security headers (_headers) are included for Cloudflare Pages deployment.

Project Structure

src/
├── components/       # React UI components
│   ├── Header.jsx
│   ├── UploadZone.jsx
│   ├── ImageComparator.jsx
│   ├── ControlPanel.jsx
│   ├── MetricsBar.jsx
│   ├── DonateSection.jsx
│   ├── Footer.jsx
│   └── FeatureBand.jsx
├── hooks/            # React hooks
│   ├── useTheme.js
│   ├── useLocale.js
│   └── useProtection.js
├── i18n.js           # Translations (EN, PT-BR, ES)
├── utils.js          # Utility functions
├── protection.js     # Image protection engine
├── protection.worker.js  # Web Worker for off-thread processing
├── main.jsx          # App root
└── styles.css        # Design system

Privacy

  • No images are uploaded or transmitted
  • No data is collected, stored, or shared
  • No cookies are used (only localStorage for theme preference)
  • No third-party scripts or analytics
  • Content Security Policy headers block all external connections

Support

If AI Destroyer helps protect your art, consider supporting its development:

Support on Ko-fi

License

All rights reserved.

About

Make your art toxic to AI scrapers. A privacy-first, zero-upload tool that protects your images locally using invisible cryptographic perturbations.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages