Skip to main content
Glama

ThejaWebClone

Fused website-clone toolkit distilled from the Cursor chat Website cloning skills (Oct 2026).

It combines research findings, installed tools, MCPs used in that session, and the prompts that drove the work into one product:

Mode

Purpose

mirror

Recursive offline archive of public pages (Playwright-capable)

snapshot

AI-friendly page snapshot (assets + optional serve files)

rewrite

Rewrite CDN absolute URLs to local cdn/ paths

serve-proxy

Serve local UI and reverse-proxy unknown routes to the live origin (core features while online)

MCP

Agent tools for all of the above

Honest limit from that chat: a commercial site with live APIs cannot be a perfect standalone 1:1 offline twin. Product pages can be archived; search/compare/dealers need either live proxy or a rebuilt backend. ThejaWebClone makes both paths explicit.

Install

cd C:\Users\ThejanaD\Projects\ThejaWebClone
py -3.11 -m pip install -e ".[render,mcp]"
py -3.11 -m playwright install chromium

Optional (full recursive mirror engine already used in the chat):

py -3.11 -m pip install -e "C:\Users\ThejanaD\tools\website-downloader"

Related MCP server: webserver-mcp

CLI

# Offline archive (wraps website-downloader if installed)
theja-webclone mirror --url https://example.com --out .\out\example --max-pages 200 --render-js

# Headed snapshot for SPA / CloudFront-protected homes
theja-webclone snapshot --url https://example.com --out .\out\snap --headed

# Fix absolute CDN links after a mirror
theja-webclone rewrite --root .\out\example --hosts trstatic.example.com,cdn.example.com

# Serve local UI + proxy APIs to origin
theja-webclone serve --root .\out\snap --port 8770 --origin https://example.com/

Cursor MCP

Add to ~/.cursor/mcp.json:

"ThejaWebClone": {
  "command": "py",
  "args": ["-3.11", "-m", "theja_webclone.mcp_server"],
  "env": {
    "PYTHONIOENCODING": "utf-8",
    "THEJA_WEBCLONE_ROOT": "C:/Users/ThejanaD/Projects/ThejaWebClone"
  }
}

Tools: twc_mirror, twc_snapshot, twc_rewrite, twc_serve_hint, twc_status, twc_chat_lessons, twc_list_connected_mcps, twc_get_connected_mcp, twc_export_connected_mcps.

Connected Cursor MCP inventory (38 servers, secrets redacted) ships in data/connected-mcps.json — see docs/CONNECTED-MCPS.md.

Cursor skill

Copy skills/theja-webclone to ~/.cursor/skills/theja-webclone.

Docs from the source chat

Provenance

Built from chat id 782d09ea-95b5-4772-83f7-702400140b32 (“Website cloning skills”), GitHub user thejanaloit, targeting the TyreDekho learning case https://tyres.cardekho.com/.

License: MIT

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    B
    maintenance
    A fully hosted MCP server that gives AI agents tools to scrape clean markdown from web pages, inspect public GitHub repositories, and retrieve real-time crypto and fiat market data without any local setup.
    5 npm
    -
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables AI agents to fetch web pages, extract clean Markdown, save and search versions offline, crawl sites within bounds, and retrieve stable citations through MCP tools.
    15 npm
    Apache 2.0