[go: up one dir, main page]

Introduction

These workers are public, keyless, and CORS-enabled for browser use.

Base URLs

# URL Metadata API
https://url-metadata-api.brogee9o9.workers.dev/api/metadata?url={your-url}

# OG Image Generator  
https://og-image-generator.brogee9o9.workers.dev/api/og?title={your-title}

# URL Shortener
https://urlshortener.brogee9o9.workers.dev/api/shorten

# WebDigest AI (POST JSON)
https://webdigest.brogee9o9.workers.dev

# Redirect tracer (POST JSON or GET ?url=)
https://redirect-chain.brogee9o9.workers.dev

Examples

// Shorten a URL
fetch('https://urlshortener.brogee9o9.workers.dev/api/shorten', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({ url: 'https://github.com' })
}).then(r => r.json()).then(console.log);

// Extract URL metadata
fetch('https://url-metadata-api.brogee9o9.workers.dev/api/metadata?url=https://github.com')
  .then(r => r.json()).then(console.log);

// Generate OG image (returns SVG)
// Just use as an image src:
<img src="https://og-image-generator.brogee9o9.workers.dev/api/og?title=Hello" />

// Summarize a public article (HTML → Workers AI)
fetch('https://webdigest.brogee9o9.workers.dev', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({ url: 'https://example.com/article' }),
}).then(r => r.json()).then(console.log);