Show HN: Serve Static GitHub Pages Locally

Show HN: Serve Static GitHub Pages Locally

This can be useful compared to browsing local HTML files from your browser when you use absolute paths in links, such as , , , etc., which won’t resolve correctly in the context of your filesystem. It is also handy compared to something like which doesn’t support dropping the file extension, e.g. rather than . When requesting any path ( ), will do the following:

Source: github.com