Site2Local
A Python tool that downloads a website and runs it on your own machine — browse it locally, offline, and edit it freely.
Project intro
Site2Local takes a website that already exists and makes it run on localhost or any address you control. It fetches the pages, rewrites the links so the browser keeps using your local copy, and saves everything to disk — so you can keep reading, testing or tinkering with a site even when the internet is gone.
It is a Python reverse proxy with a disk cache behind it: on-demand fetching or a background crawl, per-device cache variants for mobile, tablet and desktop headers, CDN and external-host proxying, WebSocket support, and a traffic inspector with request and response hook editors. Saved files can be edited freely, and the edits only ever affect your own copy.
The project is a work in progress by a single author — version 9.0 is the current line, the repository has 9 stars and 96 commits, and the last push landed on 8 November 2026, minutes before this draft was written. A 63 KB technical document in the repo walks through the whole design, from the HTTP lifecycle to the disk cache.
Be clear-eyed about it: the author warns to expect errors and missing pieces, there is no packaged release yet — you run it from source — and the tool is meant for your own use, not for re-hosting somebody else's site as if it were yours. But if you want to archive a site or poke at it offline, it is ready to clone today.
Actions
Tech stack
Project info
- Project category
- Developer Tools
- Project status
- Online
- Collaboration intent
- None