dbaldes/java.de-ircbot — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Java IRC bot like DrMockIt for a Libera IRC channel.

It should sit in the channel, respond when people address it by name using an OpenAI chat model, and remember a short conversation context per channel. It should read its personality prompt from config. When people post links, it should fetch the page title and a useful preview, with a special case for YouTube links.

Add fun and useful chat commands with ! or *, including help, seen, reminders, slogans, quotes, factoids, calculator, weather, crypto, stocks, exchange rates, news summaries, image generation, and simple games like roulette. It should notice facts when someone says something like “X is Y” and repeat known facts when X is mentioned later.

Please make it a Spring Boot Java 21 app that can run locally and in Docker, with PostgreSQL for stored data and config for IRC server, channel, nick, and API keys. Include tests where practical and make the README explain how to configure and run it.

Want more depth? Deep Reverse