Conversation
Go terminal UI that polls the secrets-snitcher API and displays a live-updating table of secret access events with anomaly detection. Inspired by kostyay/netmon (with permission).
- Add raccoon ASCII art splash screen and goodbye screen with phase system - Add 30s NEW pod detection with podFirstSeen timestamps - Add termbg.go for terminal background color detection/restore via OSC 11 - Add DEVGUIDE.md - architecture walkthrough for C/C++ developers - Add cmd/tui/README.md with usage docs and keyboard shortcuts - Add update_test.go (26 tests) and client_test.go (6 tests) - 75% coverage - Add view_test.go for rendering correctness (height, width, no OSC leaks) - Clean up mock-api.py signal handling for graceful Ctrl+C - Update main README.md with TUI section and Makefile targets - Credit Kostya/netmon as inspiration in acknowledgments
- Add GitHub Actions CI: lint (golangci-lint), test (race + coverage), build - Remove changelog section (using GitHub releases instead) - Remove em dashes from README
- Split TIOCGETA/TIOCSETA (macOS) vs TCGETS/TCSETS (Linux) into build-tagged files - Bump golangci-lint from v2.0.2 to v2.1.0 (minimum supported)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Live terminal dashboard for monitoring Kubernetes secret access detected by the eBPF probe. Built with Go + Bubble Tea.
What's included
/search,ssort,</>column resizedemo/mock-api.pyserves realistic cluster data for testing without a live clusterNew files
cmd/tui/*.gocmd/tui/*_test.gocmd/tui/README.mdcmd/tui/DEVGUIDE.mddemo/tui-demo.gifTest plan
go test ./cmd/tui/- 39 tests pass (view, update, client, termbg)make mock-api+curl localhost:9100/toggle+./secrets-snitcher-tuiAcknowledgments
Inspired by kostyay/netmon. No code was taken, but the idea of a live Bubble Tea dashboard for infrastructure monitoring came directly from seeing Kostya's work.