Back to feed
Dev.to
Dev.to
6/17/2026
I Built an Open-Source Telegram Bot for the OpenAI Codex Referral Promo

I Built an Open-Source Telegram Bot for the OpenAI Codex Referral Promo

Short summary

OpenAI's one-shot Codex referrals waste unused codes. A developer built @codexHuddbot, a Telegram bot solving this with queue-based one-to-one matching (Python aiohttp + SQLite): users submit links, the bot dequeues and claims them privately. The lightweight architecture is reusable for any time-limited Telegram bot; MIT-licensed, shipping through June 24.

  • Telegram bot solves OpenAI Codex referral waste by matching one-time codes to users via queue
  • Python aiohttp + SQLite backend handles duplicates, tracks consumption, queues matches
  • Reference-quality architecture reusable for any time-limited bot; MIT-licensed

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more