Offline web scraper and self-hosted search engine. Archives websites into ZIM files and provides a local search interface over the archived content.
git clone https://github.com/cookiengineer/zimdex
cd zimdex
CGO_ENABLED=0 go build -o zimdex ../zimdex --folder=./data --port=3000Open http://localhost:3000 in your browser.
The landing page (/index.html) searches across all ZIM files in the data folder. Type a query to see results with snippets and links to the archived content.
- Go to
http://localhost:3000/archive.html - Enter a seed URL (e.g.,
https://buggedplanet.info/index.php?title=Main_Page) - Enable filters as needed (tracking params, MediaWiki cleanup, script removal)
- Check "Ignore invalid SSL certificates" if the site has a broken cert
- Click Start Scraping
- Monitor progress in the live activity feed
- When complete, click Build ZIM
- Search the archived content from the search page
Filters are selectable per-scrape in the archive UI:
| Filter | Effect |
|---|---|
| Tracking params | Strips utm_*, fbclid, gclid, and 40+ other tracking parameters from URLs |
| MediaWiki | Skips Talk/User/Special/Template pages; skips edit/history/delete actions; rewrites ?title=X URLs to clean X.html paths |
| Strip scripts | Removes <script> tags from HTML before archiving |
Click any search result to view the archived page. All links and assets are rewritten to load from the local ZIM file — no internet connection needed.
data/
├── example.com-2026-08-02.zim # Built ZIM archives
├── example.com.json # Download queue (resumable)
└── example.com/ # Download cache
├── index.html
├── logo.png
└── style.css
Add ZIMdex as a custom search engine in Firefox:
- Right-click the address bar → Add "ZIMdex"
- Or Settings → Search → Add search engine:
- URL:
http://localhost:3000/api/search?q=%s
- URL:
AGPL 3.0