Not open source and unfortunately Mac-only, but I swear by SiteSucker. The static site it generates is usually flawless even though it's a manual process to create one.