I Built an AI Post Generator for WhatsApp and Telegram
Description and use
A CLI tool generates Arabic posts for WhatsApp and Telegram, speeding up content creation and ensuring consistent tone.
Problem
Writing posts for WhatsApp and Telegram channels was slow and inconsistent, especially in Arabic.
Outcome
The tool produces consistent, Arabic-language posts quickly, reducing manual effort and maintaining tone.
Workflow
- Pick a topic and template from the command line
- Load the JSON template for the selected post type
- Send the prompt to the OpenAI API (gpt-4.1-mini)
- Receive and save the generated post in the examples/ folder
Evidence
I built a small tool to solve my own problem: AI-Post-Generator.
The flow is deliberately simple: 1. You pick a topic and a template from the command line. 2. The tool loads a JSON template... 3. It sends the prompt to the OpenAI API (using gpt-4.1-mini)... 4. The generated post is saved automatically in an examples/ folder.
The tool generates posts in Modern Standard Arabic with appropriate emojis, because that is the audience I write for.
- Record date: 2026-10-16T17:56:02.551Z