Skip to content

Cloudflare Worker to analyze SEO of input website using Cloudflare browser rendering and Llama-3.2 hosted on Workers AI

Notifications You must be signed in to change notification settings

elizabethsiegle/seo-analysis-browser-rendering-worker

Repository files navigation

SEO Analysis Worker

A Cloudflare Worker that analyzes websites for SEO best practices using Cloudflare's Browser Rendering API, Cloudflare Workers AI, Hono, and Durable Objects.

Features

  • Analyze SEO of any website
  • Checks for common SEO elements:
    • Title tag optimization
    • Meta description
    • Heading structure
    • Image alt tags
    • Internal/external links
  • Performance metrics analysis
  • AI-powered scoring and improvementrecommendations
  • Mobile-friendly analysis

Prerequisites

  • Node.js installed
  • Cloudflare account
  • Wrangler CLI installed (npm install -g wrangler)

Setup

  1. Clone the repository:
git clone https://github.com/elizabethsiegle/seo-analysis-browser-rendering-worker.git
cd seo-analysis-worker
  1. Install dependencies:
npm install
  1. Configure your Cloudflare credentials:
wrangler login
  1. Update wrangler.toml with your bindings:
[[durable_objects.bindings]]
name = "BROWSERDO"
class_name = "BrowserDo"
[[ai.bindings]]
name = "AI"
  1. Deploy the worker to Cloudflare:
npx wrangler deploy

OR start the development server:

npx wrangler dev --remote

About

Cloudflare Worker to analyze SEO of input website using Cloudflare browser rendering and Llama-3.2 hosted on Workers AI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published