Skip to content
/ garcon Public

Garçon is a simple static HTTP server. Useful when doing frontend development.

License

Notifications You must be signed in to change notification settings

alexei/garcon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Garçon

Garçon is a simple static HTTP server. Intended as a way to learn Go, useful when doing frontend development.

Installation

$ go install github.com/alexei/garcon

Usage

$ garcon

Arguments

bind specifies the address to bind to. Defaults to 127.0.0.1:8080:

$ garcon -bind 127.0.0.1:9000

The path argument specifies the root directory (defaults to current directory):

$ garcon -path ~/www/

You can also specify a location prefix using the prefix argument:

$ garcon -prefix /static/

log indicates the location to log to (defaults to stdout):

$ garcon -log /var/log/garcon/access.log

License

Garçon is licensed under the terms of the 3-clause BSD license.

About

Garçon is a simple static HTTP server. Useful when doing frontend development.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages