a friendly local web server
- Go 99.6%
- Procfile 0.4%
| example/_ | 2026年03月15日 | |
| .gitignore | 2026年03月15日 | |
| go.mod | 2026年03月15日 | |
| main.go | 2026年03月15日 | |
| README.txt | 2026年03月15日 | |
mux - a friendly local web server Usage: mux <rootDir> [domain] [port] Examples: mux ~/Web localhost Now visit in your browser: http://blog.localhost - serves files from ~/Web/blog/ http://app.localhost - runs command from ~/Web/app/Procfile http://localhost - serves files from ~/Web/_/ What's a Procfile? A file inside a folder with a line like "web: ./server" mux will start that command (with $PORT set to proxied port) and send all traffic to it. No configuration needed, just folders and simple addresses.