Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The undetected self-hosted browser automation platform. Powered by Camoufox (Firefox) for 0% detection rates. Built for speed, privacy, and scalability.

License

NotificationsYou must be signed in to change notification settings

saifyxpro/HeadlessX

HeadlessX Logo

The World's Most Advanced Anti-Detection Scraping Full Stack Web App


VersionReleaseDetectionStatus


Node.jsNext.jsCamoufoxTypeScriptPlaywright


LicensePRs WelcomeMaintenanceMade with Love


🎯0% Detection Rate on all major anti-bot systems

Powered byCamoufox — Firefox with C++ level fingerprint spoofing

📖 Documentation🚀 Quick Start🐛 Report Bug✨ Request Feature


🆕 What's New in V2.0

🦊Camoufox Engine🛡️0% Detection3x Faster
Firefox with binary-level stealth patchesPasses CreepJS, Sannysoft, & all major testsOptimized context pooling

V2.0 Changelog

+ 🦊 NEW: Camoufox browser engine (replaces Chromium + stealth plugins)+ 🛡️ NEW: 0% headless detection rate (was 67%+)+ 🔒 NEW: Built-in WebRTC leak protection+ 🎭 NEW: C++ level Canvas/WebGL/AudioContext fingerprint spoofing+ ⚡ IMPROVED: Faster browser launches with persistent contexts- 🧹 REMOVED: playwright-extra (no longer needed)- 🧹 REMOVED: puppeteer-extra-plugin-stealth (no longer needed)

📊 Detection Benchmark Comparison

ToolHeadless DetectionStealth ScoreEngine
🦊 HeadlessX V2.0 (Camoufox)0%0%Firefox (C++ patched)
HeadlessX V1 (Playwright Extra)❌ 67%⚠️ 50%Chromium (JS patches)
Puppeteer Stealth❌ 33%❌ 80%Chromium (JS patches)
Vanilla Playwright❌ 100%❌ 100%Chromium
Vanilla Selenium❌ 100%❌ 100%Chrome

Lower scores = better (0% = undetectable)


🤖 Scrapers

Google SERP🌐Website Scraping
Extract search results with zero detectionScrape any website with full JS rendering
LiveLive

Coming Soon

AmazonLinkedInTwitterInstagram
Product & ReviewsJob Listings & ProfilesTweets & TrendsPosts & Stories

🖥️ UI Screenshots

Google SERP Scraper

Google SERP UI

Website Scraper

Website Scraper UI


📸 Proof of Undetectability

BrowserScan (100% Passed)

BrowserScan

Pixelscan (Human Detection)Profile Tested with Proxy
PixelscanProxy Test

📋 Table of Contents


⚡ Quick Start

Prerequisites:

  • Node.js 18+ (v22+ recommended)
  • pnpm 9+ (npm install -g pnpm)
  • PostgreSQL Database — either:
    • Supabase (recommended, free tier available)
    • Self-hosted PostgreSQL 14+

1️⃣ Clone & Configure Environment

git clone https://github.com/your-repo/HeadlessX.gitcd HeadlessX# Copy environment templatecp .env.example backend/.env

Editbackend/.env with your database connection:

# REQUIRED: Your PostgreSQL connection stringDATABASE_URL="postgresql://user:password@host:5432/database"# Optional: Server configurationPORT=3001NODE_ENV=development

💡Supabase Users: Find your connection string at:
Dashboard → Settings → Database → Connection String (URI)

2️⃣ Install Dependencies

# Install all packages (workspace: root, backend, frontend)pnpm install

⚠️ If you see a Prisma warning during install, that's normal!
It means you need to configureDATABASE_URL first, then runpnpm db:push.

3️⃣ Install AI Models (CAPTCHA Solving)

WindowsLinux / macOS
install.bat
chmod +x install.sh./install.sh

4️⃣ Setup Database

# Push Prisma schema to your databasepnpm db:push# Or use migrations for productionpnpm db:migrate

5️⃣ Start Development Server

# Start both frontend and backend concurrentlypnpm dev

Or start individually:

WindowsLinux / macOS
scripts\start.bat
./scripts/start.sh

