MikeCode743/MySpendlyLogBot — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Telegram bot in Python for tracking personal finances in Spanish. I want to message it naturally, like “gasté 10 en combustible”, “cobré 200 del trabajo”, “presté 15 a Juan”, or “transferí 5 a María”, and have it understand the transaction and save it into a Google Sheet automatically.

It should use Claude Haiku to turn the message into structured data, including date, time, type, amount, currency, description, category, person, confidence, and the original message. Add Telegram commands like start, help, cancel, and show last transaction from the current session. Also add quick reply buttons for expense, income, withdrawal, transfer, summary, and help.

Make it easy to configure with environment variables for the Telegram token, Anthropic API key, Google Sheet name, and Google credentials. It should work locally with a credentials file and also on Railway using the credentials JSON in an env variable. Please include a clear README and example env file.

Want more depth? Deep Reverse