Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available: 6.12.0
metadata
title: Audit_AI
app_file: app_gradio.py
sdk: gradio
sdk_version: 5.47.2
π§ AuditAI β AI Website Auditor
An Agentic AI-powered web application built with Gradio that audits any website and provides SEO, performance, accessibility, and security insights, along with AI-generated fixes and optimized HTML.
π Features
π Website Scanning
- Page load time
- HTTPS detection
- Page size analysis
- Internal vs external links
- Headings structure (H1, H2, H3)
- Images without ALT attributes
- Scripts, paragraphs, and links count
π€ Agentic AI Analysis
- Automatically detects website issues
- Provides actionable AI-powered suggestions
- Generates HTML & SEO fix snippets
- Produces fully optimized HTML
- Extracts top SEO keywords
- Analyzes heading hierarchy
π Interactive Dashboard
- Overall website score
- SEO, Performance, Accessibility & Security scores
- Gauge & radar charts
- Bar charts & pie charts
- Keyword word cloud
- Heading hierarchy treemap
- Page element heatmap
β¬οΈ Download Optimized HTML
- One-click download of AI-improved webpage
π Usage
- Run the app locally using Gradio.
- Enter a valid website URL.
- Click π Start Audit.
- View:
- β οΈ Detected issues
- β AI-generated suggestions
- π Visual audit dashboard
- π€ Agentic AI fixes
- π PDF Reports
- Download the optimized HTML or PDF report if available.
π How It Works
- The app scans the website using BeautifulSoup & Requests.
- Raw metrics are calculated (SEO, performance, accessibility, mobile, security).
- Scan data is sent to Google Gemini for agentic analysis.
- AI returns:
- Issues
- Suggestions
- Fix snippets
- Optimized HTML
- Results are visualized in a rich Gradio dashboard.
βοΈ Tech Stack
- Python 3.9+
- Gradio β Web UI
- Google Gemini API β Agentic AI analysis
- BeautifulSoup β HTML parsing
- Requests β Web scraping
- Plotly & Matplotlib β Interactive charts
- WordCloud β Keyword visualization
- FPDF β PDF report generation
- dotenv β Environment variables
π¨βπ» Author
Sakshi Gupta