dpsyfk/lens ? reverse-engineered prompt
Reverse engineered prompt
Build me a Rust tool called TraceFlow that helps me see what my local app is talking to in real time, like a live traffic map for processes and containers.
I want it to run locally on Linux, load eBPF probes safely, watch network activity between programs, and show flows between things like my app, Postgres, and Redis. It should decode the common traffic it can understand, especially HTTP and PostgreSQL, and show useful details like request names, response timing, and time to first byte. If it can’t decode something, it should still show the connection and basic metadata clearly.
Make it feel like a developer debugging tool, so an interactive terminal view is the main thing for now, with a clean layout and easy way to follow a connection from start to finish. Keep it read only and local only, and make root or elevated permissions part of the setup if needed. Look up current Rust and eBPF docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit