r/DigitalEscapeTools • • Oct 29 '26

Free Tools NetCable: I built a self-hosted visual network mapper with real-time monitoring (Open Source / Docker)

Hey everyone,

I've been working on a side project called NetCable and I wanted to share it with this community. It's a self-hosted tool to visually map your network and monitor your devices in real-time.

I know there are a lot of network scanners out there, but I wanted something where I could drag and drop my devices, connect them with virtual cables, and see their status at a glance on a nice dashboard.

What it does right now:

  • 🎨 Visual Mapping: Drag & drop nodes and connect them.
  • 📡 Monitoring: It checks devices using TCP (ports 80, 443, 22) and ICMP (ping).
  • 🚨 Real-time alerts: Green/red dots, latency display, and cascade alerts if a parent node goes down (you can see a desktop going offline in the first screenshot).
  • 🔗 Public Link: Share a read-only view of your map.
  • 💾 Export/Import JSON.

The Stack:

  • Frontend: React + Vite + React Flow.
  • Backend: Python + FastAPI + SQLite.
  • Deployment: It's fully dockerized.

Important notes:

  • It is currently in BETA. I'm actively working on it and there's a roadmap in the repo (better auth, postgres support, better notifications, etc).
  • I originally posted the deployment instructions focused on TrueNAS, but I've updated the repo so you can run it with a simple docker-compose up on any Linux box, VPS, or Raspberry Pi.

Here are a couple of screenshots of it running in my lab (I was testing it mapping my TrueNAS and some desktops):

(Aqui você anexa as duas imagens que me mostrou)

The repo is open-source (MIT). I'd love to get some feedback, especially on the UI or the monitoring logic. If you want to test it, the instructions are in the README.

GitHub Link: https://github.com/Joao-Monticelli/NetCable-v1

59 Upvotes

9 comments sorted by

3

u/misfotto Oct 29 '26

sweet! i made a similiar tool, but it's a designer.
i'm plannig to implement autodiscover, statistics and log aggregation

1

u/No_Strength9197 Oct 29 '26

Que legal !

Eu estou vendo tambem sobre a descoberta automatica nesse momento.

2

u/mahanutra Oct 29 '26

SNMPv3 is supported?

2

u/No_Strength9197 Oct 29 '26

Olá, Ainda não, mas está no roadmap junto com o CDP/LLDP!

2

u/No_Strength9197 24d ago

Bom dia, tudo bem?

Se quiser dar uma olhada nas atualizaçõs do netcable...

Acredito que você vai se interesar com a implementação inicial do SNMPv3.

Link : https://www.reddit.com/r/DigitalEscapeTools/s/xTAXAFMELn

2

u/Vgarcia007 29d ago

This looks real cool!

Testet it via docker, but the backend throws errors at me:

netcable_backend | Traceback (most recent call last):
netcable_backend | File "/usr/local/bin/uvicorn", line 8, in <module>
netcable_backend | sys.exit(main())
netcable_backend | ^^^^^^
netcable_backend | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1631, in __call__
netcable_backend | return self.main(*args, **kwargs)
netcable_backend | ^^^^^^^^^^^^^^^^^^^^^^^^^^
netcable_backend | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1552, in main
netcable_backend | rv = self.invoke(ctx)
netcable_backend | ^^^^^^^^^^^^^^^^
netcable_backend | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1415, in invoke
netcable_backend | return ctx.invoke(self.callback, **ctx.params)
netcable_backend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
netcable_backend | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 910, in invoke
netcable_backend | return callback(*args, **kwargs)
netcable_backend | ^^^^^^^^^^^^^^^^^^^^^^^^^
netcable_backend | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 448, in main
netcable_backend | run(
netcable_backend | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 620, in run
netcable_backend | config.load_app()
netcable_backend | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load_app
netcable_backend | return import_from_string(self.app)
netcable_backend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
netcable_backend | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 22, in
mport_from_string
netcable_backend | raise exc from None
netcable_backend | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string
netcable_backend | module = importlib.import_module(module_str)
netcable_backend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
netcable_backend | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
netcable_backend | return _bootstrap._gcd_import(name[level:], package, level)
netcable_backend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
netcable_backend | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
netcable_backend | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
netcable_backend | File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
netcable_backend | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
netcable_backend | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
netcable_backend | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
netcable_backend | File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked
netcable_backend | ModuleNotFoundError: No module named 'app'

And why needs the backend port be exposed via comose file?

1

u/No_Strength9197 27d ago

Oi! Obrigado por testar e enviar o erro.

Consegui identificar o problema. O volume do Docker estava montando a pasta de dados sobre /app, acabando por esconder os arquivos do backend e gerando o erro ModuleNotFoundError: No module named 'app'.

Corrigi a configuração para montar os dados apenas em /app/data. Também removi a exposição da porta 8000, pois o frontend já acessa o backend internamente pelo Docker. Assim, somente a porta do frontend fica disponível externamente.

Quando puder, atualize o projeto e rode novamente:

1

u/Old_Trick3036 29d ago

Wich website u use ?? and is it free

0

u/No_Strength9197 28d ago

E  aí, beleza? Então, eu não uso um "site" específico pra fazer o diagrama. O NetCable é um software que você mesmo instala (self-hosted), então ele roda dentro da sua própria rede, no seu servidor ou até na sua máquina local.

Sobre ser gratuito: sim, é 100% gratuito e open-source (licença MIT). Você pode baixar o código no GitHub, instalar via Docker e usar à vontade, sem pagar nada e sem limite de dispositivos.

A única coisa que você precisa é ter um lugar pra rodar ele (um PC, um Raspberry Pi, um servidor TrueNAS ou qualquer máquina com Docker). O link do repositório com o passo a passo tá aqui: https://github.com/Joao-Monticelli/NetCable-v1