Native MoonBit CLI for Cloudflare Browser Rendering API
Dependencies
moon run ./src --target native -- markdown --url https://example.com
moon run ./src --target native -- json --url https://example.com --prompt "Extract the title"
moon run ./src --target native -- json --url https://example.com --prompt "Extract the title" --format markdown > result.md
moon run ./src --target native -- json --url https://example.com --prompt "Extract the title" --format text > result.txt
moon run ./src --target native -- screenshot --url https://example.com --output page.png
moon run ./src --target native -- markdown --config bw-config.json
moon run ./src --target native -- --config bw-config.json crawl start --format html --format markdown{
"account_id": "your-account-id",
"api_token": "your-api-token",
"url": "https://example.com",
"wait_until": "networkidle",
"output": "page.png",
"full_page": true,
"width": 1280,
"height": 720,
"format": "markdown",
"formats": ["html", "markdown"]
}Native MoonBit CLI for Cloudflare Browser Rendering API
Dependencies