This is the source code for an incomplete project of mine. It's a Telegram bot that helps you do Getting Things Done. See doc.md for a brief manual.
The bot is writtein in Go. It uses PostgreSQL for storage. You also need a bot token from Telegram. That's about it.
You could host this literally anywhere, including running it from your local machine. Hosting on a world-accessible server with a webhook URL brings better performance, but is not essential.
BOT_TOKEN- token provided by Telegram (how to obtain it).DATABASE_URL- PostgreSQL database URL- set
WEBHOOK_URLto the root URL of your server, if it is publically accessible. - set
DEBUG=trueandBOT_DEBUG=trueto see more logging.
Then run make and that's it - you can now interact with the bot through Telegram.
I've abandoned the project, so the source is up for grabs! In fact I'd love to see it brought to completion. Perhaps the dialog system could be used for something else, like a game?
© 2017-2025 Leonid Shevtsov
