Skip to content

Offline website generator

  • will help you export the entire website to offline form, where it is possible to browse the site through local HTML files (without HTTP server) including all document, images, styles, scripts, fonts, etc.
  • you can limit what assets you want to download and export (see --disable-* directives) .. for some types of websites the best result is with the --disable-javascript option.
  • you can specify by --allowed-domain-for-external-files from which external domains it is possible to **download ** assets (JS, CSS, fonts, images, documents) including * option for all domains.
  • you can specify by --allowed-domain-for-crawling which other domains should be included in the crawling if there are any links pointing to them. You can enable e.g. mysite.* to export all language mutations that have a different TLD or *.mysite.tld to export all subdomains.
  • you can try --disable-styles and --disable-fonts and see how well you handle accessibility and semantics
  • you can use it to export your website to a static form and host it on GitHub Pages, Netlify, Vercel, etc. as a static backup and part of your disaster recovery plan or archival/legal needs
  • works great with older conventional websites but also modern ones, built on frameworks like Next.js, Nuxt.js, SvelteKit, Astro, Gatsby, etc. When a JS framework is detected, the export also performs some framework-specific code modifications for optimal results. For example, most frameworks can’t handle the relative location of a project and linking assets from root /, which doesn’t work with file:// mode.
  • try it for your website, and you will be very pleasantly surprised :-)
  • roadmap: we are also planning to release a version of the export compatible with Nginx that will preserve all original URLs for your website and allow you to host it on your own infrastructure.

Further development ideas