FDeghy/RajaBot ? reverse-engineered prompt

Reverse engineered prompt

Build me a Go app called RajaBot that acts like a chatbot style service with a clear config file, database support, payment handling, and basic Prometheus metrics.

I want it to start from main.go, read settings from a sample config file, connect to storage, expose whatever API is needed for the site side, and include the core bot logic in a clean way. Please keep the code organized so the bot, database, payment, metrics, and site API parts are separated but work together smoothly.

Make it feel like a real usable project, not just a skeleton. Add sensible defaults, helpful error handling, and a few tests for the important flows. If you need current library docs or best practices, look them up online. Also make sure the project runs cleanly from the command line and is easy to configure for someone who just wants to try it locally.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab