Windows / Mac / Linux Static File Server Autostart & System Tray Guide
Want a PC to act as an always-on static asset node for your office or home? Skip opening terminal windows after every reboot — HFS Mini supports native autostart and automatic service restoration across all three platforms.
1. One-Click "Launch at Startup" & "Silent Start"
- Tray Right-Click Toggle: Right-click the tray icon and check "Launch at Startup" to register native OS startup (Windows Registry Run, macOS LaunchAgents, Linux autostart).
- Silent Background Mode: Check "Silent Start (
--silent)" in Server Settings so HFS Mini boots quietly into the system tray without opening a browser window.

Toggle "Launch at Startup" and "Silent Start" directly in Server Settings
2. Automatic Restore of Previous Shares on Reboot
Every shared folder, prefix, shared/dedicated port, and HTTPS setting is persisted to the local JSON config file. Whenever your machine reboots or HFS Mini restarts, all previously active shares resume automatically.
3. Multi-Instance & Graceful CLI Exit
Hover over the tray icon to see each instance's active port. You can also run multiple isolated configs via CLI and stop any instance gracefully with stop:
hfs-mini -s -c D:\hfs\site-a.json -p 8080 D:\site-a
hfs-mini stop -c D:\hfs\site-a.jsonRelated Guides
- How to Share a PC Folder with Colleagues Over LAN
- Faster Alternative to Python http.server (Always-On Tray)
- How to Distribute Large Files & Installers Over LAN
Always-on hosting with ~10 MB RAM
Zero Electron overhead — built to stay quietly in your tray.
Zero Electron overhead — built to stay quietly in your tray.