Inspired by The SecKC MHN Cyber Attack Map, I wanted something similar to run in text mode. Minimum recommended terminal size is 80x24. UI elements will scale nicely to higher terminal sizes and on-the-fly window size changes are handled gracefully above the minimum recommended size.

Terminal-based application displaying a rotating 3D ASCII globe with a live dashboard of incoming connection attempts. Connects to HPFeeds (honeypot data feeds) to show real-time attack data from security honeypots worldwide.
# Clone the repository
git clone https://github.com/n0xa/SecKC-MHN-Globe.git
cd SecKC-MHN-Globe
# Build the application
go build SecKC-MHN-Globe.go
# Run with default settings (mock attack data, no attack coordinates)
./SecKC-MHN-Globe
SecKC-MHN-Globe [OPTIONS]
-h Show help message
-d <filename> Enable debug logging to specified file
-s <seconds> Globe rotation period in seconds (10-300, default: 30)
-r <milliseconds> Globe refresh rate in ms (50-1000, default: 100)
-m Monochrome mode without fancy colors
-a <ratio> Character aspect ratio (height/width, 1.0-4.0, default: 2.0)
-u <url> Base URL for SecKC API (default: https://mhn.h-i-r.net/seckcapi)
-e <count> Maximum events to fetch per API call (1-500, default: 50)
-p <duration> API polling interval (1s-300s, default: 2s)
Press Q, X, Space, Esc or Ctrl+C to exit
# Default 30-second rotation
./SecKC-MHN-Globe
# Slower 60-second rotation
./SecKC-MHN-Globe -s 60
# Fast rotation with debug logging
./SecKC-MHN-Globe -s 10 -d debug.log
Example: This program was made to interface with the Public SecKC MHN Dashboard that I maintain, which this project will try to use by default if no configuration is provided.
require (
github.com/gdamore/tcell/v2 v2.8.1 // Terminal UI
)
This project is licensed under the BSD 2-Clause License - see the LICENSE file for details.
-d optionEnable debug logging:
./SecKC-MHN-Globe -d debug.log
This logs: