Dev.to AI 🤖 Ai 👁 0 📖 3 min read

I built a free technical SEO and AI-crawler checker with Rails 8, SQLite and Playwright

This is my second post here. Over the last few weeks I have been building CrawlWise, a free tool that checks technical SEO, performance, passive security, and whether search engines and AI crawlers can read a site. I st

I built a free technical SEO and AI-crawler checker with Rails 8, SQLite and Playwright

This is my second post here. Over the last few weeks I have been building CrawlWise, a free tool that checks technical SEO, performance, passive security, and whether search engines and AI crawlers can read a site.

I started it because most "AI SEO" tools I tried spit out a made-up visibility score without checking basic things you can verify yourself: whether robots.txt blocks OAI-SearchBot or PerplexityBot, whether the page returns real HTML instead of an empty JS shell, whether JSON-LD parses, or whether canonicals point to a 404. I wanted something that skips the guesswork and shows the raw evidence.

How it works

There are two modes.

The quick page audit takes 1 to 3 URLs with no login. It fetches the raw HTML, renders the page in headless Chromium (desktop and a throttled mobile pass), and runs 58 checks. You get a server-rendered report (plus JSON and Markdown exports) with lab LCP and CLS tied to the element causing them, a diff of text with and without JavaScript, AI crawler access checks, JSON-LD validation, axe accessibility checks, and security headers. Here is a permanent sample report for imagineit.dev.

CrawlWise multi-page audit showing per-page scores, prioritized fixes, and what an agent sees

The whole-site audit (free beta) crawls up to 25 pages live without sign-up, or 100 pages after confirming an email. It runs 18 site-wide checks covering broken links, redirect chains, duplicate titles and H1s, canonical consistency, sitemap alignment, thin or near-duplicate content, heavy images, and passive security, plus Chromium template sampling and a filterable table of crawled pages. Here is a live whole-site preview of crawlwise.dev itself, scoring 94 with two warnings (private reports expire after 30 days).

CrawlWise whole-site audit preview of crawlwise.dev showing score 94 and prioritized warnings

The stack

Everything runs on one EU VPS:

  • Rails 8 + SQLite (primary DB, Solid Queue for jobs, Solid Cache)
  • Litestream replicating SQLite to Cloudflare R2
  • A separate Node + Playwright container for the scanner
  • Kamal 2 for deploys, Cloudflare in front

Rails 8 with SQLite and Solid Queue cut out enough ops work that I spent most of my time on the scanner instead of maintaining Redis or a separate database server.

Things that bit me while building it

SSRF in headless Chromium. Accepting arbitrary URLs and opening them in a browser is an SSRF magnet. Checking the hostname before the request is not enough because of redirects and DNS rebinding. The scanner container now runs behind a validating egress proxy and a firewall that allows only public 80/443 plus the callback to Rails, blocks private ranges and 169.254.169.254, and drops privileges before Chromium starts.

Cloudflare stripping ETag headers. When I scanned crawlwise.dev with my own tool, the caching check kept warning about missing ETag headers on HTML. Cloudflare's "Automatic HTTPS Rewrites" strips ETag from HTML responses even when the page has no http:// links to rewrite. Turning that setting off fixed it.

31% of Googlebot requests going to JS. I built the public pages to work without JavaScript, yet Google Search Console showed almost a third of crawl requests hitting JS files because Hotwire and importmap were loaded globally in the layout. Making JavaScript opt-in (only on the interactive views) brought 62 out of 64 public pages down to zero JS.

Real sites breaking neat rules. Scanning 100 SaaS sites exposed plenty of false positives in my first checkset. My Markdown check flagged almost every site using Cloudflare's Markdown for Agents as incomplete because those files start with YAML front matter instead of an # H1. Fixing cases like that has taken about half the build time.

Feedback welcome

I am still adding checks and fixing false positives every week. If you want to throw your own site, a weird SPA, or an e-commerce store at crawlwise.dev, let me know in the comments if a check gave a false positive, a warning lacked context, or the scanner broke on your domain.

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.