How noctqira/anemobit works
Anemobit is a native multi-platform SNMP network-traffic monitor. The user enters a device and credentials, scans for interfaces, selects what to watch, then sees live rates, statistics, and charts; platform-specific tray, menu-bar, or floating views keep a selected rate visible. Settings, secure credentials, localization, and appearance are supporting capabilities. The graph combines documented workflow with sampled source relationships; unsampled platform implementations are represented only at paths supported by the tree, and several links are documented rather than verified calls.
Main entry points: TrafficViewModel.swift Apple traffic model · traffic_model.rs Linux traffic model · TrafficViewModel.cs Windows traffic model · SettingsViewModel.swift Settings workflow
Components 28
Platform apps
- Apple app shell
Darwin/App/macOS/AnemobitMacApp.swift - Linux app shell
Linux/src/application.rs - Windows app shell
Windows/src/Anemobit/App.xaml.cs - Apple dashboard
Darwin/App/Shared/Views/DashboardSections.swift - Linux views and tray
Linux/src/tray/status_notifier.rs - Windows views and tray
Windows/src/Anemobit/Views/MainWindow.xaml.cs
Configuration
- Settings UI
Darwin/App/Shared/Views/SettingsView.swift - Settings workflow
Darwin/App/Shared/ViewModels/SettingsViewModel.swift - Secure credentials
Darwin/App/Shared/Settings/KeychainStore.swift - Platform settings
Linux/src/settings.rs - Windows settings
Windows/src/Anemobit/Settings/SettingsStore.cs
Traffic monitoring
- Apple traffic model
Darwin/App/Shared/ViewModels/TrafficViewModel.swift - Linux traffic model
Linux/src/traffic_model.rs - Windows traffic model
Windows/src/Anemobit/ViewModels/TrafficViewModel.cs - Linux SNMP poller
Linux/core/src/traffic/poller.rs - Apple SNMP poller
Darwin/Packages/Core/Sources/Core/Polling/SNMPTrafficPoller.swift - Windows SNMP poller
Windows/src/Anemobit.Core/Traffic/SnmpTrafficPoller.cs - Linux formatting
Linux/core/src/formatting.rs - Apple formatting
Darwin/Packages/Core/Sources/Core/Formatting/RateFormatter.swift - Windows formatting
Windows/src/Anemobit.Core/Formatting/RateFormatter.cs
SNMP protocol
- Linux SNMP client
Linux/core/src/snmp/client.rs - Apple SNMP client
Darwin/Packages/Core/Sources/Core/SNMP/SNMPClient.swift - Windows SNMP client
Windows/src/Anemobit.Core/Snmp/SnmpClient.cs - Linux UDP transport
Linux/core/src/transport/udp.rs - Apple UDP transport
Darwin/Packages/Core/Sources/Core/Transport/UDPTransport.swift - Windows UDP transport
Windows/src/Anemobit.Core/Transport/UdpSocketTransport.cs
Other components
- User
- SNMP device
Connections 37
- User → Settings UI: configures device
- User → Platform settings: configures device
- User → Windows settings: configures device
- Settings UI → Settings workflow: invokes actions
Darwin/App/Shared/Views/SettingsView.swift - Settings workflow → Apple SNMP client: scans and tests
Darwin/App/Shared/ViewModels/SettingsViewModel.swift - Settings workflow → Secure credentials: uses secure storage
- Apple app shell → Settings UI: presents
Darwin/App/macOS/AnemobitMacApp.swift - Linux app shell → Platform settings: opens settings
Linux/src/application.rs - Windows app shell → Windows settings: loads settings
Windows/src/Anemobit/App.xaml.cs - Settings workflow → Apple SNMP poller: restarts polling
Darwin/App/Shared/ViewModels/SettingsViewModel.swift - Linux app shell → Linux traffic model: creates model
Linux/src/application.rs - Windows app shell → Windows traffic model: initializes model
Windows/src/Anemobit/App.xaml.cs - Apple app shell → Apple traffic model: initializes model
Darwin/App/macOS/AnemobitMacApp.swift - Apple traffic model → Apple SNMP poller: polls interfaces
- Linux traffic model → Linux SNMP poller: polls interfaces
- Windows traffic model → Windows SNMP poller: polls interfaces
- Apple SNMP poller → Apple SNMP client: requests counters
- Linux SNMP poller → Linux SNMP client: requests counters
Linux/core/src/traffic/poller.rs - Windows SNMP poller → Windows SNMP client: requests counters
- Apple SNMP client → Apple UDP transport: sends requests
Darwin/Packages/Core/Sources/Core/SNMP/SNMPClient.swift - Linux SNMP client → Linux UDP transport: sends requests
Linux/core/src/snmp/client.rs - Windows SNMP client → Windows UDP transport: sends requests
Windows/src/Anemobit.Core/Snmp/SnmpClient.cs - Apple UDP transport → SNMP device: exchanges SNMP
- Linux UDP transport → SNMP device: exchanges SNMP
- Windows UDP transport → SNMP device: exchanges SNMP
- SNMP device → Apple SNMP client: returns counters
- SNMP device → Linux SNMP client: returns counters
- SNMP device → Windows SNMP client: returns counters
- Apple SNMP poller → Apple traffic model: updates rates
- Linux SNMP poller → Linux traffic model: updates rates
- Windows SNMP poller → Windows traffic model: updates rates
- Apple traffic model → Apple dashboard: drives dashboard
- Linux traffic model → Linux views and tray: drives tray display
- Windows traffic model → Windows views and tray: drives window
- Apple traffic model → Apple formatting: formats rates
- Linux traffic model → Linux formatting: formats rates
- Windows traffic model → Windows formatting: formats rates