⚙️ Admin
REAL-TIME LIVE · sub 50ms latency

Capturează tururile Amazon Relay în timp real

Sistem profesional cu extensie Chrome + receiver Python pentru monitorizare, filtrare și book automat pe loadboard-ul Amazon Relay. Profil de detecție identic cu user real.

receiver.py — live monitoring
$ python3 receiver.py [receiver] started on 0.0.0.0:9001 [receiver] grace_period=1.5s · ring=1000 [ws] ext connected · tab 1: relay.amazon.es [capture] 200 OK · 143036B · fetch=87ms [capture] 200 OK · 143036B · fetch=92ms [pool] +3 noi · ~12 schimbate [broadcast]2 dispatcheri [health] fresh · 92 polls/min [capture] 200 OK · 143036B
<50ms
Latency ext→recv
10/sec
Rate validat B_PLUS
10
Safety gates pe book
1000
JSON-uri în RAM (default)

Tot ce ai nevoie pentru capture real-time

De la interceptarea fetch-ului până la dispatch-ul WebSocket — fiecare componentă optimizată pentru zero detecție și latency minim.

🌐

Chrome Extension MV3

Arhitectură strictă PAGE/ISOLATED/SW. Monkey-patch fetch + XHR pentru capture transparent.

  • Multi-host (es/de/it/fr/uk/com)
  • Auto-pagination până la 20 pagini
  • CSRF auto-capture din traffic real
🐍

Python Receiver (FastAPI)

Server WebSocket + HTTP pentru capture, dispatch și storage. SQLite local pentru audit.

  • Pool deduplicated cu TTL grace period
  • Multi-dispatcher broadcast paralel
  • Auto-stop pe fails consecutive
📊

Dashboard Live

6 grafice live + tabs pentru capturi recente și raw JSON-uri din RAM cu download ZIP.

  • Status pie · latency · body size
  • Polls/min sparkline
  • Fetch ms · recv→UI ms
🛡️

10-Gate Safety Chain

Book defense in depth: file gate + popup toggle + DOM verify + URL verify + LEVEL 4 fetch/XHR block.

  • book_unlock.json gate file
  • Lock tour ID + URL match
  • Error code nativ Amazon
🎯

Pull via UI Click

Click pe butonul Refresh nativ. Telemetrie completă, indistinguibil de user real.

  • Selector robust prin SVG path
  • Trusted click events
  • Zero bot signature

Real-time WebSocket

Push instant la dispatcheri (UI, agent, etc). Queue cu reconnect + backoff la pierdere conexiune.

  • 200 mesaje queue în background
  • Concurrent broadcast (asyncio.gather)
  • __server_ts pentru latency tracking
🔍

UI cu filtre avansate

Pagină de tururi cu filtre custom: țară, oraș, distanță, payout, ppd, durată, equipment, ferestre timp, multi-stop.

  • Presets salvabile (vezi FILTER_PRESETS)
  • Filtrare client-side instant
  • Highlight + sound pe match
📦

Raw JSON Export

Ring buffer cu ultimele 1000 JSON-uri raw în RAM. Download ZIP cu _manifest pentru audit/replay/training data.

  • Ring configurabil prin env var
  • Download 50/100/500/1000 ca ZIP
  • Preview JSON formatted în UI
🔔

Alerts & Notifications

Move-to-top automat pe tururi noi, highlight CSS, sunete configurabile (new/price/booked), auto-clear timer.

  • 3 sunete distinct (new/price/booked)
  • Move-to-top vizual + animație
  • Per-panel alert config

Vezi cum arată în acțiune

Dashboard live, UI cu filtre, modal stats, raw JSON viewer — toate într-un design dark consistent.

📊
Dashboard Stats Modal
6 charts live + memory + ring info
Upload din /admin
🎯
UI Loadboard cu Filtre
Filter sidebar + presets + table
Upload din /admin
📦
Raw JSONs Tab
Listă + viewer + download ZIP
Upload din /admin
⚙️
Popup Extensie
Setări poll rate, jitter, filters
Upload din /admin
🛡️
Safety Gates
book_unlock + popup + LEVEL 4
Upload din /admin
🔔
Alerts Highlight
Move-to-top + sound on new tour
Upload din /admin

