How thekiran/nero works
NERO is a cross-platform C terminal shell for command-driven network diagnostics. Its main workflow starts at the executable, enters the interactive terminal, accepts and parses commands, then dispatches diagnostic work and renders results. The repository also contains a Wi-Fi discovery/capture branch and shared platform, hardware, logging, and operation-UI services. The README documents shell capabilities and TCP/SYN diagnostics; sampled source confirms the executable’s terminal/doctor entry points and parts of Wi-Fi capture and scan processing. Some subsystem links remain unverified because their callers were not excerpted.
Main entry points: commands.c Command Dispatch · terminal.c Terminal Session · wifi_session.c Capture Sessions · main.c Program Entry
Components 20
Interactive Shell
- Program Entry
src/main.c - Terminal Session
src/cli/terminal.c - Line Editor
src/cli/input.c - Command History
src/cli/history.c - Command Parser
src/cli/parser/parser.c - Command Dispatch
src/cli/commands.c - Terminal Rendering
src/cli/render.c
Network Diagnostics
- TCP Port Scanner
src/modules/portscanner.c - Scan Sessions
src/modules/scan_session.c - Raw SYN Engine
src/modules/syn_flood_powered.c
Wi-Fi Discovery
- Wi-Fi Commands
src/cli/wifi_command.c - Capture Sessions
src/modules/wifi/wifi_session.c - Frame Tracker
src/modules/wifi/wifi_tracker.c - Capture Backend
src/platform/wifi_capture.c
Core and Platform
- System Doctor
src/core/doctor.c - Hardware Probe
src/core/hardware.c - Platform Adapter
src/core/platform.c - Operation UI
src/cli/operation_ui.c - Runtime Logging
src/core/log.c
Other components
- Terminal User
Connections 22
- Terminal User → Program Entry: starts
README.md - Program Entry → Terminal Session: starts session
src/main.c - Program Entry → System Doctor: runs on request
src/main.c - Terminal User → Terminal Session: enters commands
README.md - Terminal Session → Line Editor: reads input
- Line Editor → Command History: uses history
- Terminal Session → Command Parser: tokenizes input
- Terminal Session → Command Dispatch: dispatches commands
- Command Dispatch → Terminal Rendering: renders output
- Command Dispatch → TCP Port Scanner: runs TCP checks
README.md - Command Dispatch → Raw SYN Engine: offers SYN mode
README.md - Command Dispatch → Wi-Fi Commands: dispatches Wi-Fi
- Wi-Fi Commands → Capture Sessions: starts capture
- Capture Sessions → Capture Backend: runs capture
src/modules/wifi/wifi_session.c - Capture Sessions → Frame Tracker: resets tracker
src/modules/wifi/wifi_session.c - Capture Sessions → Frame Tracker: feeds packets
- TCP Port Scanner → Scan Sessions: uses scan core
- System Doctor → Hardware Probe: checks hardware
- Hardware Probe → Platform Adapter: queries platform
src/core/hardware.c - Command Dispatch → Operation UI: shows progress
- TCP Port Scanner → Runtime Logging: records events
- Raw SYN Engine → Runtime Logging: records events