A secure file server with a terminal user interface (TUI) that helps users host their files locally with a modern web interface and REST API.
This is the TUI version of CloudHost - featuring a terminal user interface with vim-like navigation for management and a web interface for file browsing with JWT-based authentication.
Download the latest release from GitHub Releases
If Windows Defender shows a virus warning:
- Click "More info"
- Click "Run anyway"
- Or add an exception in Windows Security
This is a false positive. The source code is available for inspection.
git clone https://github.com/StepanZagray/cloudhost-tui.git
cd cloudhost-tui
# Build the TUI application
cargo build --release
./target/release/cloudhost-tuicargo install --git https://github.com/StepanZagray/cloudhost-tui.git --bin cloudhost-tui
cloudhost-tui- Create Cloud Folders: In the Folders tab, create folders that link to your local directories
- Create Cloud: Select the folders you want to include and create a cloud (group of folders that will be served together)
- Set Password: Set a secure password for your cloud
- Start Server: Go to the Clouds tab and start your cloud server
- Access Files: Use the provided URL to access your files via web browser
- Main Dashboard:
http://localhost:PORT/- Lists all cloud folders - File Browser:
http://localhost:PORT/web/{cloud_folder_name}/files- Browse files in a specific cloud folder - Login:
http://localhost:PORT/login- Secure login with your cloud password
- Complete the local setup steps above
- Download
cloudflaredfrom Cloudflare - Set up a Cloudflare tunnel:
- Follow the official documentation
- Or use the generic tunnel domain:
cloudflared tunnel --url http://localhost:PORT
- Access your files via the provided Cloudflare tunnel URL
- passwords with different permissions(download only, all)
- make it possible to share cloudfolders on several devices, and sync files between them