Skip to content

Shresht7/self-serve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

self-serve

A super simple static file server.

📦 Installation

go install github.com/Shresht7/self-serve

📋 Usage

self-serve --port=5327

Serve the current directory on localhost:5327

Note

You can type r and press enter to restart the server.

📕 Reference

--dir

The directory to serve.

  • Default: . (The current directory)

--port

The port to use to serve the files.

  • Default: 5327

--version

Print the version number of the cli application.

  • Default: false

📄 License

This project is licensed under the MIT License