2025-03-14 21:59:59 -06:00
|
|
|
# miniserve
|
|
|
|
|
|
|
|
|
|
> Simple HTTP file server.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://github.com/svenstaro/miniserve#usage>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Serve a directory:
|
|
|
|
|
|
|
|
|
|
`miniserve {{path/to/directory}}`
|
|
|
|
|
|
|
|
|
|
- Serve a single file:
|
|
|
|
|
|
|
|
|
|
`miniserve {{path/to/file}}`
|
|
|
|
|
|
|
|
|
|
- Serve a directory using HTTP basic authentication:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`miniserve {{[-a|--auth]}} {{username}}:{{password}} {{path/to/directory}}`
|