Skip to content

die-Manufaktur/AI-SEO-Copilot-for-Webflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AI SEO Copilot for Webflow

An advanced SEO analysis tool that performs 18 comprehensive checks with AI-powered recommendations for Webflow sites.

Quick Links

Features

  • πŸ” Comprehensive SEO Analysis: 18 different SEO checks covering all critical aspects
  • πŸ€– AI-Powered Recommendations: OpenAI-powered suggestions for improvements
  • πŸ’Ύ Keyword Persistence: Automatically saves keywords per page for seamless workflow
  • πŸ“Š Visual Progress Tracking: Real-time SEO score calculation and progress indicators
  • 🎯 Page-Specific Analysis: Tailored analysis for homepage vs. other pages
  • πŸ–ΌοΈ Image Optimization: Alt text, size, and format recommendations
  • πŸ“± Modern UI: Clean, responsive interface with status indicators
  • ⚑ Fast Performance: Optimized for quick analysis and feedback

SEO Checks Include:

  • Title Tag Optimization
  • Meta Description Analysis
  • Content Structure Verification
  • Keyword Density Analysis
  • Image Alt Text Optimization
  • OpenGraph Tags Validation
  • Schema Markup Validation
  • URL Optimization
  • Content Length Analysis
  • Heading Hierarchy Check
  • Internal & Outbound Link Analysis
  • Next-Gen Image Format Detection
  • Code Minification Check
  • Image File Size Optimization
  • Intelligent Schema Recommendations: AI-powered schema markup generation with dynamic site data population

Local Development Setup

  1. Fork and clone the repository:

    git clone https://github.com/die-Manufaktur/AI-SEO-Copilot-for-Webflow.git
    cd AI-SEO-Copilot-for-Webflow
  2. Install dependencies using pnpm:

    pnpm install
  3. Configure environment: Create a .env file in the root directory with the following variables:

    Required for AI features:

    • OPENAI_API_KEY: Your OpenAI API key for AI recommendations
    • USE_GPT_RECOMMENDATIONS: Set to "true" to enable AI features

    Required for development:

    • VITE_WORKER_URL: Set to "http://localhost:8787" for local development
    • VITE_FORCE_LOCAL_DEV: Set to "true" to ensure local development mode
  4. Start development server:

    pnpm dev

    This starts three services concurrently:

    • Vite dev server on http://localhost:5173 (React client)
    • Webflow extension server on http://localhost:1337 (Extension host)
    • Cloudflare Worker on http://localhost:8787 (API backend)
  5. Access the app:

    • Add http://localhost:1337 in Webflow Designer's Apps panel
    • Launch the extension from Webflow Designer

Architecture

This project uses a modular monorepo architecture with three main components:

Directory Structure

β”œβ”€β”€ client/                 # React frontend application
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/     # React components
β”‚   β”‚   β”œβ”€β”€ pages/         # Page components
β”‚   β”‚   β”œβ”€β”€ hooks/         # Custom React hooks
β”‚   β”‚   β”œβ”€β”€ lib/           # Client utilities
β”‚   β”‚   └── utils/         # Client-specific utilities
β”œβ”€β”€ workers/               # Cloudflare Worker backend
β”‚   β”œβ”€β”€ modules/           # Modular worker components
β”‚   β”‚   β”œβ”€β”€ seoAnalysis.ts    # SEO analysis logic
β”‚   β”‚   β”œβ”€β”€ webScraper.ts     # Web scraping functionality
β”‚   β”‚   β”œβ”€β”€ aiRecommendations.ts # OpenAI integration
β”‚   β”‚   └── validation.ts     # Request validation
β”‚   └── index.ts           # Main worker entry point
β”œβ”€β”€ shared/                # Shared types and utilities
β”‚   β”œβ”€β”€ types/             # TypeScript type definitions
β”‚   └── utils/             # Shared utilities & intelligent schema population
└── public/                # Built extension assets (generated)

Key Components

1. React Client App (client/)

  • Framework: React 19 with TypeScript, Vite build system
  • UI: Tailwind CSS v4 + Radix UI components
  • State Management: React Query for server state
  • Entry Point: client/src/main.tsx

2. Cloudflare Worker API (workers/)

  • Runtime: Cloudflare Workers with Hono framework
  • Architecture: Modular design with focused components
  • Purpose: Web scraping, SEO analysis, OpenAI integration
  • API Endpoints:
    • POST /api/analyze - Main SEO analysis endpoint
    • GET /health - Health check

3. Shared Types & Utils (shared/)

  • Types: Centralized TypeScript interfaces
  • Utils: Shared utilities for string processing, SEO logic, and intelligent schema population

Development Workflow

The modular architecture enables:

  • Independent development of frontend and backend
  • Type safety across all boundaries
  • Easy testing with focused modules
  • Scalable deployment with separate services

Building for Production

⚠️ Important: Only deploy to production when explicitly requested by the project maintainer.

# Build the extension bundle
pnpm build

# Deploy Cloudflare Worker (maintainer only)
pnpm deploy:worker

The build process creates a bundle.zip file ready for Webflow extension submission.

Testing

pnpm test           # Run tests with coverage
pnpm test:watch     # Run tests in watch mode
pnpm test:ui        # Run tests with UI
pnpm check          # TypeScript type checking

Environment Variables

Development (.env)

# AI Features
OPENAI_API_KEY=your_openai_key
USE_GPT_RECOMMENDATIONS=true

# Development Setup
VITE_WORKER_URL=http://localhost:8787
VITE_FORCE_LOCAL_DEV=true

Production (Wrangler Secrets)

npx wrangler secret put OPENAI_API_KEY
npx wrangler secret put USE_GPT_RECOMMENDATIONS

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Support

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

AI SEO Copilot is a Free Webflow SEO app to help you with your SEO. Our ambition is to build the Yoast SEO for Webflow.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

Contributors 7

Languages