Automation case study · Next.js, Appwrite & Groq
One automation for 50+ videos at a time.
An AI-powered publishing system for a client who creates short-form videos in batches. An estimated 50 hours of manual work saved per month.
The problem
Creating the videos wasn’t the problem. Publishing them was. Every video needed a title, description, hashtags, and a scheduled posting time. Because the target audience was in the US, managing different timezones made it more complicated.
Doing this manually for 50+ videos was repetitive and time-consuming, so I built a system to automate the entire publishing workflow.
How it works
5 steps
Bulk upload
Upload 50+ videos at once and choose the publishing platforms.
AI metadata
Whisper transcribes each video, and an LLM writes the title, description and relevant hashtags.
Smart scheduling
Posts are placed around the target audience’s timezone and preferred posting hours.
Daily publishing limits
A per-platform cap controls how many videos go live each day; the rest move to the next day automatically.
Automated publishing
A scheduled job checks for due videos every 5 minutes, publishes them, and cleans up storage once they are live.
The result
An estimated 50 hours of manual work saved per month. Instead of preparing and publishing videos one by one, the client uploads content in batches and lets the system handle the repetitive work. This figure is my estimate of the manual effort replaced, not a measured time study.
The system is live on YouTube and Instagram. TikTok integration is planned next, pending TikTok’s Content Posting API audit approval.
Tech stack
- Next.js — dashboard and API routes for upload, scheduling, account connection and publishing.
- Appwrite — database, file storage and functions.
- Groq — Whisper for transcription and an LLM for titles, descriptions and hashtags.
- YouTube Data API andInstagram Graph API — publishing to each platform.
What this project reinforced
Not every business problem needs a complicated AI agent. Sometimes combining a few APIs, AI services, and a well-designed automation makes a meaningful difference.
Open source
With the client’s permission, the code is public on GitHub under the MIT licence, including setup instructions and the source of the intro video. It is a single-tenant tool; the repository documents the security steps needed before exposing it publicly.
For the build story and design decisions, read How I Automated Short-Form Video Publishing with Whisper, an LLM and Appwrite.
Let’s talk about the next step
Have an idea, a stuck app, or a workflow toimprove?
Tell me what you are building, what is blocking you, and what a successful outcome looks like.