A simple static file server using golang’s built-int
Built so that I could primarily use golang as my toolchain without pulling in other language or OS dependencies.
This package is meant for extremely simple development work and should absolutely not be used for anything production-facing. For the ease of development, this server set’s it’s CORS completely open. This is a huge security vulnerability if used outside of local development, which is why you should not use it for external facing applications/users.
go build -o static-file-server main.go
To see help information: