Download Obsidian Publish site

Is it possible to download an Obsidian Publish site, with working ToC and pop-up page previews, etc? I tried simply saving the “complete” page in Chrome, but the JS features don’t work. The goal is to host the output on my own server, separately, or load it in my browser locally.

Maybe HTTrack would do the trick.

Thanks for the suggestion. I gave it a shot and played with various settings, but the main content area always shows a big 404 - no text at all, unfortunately…

Tried in an iOS app called SiteSucker. Same result as HTtrack.