这是indexloc提供的服务,不要输入任何密码
Skip to content

Salt is a modern, lightweight, and high-performance HTTP server built for developers who value speed, security, and simplicity.

Notifications You must be signed in to change notification settings

josuesantos1/salt

Repository files navigation

Salt HTTP Server

Salt is a modern, minimal, and high-performance HTTP server written in Go, designed for serving static sites with simplicity and speed.

Features

  • Minimal configuration
  • Fast and secure by default
  • Serves static files from the public directory
  • Easy to deploy on any Linux server or container

Getting Started

  1. Clone the repository:

    git clone https://github.com/josuesantos1/salt
    cd salt
  2. Build and run:

    go run main.go

    The server will start on port 1112 by default.

  3. Access your site: Place your static files (HTML, CSS, JS, images) in the public folder. Visit http://localhost:1112 in your browser.

Example

$ go run main.go
Salt HTTP server starting on :1112...

About

Salt is a modern, lightweight, and high-performance HTTP server built for developers who value speed, security, and simplicity.

Resources

Stars

Watchers

Forks

Packages

No packages published