:satellite: Self-hostable offline ZIM search engine and crawler
See the codeOffline 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=3000
Open 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.
http://localhost:3000/archive.htmlhttps://buggedplanet.info/index.php?title=Main_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:
http://localhost:3000/api/search?q=%sAGPL 3.0
7 commits
Go
87.5%
HTML
12.4%
:satellite: Self-hostable offline ZIM search engine and crawler
See the codeOffline 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=3000
Open 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.
http://localhost:3000/archive.htmlhttps://buggedplanet.info/index.php?title=Main_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:
http://localhost:3000/api/search?q=%sAGPL 3.0
7 commits
Go
87.5%
HTML
12.4%