# UploadHTML.com & WebHub Ecosystem
> The fastest static HTML hosting, project bundler, and multi-portal digital community on Cloudflare Edge CDN.

## Overview
UploadHTML is a high-performance web platform designed for developers, creators, affiliate marketers, and automated AI agents. It allows publishing single-page HTML applications, portfolios, landing pages, and documentation in under 3 seconds without managing servers.

## Core Portals
- **UploadHTML Studio** (https://uploadhtml.com/): Instant static HTML drag & drop hosting, single-file bundler, password protection, and custom domain mapping.
- **MMO Hub** (https://mmo.uploadhtml.com/ or /mmo): Make Money Online community, affiliate marketing guides, AI traffic strategies, and income leaderboards.
- **Diễn Đàn 24h** (https://diendan.uploadhtml.com/ or /diendan): Technology forum, webmaster discussions, SEO tips, and programming Q&A with Math-Captcha anti-spam.
- **Chợ RaoViet** (https://raoviet.uploadhtml.com/ or /raoviet): Digital classifieds marketplace for digital products, software accounts, and web source codes.
- **WebHub Admin** (https://admin.uploadhtml.com/ or /admin): Master analytics, revenue metrics, and real-time moderation dashboard.
- **All Pages Directory** (https://uploadhtml.com/all-pages): Full ecosystem sitemap, published webpage explorer, and mobile QR code generator.

## Developer & Agent Quickstart (REST API)

### 1. Upload HTML Page
```bash
curl -X POST https://uploadhtml.com/api/upload \
  -H "Content-Type: application/json" \
  -d '{
    "html": "<!DOCTYPE html><html><body><h1>Hello World</h1></body></html>",
    "slug": "my-page",
    "password": "",
    "ttl": 86400
  }'
```
Response:
```json
{
  "success": true,
  "slug": "my-page",
  "url": "https://uploadhtml.com/my-page.html",
  "qr_url": "https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=https%3A%2F%2Fuploadhtml.com%2Fmy-page.html",
  "ttl": 86400
}
```

### 2. Inspect Webpage Status
```bash
curl -X GET https://uploadhtml.com/api/check/my-page
```

### 3. Fetch Public Community Posts (Forum & Classifieds)
```bash
curl -X GET "https://uploadhtml.com/api/forum/posts?category=mmo&limit=10"
```

### 4. Health & System Uptime
```bash
curl -X GET https://uploadhtml.com/api/health
```

## Key Constraints & Policies
- Max anonymous upload size: 1 MiB per page.
- Pro plan size limit: Up to 25 MiB with persistent storage and custom domain mapping.
- Custom Domains: CNAME records pointed to `cname.uploadhtml.com` with automated SSL verification.
- Content Policy: Malicious scripts, phishing, and abusive content are quarantined automatically with strict CSP.

## Machine-Readable Schemas
- OpenAPI 3.0 Specification: https://uploadhtml.com/openapi.json
- XML Sitemap: https://uploadhtml.com/sitemap.xml
- Full LLMs Manual: https://uploadhtml.com/llms-full.txt
