Portfolio AI

codeyev content bot

Live Own project

I run Telegram channels and Instagram accounts in Azerbaijani, Russian and Arabic. To keep them active without doing everything by hand, I built a system that prepares posts and images, sends each one to me in Telegram for approval and publishes it on time. Replies to comments are automatic.

codeyev content bot

The challenge

Three languages and two platforms mean about 20 posts a week: writing, making images, posting at the right hour in each time zone and answering comments, including at night. By hand that takes hours every week.

What I did

  • Posts are written as files; a script renders the images, single cards and 7–9 slide carousels, in all three languages, right to left for Arabic.
  • Each post comes to me in a Telegram bot as a preview with Approve / Edit / Cancel buttons. After approval it goes out on time, and a mistaken approval can be undone until then.
  • Publishing to Telegram channels and to Instagram (photos, carousels, Reels) through the official APIs; access tokens are stored encrypted.
  • A comment with the keyword “SAYT” gets a Direct message with a link. Other comments get a short reply written by Claude in the commenter’s language, and leads are sent to me in Telegram.
  • Runs on Cloudflare Workers and D1 every 5 minutes, so it works when my laptop is off.

Results

  • First week: 11 Telegram posts and 9 Instagram carousels in three languages, prepared in one evening and sent for approval.
  • In a live test, a keyword comment got its Direct message and a public reply within 5 minutes, with no manual steps.
  • 70 automated tests cover approval, editing, publishing, retries and comment handling.

Technologies

  • Cloudflare Workers
  • D1
  • Telegram Bot API
  • Instagram Graph API
  • Claude (OpenRouter)
  • Playwright
  • Vitest
Instagram @codeyev

Need something similar?

Get a quote