Imaginile sunt încărcate dinamic. Pentru admin: → deschide /admin

Trei componente, un singur flow

Browser → WebSocket LAN → Receiver Python → Multi-dispatcher broadcast

┌─────────────────────────────────────────────────────────────────┐ │ BROWSER │ │ │ │ Tab Amazon Relay (relay.amazon.com / mock relay-api.myvio.eu) │ │ ┌──────────────────┐ ┌──────────────────┐ ┌──────────────┐ │ │ │ PAGE world │ │ ISOLATED world │ │ SERVICE │ │ │ │ │ │ │ │ WORKER │ │ │ │ injected.js │←→│ content_script │←→│ background │ │ │ │ (fetch override │ │ (bridge IPC) │ │ (WS + poll) │ │ │ └──────────────────┘ └──────────────────┘ └──────┬───────┘ │ └──────────────────────────────────────────────────────┼──────────┘ │ WebSocket ↓ ┌─────────────────────────────────────────────────────────────────┐ │ PYTHON RECEIVER (FastAPI) │ │ ws://192.168.0.31:9001/ws/stream │ │ │ │ Memorie: POOL · LAST_SEEN · POLL_HISTORY │ │ LATENCIES · LATENCIES_OUT · RAW_RING (1000) │ │ Disk: reports_db.sqlite (book history, snapshots, events) │ └──────────────────────┬──────────────────────────────────────────┘ │ WS broadcast ↓ ┌─────────────────────────────────────┐ │ BOOKER-ADMIN UI · AGENTI · CUSTOM │ │ Multi-dispatcher real-time │ └─────────────────────────────────────┘

De la fetch la dispatcher în <50ms

1

Fetch Amazon

Pagina Amazon JS face cererea normal /api/loadboard/search

2

Intercept ext

injected.js monkey-patch prinde response + măsoară fetch_ms

3

Bridge IPC

postMessage → content_script → background SW

4

WS push

background.js trimite payload prin WebSocket la receiver

5

Broadcast

Receiver diff vs POOL → broadcast paralel la dispatcheri

Ce vede Amazon — analiză honestă

Profil de detecție identic cu un user real ce folosește UI-ul Amazon Relay.

⚠️ Ce VEDE Amazon

  • Cererile HTTP normale Logging server-side standard. Inevitabil — userul oricum face cererea via UI.
  • Headers normale (cookie, csrf, UA) Pass-through, neschimbate de extensie.
  • Click events trusted Pendo, csa.ContentInteraction văd click-urile native. Bun pentru noi: arată user real.
  • window.fetch wrapped Teoretic via fetch.toString(). Anti-bot prod nu verifică în practică acest detaliu.

✅ Ce NU VEDE Amazon

  • postMessage interne __relay_capture: true — nu au listener cu filtru.
  • performance.now() local Doar clock CPU, zero rețea.
  • Body-ul captat Rămâne pe device + WebSocket LAN privat.
  • btn.click() vs trusted Native event listeners firează identic. Verificat empiric pe Amazon real production.
  • WebSocket spre receiver LAN privat, neaccesibil din amazon.com origin.

Stack-ul complet

Doar tehnologii mature, fără hype. Zero JS framework în browser pentru capture.

🟦
Chrome MV3
Extension platform
🐍
Python 3.11+
Receiver runtime
FastAPI
HTTP + WebSocket
🗄️
SQLite
Reports & audit
🐘
PHP 8 + MySQL
Admin UI + multi-tenant
📈
Chart.js 4
Live charts dashboard
🎨
Bootstrap 5
UI components
🐳
Docker
Mock + reverse proxy

Gata să pornești?

Tot ce ai nevoie: extensia Chrome, receiver-ul Python, și 5 minute de configurare. Documentația completă te ghidează pas cu pas.