Salt is a modern, minimal, and high-performance HTTP server written in Go, designed for serving static sites with simplicity and speed.
- Minimal configuration
- Fast and secure by default
- Serves static files from the
publicdirectory - Easy to deploy on any Linux server or container
-
Clone the repository:
git clone https://github.com/josuesantos1/salt cd salt -
Build and run:
go run main.go
The server will start on port
1112by default. -
Access your site: Place your static files (HTML, CSS, JS, images) in the
publicfolder. Visithttp://localhost:1112in your browser.
$ go run main.go
Salt HTTP server starting on :1112...