HomeLabInfo 是一款现代化的自主托管网络发现和可视化套件,专为家庭实验室爱好者设计。
HomeLabInfo is a self-hosted, cross-platform network scanner and visualization dashboard designed to help you manage and map your homelab infrastructure.
It provides an intuitive interface to seamlessly discover devices on your local network, track their online/offline statuses, and persist a visual map of your network topology. Originally inspired by traditional Windows Forms network scanners, this modernized web-based solution brings homelab management into the browser.
Featured on XDA Developers! Check out their coverage of HomeLabInfo:
Discovering and managing your devices is easier than ever with our interactive topology and container management views.
| Network Topology | Container Management |
|---|---|
As a developer primarily focused on .NET, this project is built from the ground up leveraging the power and cross-platform capabilities of .NET 10. Through containerization using Docker, HomeLabInfo can be easily deployed across various operating systems and architectures without worrying about environment-specific dependencies.
network_mode: host is RequiredIf you've looked at the docker-compose.yml file, you'll notice that the deployment relies on network_mode: host (or network: host depending on the syntax).
This is a critical requirement for the network scanning functionality to operate correctly.
By default, Docker isolates containers inside their own virtual bridge network (e.g., 172.17.0.x). If HomeLabInfo runs on this bridge network, any ARP requests, Ping sweeps, or broadcast packets will be limited to this virtual Docker network, returning no meaningful results about your actual physical (or primary virtual) network.
By setting network_mode: host, the Docker container skips the isolated bridge and directly uses the network interfaces of your host machine. This allows the .NET network scanner to:
Without host networking, the scanner simply won't see your homelab.
HomeLabInfo is designed to be deployed using Docker Compose. Depending on your setup, you can run everything on one machine or distribute agents across multiple servers.
Use this if you want to run the dashboard and a local agent on the same machine.
API_URL: Set this to http://:9622/api.HUB_PUBLIC_KEY: Keep this as CHANGE_ME initially, then update it with the key provided by the dashboard after the first run.docker compose up -dUse this on your main server to manage multiple remote agents.
API_URL variable.docker compose -f docker-compose.hub.yml up -dUse this on any machine or VM you want to monitor.
HUB_PUBLIC_KEY environment variable.docker compose -f docker-compose.agent.yml up -dBy default, the dashboard is open with no login required — existing deployments are unaffected.
To enable password protection, add two environment variables to your compose file:
environment:
- AUTH_ENABLED=true
- JWT_SECRET=change-me-to-a-long-random-secret # keep this private!First-time setup: On the first visit after enabling auth, the dashboard will redirect you to a setup page where you create your username and password. Passwords are hashed with PBKDF2-SHA256 (100,000 iterations) and tokens are signed with HMAC-SHA256 (24-hour expiry).
[!TIP] Generate a strong secret with:
openssl rand -base64 32If
JWT_SECRETis omitted whileAUTH_ENABLED=true, a random secret is generated at startup — tokens will be invalidated on container restart.
Contributions are welcome! As this project is licensed under the GNU GPLv3, any modifications or improvements you contribute must also be released under the same license, ensuring the project remains free and open-source for everyone.
HomeLabInfo is built for the community. If you have suggestions, feature requests, or find a bug, please:
[!CAUTION] HomeLabInfo is designed for use on trusted local networks only.
Because this application requires
network_mode: hostto perform network scanning, it has direct access to the host's networking stack. This significantly reduces the isolation typically provided by Docker.
- Do NOT expose this application directly to the internet.
- If you need remote access, use a secure VPN (like WireGuard or Tailscale) or enable authentication.
- The author provides this software "as is" without any warranties. Users assume all responsibility for any security risks or network issues that may arise from using this tool in their environment.
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for the full text.
暂无开放 Issues,或尚未同步最近议题。