Skip to content

peteretelej/dserve

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

dserve - Directory Serve

Build Status GitHub release Go Report Card license FOSSA Status

dserve serve a directory over HTTP

dserve Installation

Option 1 (Fast & Easy)

Download Windows, Linux or Mac 32bit or 64bit executable application from the releases:

Option 2

Install via go get. (Requires Golang)

go get github.com/peteretelej/dserve

Usage

Enter the directory you'd like to serve and run

dserve

That's it. This launches a webserver on port 9011 serving the directory. Visit http://localhost:9011 to access the site.

Speficy a directory in another location

dserve -dir /var/www/html

Serve on a different port

dserve -port 8080

Enable HTTP basic authentication

dserve -basicauth user1:pass123

Restrict server to localhost

dserve -local

You can chain the arguments

dserve -dir ~/mysite -port 80 -basicauth user:pass12345

License

FOSSA Status

About

dserve - Directory Serve: Serve a static directory via HTTP / static website (with basic-auth authentication support)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages