go-http-file-server
About go-http-file-server
Go HTTP File Server is a command-line utility for sharing files over HTTP. It serves local directories via a web interface with a more user-friendly display than traditional servers like Apache or Nginx.
The tool is designed as a single executable with no external dependencies, making it portable and easy to deploy. It supports both file downloads and uploads when configured, along with features like directory listing, custom themes, and path aliasing.
Key features
- Mobile-friendly directory listing interface
- Single executable with no dependencies
- Directory download as archive file
- File upload capability
- Custom theme support for page rendering
- Path aliasing to mount directories at custom URL locations
- HTTP Basic Authentication support
- HTTPS support with certificate configuration
Download v1.21.5
May 16, 2026WindowsWindows
LinuxLinux
Frequently asked questions
- Is go-http-file-server free?
- Yes. go-http-file-server is free and open-source software, distributed under the MIT license.
- Which platforms does go-http-file-server support?
- go-http-file-server provides downloads for Windows, macOS, Linux.
- What is the latest version of go-http-file-server?
- The latest version is v1.21.5, released on May 16, 2026.
- How do I install Go HTTP File Server?
- Install using Go with 'go install mjpclab.dev/ghfs@latest' for Go 1.18+. Alternatively, build from source with 'go build .'
- What platforms does it support?
- The software runs anywhere Go compiles, as it's a single executable with no dependencies.
- How do I start a basic server?
- Run 'ghfs -l 8080' to serve the current directory on port 8080, or specify a root directory with '-r /path/to/files'
- Is there authentication support?
- Yes, HTTP Basic Auth is supported with configurable usernames and passwords for specific paths.
More Utilities
scrcpy
Genymobile
Scrcpy mirrors and controls Android devices from a computer. It works without root access and supports basic input like keyboard and mouse.
Stirling-PDF
Stirling-Tools
Stirling-PDF is a web-based PDF editor accessible from any device. It offers tools for editing PDF documents directly in the browser without requiring installation.
LocalSend
localsend
LocalSend is a cross-platform file-sharing tool that works offline over a local network. It provides a simple, open-source alternative to proprietary solutions like AirDrop. The tool supports direct device-to-device transfers without requiring internet access.