nats-io/nats-server — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a lightweight but production ready messaging server in Go, basically a simple, secure, very fast broker for apps, services, and devices. I want something people can run locally, in Docker, on a small edge machine, or in the cloud, with a clean command line entry point, config files, and good defaults. It should let clients connect and exchange messages with the simple publish and subscribe style people expect from NATS, and it should feel easy to operate without a lot of setup.

Please make sure there are example configs, useful logs, tests, and clear docs for how to run it in development and as a real service. If the project already has docs or sample config files, use those patterns instead of inventing something different. A simple Docker setup would be great too. If you need details, check the current NATS docs online and align the behavior with the official server as closely as practical.

Want more depth? Deep Reverse