Skip to content
sumit-2007-gitPublic

About

sitlines

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

🔍 SiteLens — Smart URL & Website Analyzer

A modern, backend-driven website audit and technical SEO analysis platform. Enter any public website URL to evaluate real-time SEO metrics, technical health, headings hierarchy, image accessibility, link structures, and security headers with a unified 0–100 Health Score and smart recommendations.

License: MIT Node: >=18 Status: Production Ready Deploy: Render Free


🌟 Key Features

  • Live Real-Time Web Crawling: Fetches public HTML on the backend using Node.js, Axios, and Cheerio without third-party paid APIs.
  • SSRF & Security Validation: Blocks local network probing (127.0.0.1, localhost, private IP subnets 10.x, 192.168.x) to prevent server exploitation.
  • Core SEO Audit: Inspects <title>, <meta name="description">, Canonical URL, Robots meta directives, Language attribute, and Charset.
  • Document Hierarchy: Extracts and maps <h1>, <h2>, <h3> tags, validates single-H1 best practice, and warns on missing or duplicate headings.
  • Images & Accessibility: Audits all <img> tags, computes the percentage of images with alt attributes, and displays a thumbnail inspector.
  • Links Profile: Counts total links, separates internal vs external destinations, and flags empty/unhelpful anchors.
  • Social Media & Open Graph: Audits og:title, og:description, og:image, og:url and Twitter cards with a live Social Sharing Card Preview.
  • Technical Telemetry: Measures exact response latency (ms), uncompressed HTML payload size (KB), HTTPS encryption, and inspects security headers (Strict-Transport-Security, X-Frame-Options, X-Content-Type-Options, Content-Security-Policy).
  • Weighted Health Scoring (0–100): Custom scoring algorithm matching PDF Page 8 specifications (SEO 30%, Technical 25%, Content 15%, Links 10%, Images 10%, Social 10%).
  • Smart Recommendation Engine: Actionable fixes categorized into 🔴 Critical Issues, 🟡 Warnings, and 🟢 Passed Checks.
  • Side-by-Side Website Comparison: Benchmark two URLs simultaneously to compare speed, page weight, SEO rating, and accessibility.
  • Export Options: Download complete structured audit as JSON or generate a print/PDF report.

🛠️ Technology Stack

  • Backend: Node.js, Express.js, Axios, Cheerio, Morgan, CORS, Dotenv
  • Frontend: React 18, Vite, Tailwind CSS, Lucide Icons
  • Deployment: 100% Free on Render (Single unified service serving both API and pre-built frontend)

🚀 Quick Start (Local Run)

1. Install Dependencies

# In project root
npm run install:all

2. Build Frontend

npm run build

3. Start Server

npm start

Open http://localhost:5000 in your browser.

On Windows, you can simply double-click start.bat!


🌐 Free Render Cloud Deployment

Follow our step-by-step guide in RENDER_DEPLOY_GUIDE.md to launch your live URL on Render in under 3 minutes at zero cost.


📜 License

MIT License. Built for university demonstration and real-world web auditing.

About

sitlines

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages