How riccardoalv/omini works
Omini is a self-hosted network discovery and mapping product. An operator opens the web UI, configures integrations, and receives a continuously refreshed map with device details, traffic, alerts, and network-management tools. The server runs collection rounds, combines scan and integration evidence into topology, persists state, and exposes it through the API. The README documents broader capabilities—including VLAN changes, backups, DNS/DHCP checks, notifications, and plugins—that are represented here; some internal links are omitted where the excerpts do not establish their runtime wiring.
Main entry points: handlers.go HTTP API · collector.go Collection rounds · scan.go Network scanner · App.vue Web application
Components 24
Web experience
- Web application
web/src/App.vue - Network map
web/src/views/MapView.vue - Internet view
web/src/views/InternetView.vue - Alerts view
web/src/views/AlertsView.vue - Integrations view
web/src/views/IntegrationsView.vue - Settings view
web/src/views/SettingsView.vue
Server and API
- HTTP API
internal/api/handlers.go - Authentication
internal/auth/auth.go
Discovery and topology
- Collection rounds
internal/collector/collector.go - Network scanner
internal/netscan/scan.go - Optional nmap scan
internal/nmapscan/nmap.go - Topology builder
internal/topology/topology.go - Device identification
internal/classify/classify.go - Flow ingestion
internal/flows/service.go
Insights and actions
- Health insights
internal/insights/insights.go - VLAN operations
internal/vlans/vlans.go - Alert notifications
internal/notify/messages.go
State and integrations
- Plugin manager
internal/plugins/manager.go - Embedded state store
internal/store/store.go - Flow and usage data
internal/store/flows.go
Other components
- Network operator
- Local network
- Flow exporters
- Notification services
Connections 24
- Network operator → Web application: opens
- Web application → HTTP API: requests
- HTTP API → Authentication: authenticates
internal/api/handlers.go - HTTP API → Embedded state store: reads and writes
internal/api/handlers.go - HTTP API → Collection rounds: reads status
internal/api/handlers.go - HTTP API → Plugin manager: manages plugins
internal/api/handlers.go - Integrations view → HTTP API: configures scans
- Collection rounds → Network scanner: runs discovery
- Local network → Network scanner: probe targets
internal/netscan/scan.go - Collection rounds → Topology builder: builds map
internal/topology/topology.go - Topology builder → Device identification: identifies devices
internal/topology/topology.go - Optional nmap scan → Network scanner: extends scanning
internal/nmapscan/nmap.go - Flow exporters → Flow ingestion: sends flow data
- Flow ingestion → Flow and usage data: stores usage
internal/flows/service.go - HTTP API → Flow and usage data: serves traffic data
- HTTP API → Health insights: requests insights
- HTTP API → VLAN operations: applies VLAN changes
- Health insights → Alert notifications: produces alert content
- Alert notifications → Notification services: sends alerts
- HTTP API → Network map: provides map data
- HTTP API → Internet view: provides traffic data
- HTTP API → Alerts view: provides alerts
- HTTP API → Settings view: provides settings
- HTTP API → Integrations view: provides integration data