sgo

sgo

Static dev server for prototyping

Description

You wrote a small page and want to view it in a browser, but opening it via file:// runs into path and origin issues. sgo starts a static server in any folder with one command, renders index.html when present and otherwise lists the directory.

The browser reloads when files change, and non-file requests can fall back to a single page for SPA debugging.

Features



Static serving:Serves scripts, styles and images from a directory.

Directory listing:A clean listing you can browse into.

Live reload:Reloads the browser when project files change.

SPA fallback:Routes requests like / or /admin to one entry file.