nlnog/irrexplorer — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a small web app called IRR Explorer that helps a network operator quickly inspect IRR and BGP data in near real time. I want to be able to look up prefixes, route and route6 objects, AS sets, related origins, and see RPKI ROAs plus whether a route object is valid or not. It should also pull in current BGP origin data for the DFZ and RIR stats into a local Postgres database on a schedule, so the UI stays useful without hitting every source live.

Please make it a Python backend with a JSON API and a simple React frontend, with the backend also serving the built frontend so it can run as one app. Use an IRRd 4.2 or newer GraphQL endpoint as the IRR source, and support config through environment variables or a local .env file for things like the database URL, IRRd endpoint, port, workers, debug mode, and import sources. Include the database setup, the import command, and a straightforward local run flow. If anything is unclear, look up the current docs online.

Want more depth? Deep Reverse