ZzaiQWQ

ZzaiQWQ / MirrorKit

Public

本工具只是模拟镜像站的本地研究工具

47
17
69% credibility
Found May 25, 2026 at 47 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
JavaScript
AI Summary

MirrorKit is a local website mirroring framework that downloads and caches publicly accessible web content to your computer for offline browsing, research, and testing purposes.

How It Works

1
🔍 Discover MirrorKit

You find a tool that can save any website to your computer so you can browse it offline, like having your own personal copy.

2
⚙️ Set up your project

You install Node.js (a free program that runs the tool) and create a simple folder to hold your mirrored websites.

3
🎯 Choose what to save

You tell MirrorKit which website you want to save by typing a simple command with the website address.

4
📥 Watch it download everything

MirrorKit automatically visits the website, finds all the pictures, videos, styles, and code, and saves them all to your computer one by one.

5
How do you want to browse?
Browse right away

Start exploring immediately while MirrorKit quietly saves new pages as you click through them

📦
Download everything first

Let MirrorKit finish downloading all pages, images, and videos before you start browsing

🎉 Enjoy your offline copy

You now have a complete working copy of the website on your computer that opens in your browser without needing the internet.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 47 to 47 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is MirrorKit?

MirrorKit is a local website mirror framework for JavaScript that downloads and caches a target site's resources to your machine, then serves them through a local proxy server. Think of it as a smart offline mode: when you visit a page, it checks your local cache first, fetches missing resources from the remote site on demand, saves them locally, and rewrites external links to point to your local mirror. The toolkit includes batch downloading for initial crawls, a supplemental media scraper for sites that hide assets in CMS JSON or remote storage buckets, a video reference finder, and a validator that catches HTML error pages mistakenly saved as images or fonts. It runs directly with Node.js 18 or newer with no npm install step required.

Why is it gaining traction?

The project stands out with its safety-first approach to mirroring. It validates binary assets using magic bytes to prevent HTML fallback pages from corrupting your cache, and it carefully rewrites URLs only in HTML and CSS while leaving JavaScript untouched to avoid breaking minified scripts. The bilingual documentation makes it accessible to a wider audience, and the environment variable configuration lets you target different sites without touching any code. For developers tired of fragile scrapers that break on site updates, this local-first architecture provides predictable offline access.

Who should use this?

Frontend developers building browser extensions or offline-first features who need to capture and replay site resources. QA engineers validating how pages render without network dependencies. Researchers archiving dynamic sites that use CDN resources, embedded media, or CMS-backed content that standard crawlers miss. Not recommended for production use or any unauthorized copying of copyrighted material.

Verdict

MirrorKit is a well-thought-out niche tool with excellent documentation for its intended purpose of local research and testing. However, with only 47 stars and a credibility score of roughly 0.7%, it lacks the community track record and maturity of established alternatives. Try it for personal projects and offline testing, but verify it handles your specific target site before depending on it for anything critical.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.