see

GitHub Workflow Status Crates.io LICENSE


An HTTP server for hosting static files

Features

Install

Download the binary from the release page

Or use cargo to install

bash cargo install see

More ways to install click

Usage

Quick start in current directory

bash see start

Use specified port and directory

bash see start -b 0.0.0.0:80 -p /root/www

Config

Complete configuration documentation: click

Use yaml format as a configuration file, You can use see -c config.yml to specify the configuration file location

The default configuration file is in ~/.see/config.yml

A simple example:

```yaml - server: listen: 80 root: /root/www