Skip to content

kisaragi-hiu/fish-serve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

serve

Launch a server in a directory.

Uses Python's http.server module. Main logic is one line:

python -m http.server $port

Install

With fisherman:

fisher kisaragi-hiu/fish-serve

Usage

# start a server on port 8080 from ~/public/
serve ~/public 8080

# start a server from the current directory
serve

# start a server from ~/public using default port (4000)
serve ~/public

Releases

No releases published

Packages

No packages published

Languages