Spaces:
Sleeping
Sleeping
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Omni-Digital Cloud Engine
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: docker
|
| 7 |
+
pinned: false
|
| 8 |
+
app_port: 7860
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# π Omni-Digital Cloud Engine (Advanced Headless API)
|
| 12 |
+
|
| 13 |
+

|
| 14 |
+

|
| 15 |
+

|
| 16 |
+
|
| 17 |
+
## π Overview
|
| 18 |
+
This repository hosts a highly optimized, stealth-enabled Headless Browser Engine deployed via Docker. It exposes a secure FastAPI gateway designed for advanced AI orchestration, automated OSINT gathering, and dynamic DOM manipulation.
|
| 19 |
+
|
| 20 |
+
## βοΈ Core Architecture
|
| 21 |
+
* **Engine:** Playwright (Chromium) with Stealth injection.
|
| 22 |
+
* **Gateway:** FastAPI with Pydantic payload validation.
|
| 23 |
+
* **Concurrency:** Fully asynchronous execution model capable of handling multiple remote browser instances.
|
| 24 |
+
* **Security:** Header-based master key authentication (`x-api-key`).
|
| 25 |
+
|
| 26 |
+
## π‘ Primary Endpoint
|
| 27 |
+
**`POST /api/v1/execute`**
|
| 28 |
+
|
| 29 |
+
### Payload Structure (JSON)
|
| 30 |
+
```json
|
| 31 |
+
{
|
| 32 |
+
"url": "[https://example.com](https://example.com)",
|
| 33 |
+
"js_code": "document.title",
|
| 34 |
+
"extract_html": false,
|
| 35 |
+
"wait_time_ms": 2000
|
| 36 |
+
}
|