6️⃣ Access the Application

ServiceURLNotes
🖥️Dashboardhttp://localhost:3000Frontend UI
🔗Backend APIhttp://localhost:3001REST API

Custom Ports

You can customize ports via environment variables:

# Backend (from root)cross-env PORT=4001 pnpm dev:backend# Frontend (Linux/macOS)PORT=4000 pnpm --filter headlessx-frontend dev

🔥 Key Features

🦊 Camoufox Stealth Engine (V2.0)

FeatureDescription
🔒Binary-Level PatchesFirefox modified at C++ level
🎭Fingerprint SpoofingCanvas, WebGL, AudioContext
🌐WebRTC ProtectionNo IP leaks in headless mode
🖱️Human BehaviorNatural mouse movements & scrolling
📱Device EmulationRealistic viewport & user agents
🚫Zero DetectionPasses all anti-bot tests

🖥️ Modern Dashboard

FeatureDescription
⚛️Next.js 16React 19 with Turbopack
🎨HeroUIBeautiful dark/light mode UI
⚙️Live ConfigChange settings without restart
📊Request LogsFull history with screenshots
🧪PlaygroundTest scraping in real-time
🔑API KeysSecure key management

🌐 API Endpoints

Website Scraping APIs

EndpointMethodDescription
/api/website/htmlPOSTGet raw HTML (fast)
/api/website/html-jsPOSTGet HTML with JS rendering
/api/website/contentPOSTGet Markdown content
/api/website/screenshotPOSTCapture full-page Screenshot
/api/website/streamPOSTReal-time SSE Stream

Google SERP APIs

EndpointMethodDescription
/api/google-serp/searchPOSTExtract Google search results
/api/google-serp/streamGETReal-time SSE Stream

Example Request

curl -X POST http://localhost:3001/api/website/html \  -H"Content-Type: application/json" \  -H"X-API-Key: your-api-key" \  -d'{"url": "https://example.com", "stealth": true}'

Example Response

{"success":true,"data": {"url":"https://example.com","title":"Example Domain","html":"<!DOCTYPE html>...","statusCode":200  }}

Configuration

Environment Variables

⚠️Note: Most configuration (Browsers, Stealth, Proxy, Timeouts) is managed directly via theDashboard Settings.

Only the following core variables are required in.env:

VariableDefaultDescription
PORT3001Backend API port
DATABASE_URL-PostgreSQL connection (Supabase or self-hosted)
NEXT_PUBLIC_API_URLhttp://localhost:3001Frontend API URL

Dashboard Settings

Configure these live at/settings:

General Configuration

  • Headless Mode: Run browser without UI (faster execution)
  • Browser Timeout: Max execution time per job (default: 60000ms)
  • Max Concurrent Jobs: Concurrent scraping jobs (recommended: 3-8)

Browser Engine (Camoufox)

  • Block WebRTC: Prevent IP leaks via WebRTC
  • Camoufox GeoIP: Spoof location based on IP
  • Enable Cache: Cache resources for speed

Proxies

  • Manage proxy configurations and rotation settings

🛠️ Manual Setup

Backend

cd backend# 1. Configure environmentcp ../.env.example .env# Edit .env with your DATABASE_URL# 2. Install dependenciespnpm install# 3. Download Camoufox browsernpx camoufox-js fetch# 4. Setup databasenpx prisma db push# 5. Start dev serverpnpm dev

Frontend

cd frontendpnpm installpnpm dev

🤝 Contributing

Contributions are welcome! Please read ourContributing Guide for details.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📝 License

This project is licensed under theMIT License - see theLICENSE file for details.


🌟 Star History

If you find HeadlessX useful, please consider giving it a star! ⭐


Built with ❤️ using cutting-edge technologies


Node.jsNext.jsFirefoxPlaywrightTypeScriptReactTailwindCSSPrisma


🦊 HeadlessX V2.0 — Undetectable by Design

© 2026 HeadlessX. All rights reserved.

Sponsor this project

    Packages

    No packages published

    Languages


    [8]ページ先頭

    ©2009-2026 Movatter.jp