Altair-sh beff40ae8c README.md
2026-11-04 04:40:01 +01:00
2026-10-29 18:43:35 +01:00
2026-11-02 21:47:34 +01:00
2026-11-01 20:43:08 +01:00
2026-10-29 18:04:51 +01:00
2026-10-29 18:04:51 +01:00
2026-10-29 18:43:35 +01:00
2026-11-04 04:40:01 +01:00
2026-11-03 11:51:54 +01:00

serveg

Small HTTP/1.1 file server. Meant to run behind a reverse proxy that handles TLS (see Caddy).

Features:

  • upload and download files
  • per-directory passwords (read more in example config)
  • generates html pages for directories
  • own http implementation, not "net/http"

Dependencies

Build

make build

Run

cp serveg.example.toml serveg.toml # edit shares and passwords
bin/servegp         # reads ./serveg.toml
# or
bin/servegp -config /etc/serveg/serveg.toml

Caddy

files.example.com {
    request_body {
        max_size 4GB
    }
    reverse_proxy 127.0.0.1:8080 {
        transport http {
            versions 1.1
        }
    }
}
S
Description
No description provided
Readme 95 KiB
Languages
Go 91.4%
Go Template 8.4%
Makefile 0.2%