Amanshakya-code/BitsLogicReelAutomation
Media & DesignAutomates YouTube Shorts production: research outliers, write and fact-check scripts, render video, approve via Telegram, publish and review analytics.
What it does
Bitsnlogic Content Agent is a Node.js CLI pipeline for producing and publishing YouTube Shorts with minimal manual work. It runs a chain of 14 agents: research viral outlier Shorts in a niche, extract opening hooks, choose a topic, write a 12–16 line loop script, fact-check claims (with up to two rewrites), pick a visual style, build the video through a companion tech-shorts engine, inspect a contact sheet with a fresh Claude session, generate cover and caption, request approval on Telegram, schedule the upload, draft comment replies, and evaluate performance after three days. Hits at 3x channel normal generate remix hooks; flops at or below 0.5x are saved as lessons for later runs (workflow diagram, pipeline stages).
It is aimed at creators who already have a YouTube channel and are willing to run Claude Code and a separate video engine locally.
Getting started
Prerequisites: Node.js 18 or newer (22 recommended), the Claude Code CLI signed in with your Claude plan, Google Chrome for Playwright MCP browser research, and the companion ../tech-shorts video engine.
git clone https://github.com/Amanshakya-code/BitsLogicReelAutomation.git
cd BitsLogicReelAutomation
npm install
copy .env.example .env
Then fill in credentials in .env. For YouTube, create a Google Cloud project, enable YouTube Data API v3 and YouTube Analytics API, add yourself as an OAuth test user, and run node agent.mjs login (quick start). For Telegram approval, create a bot with @BotFather and run node agent.mjs telegram-id. The API keys and Telegram bot are optional; without Telegram, approvals fall back to files under data/approvals/.
Try a cheap dry run first with node agent.mjs plan (research and style only, no video). Run the full pipeline with node agent.mjs run; it resumes automatically if interrupted. Check configuration and connection state with node agent.mjs status, or open the live node-graph dashboard at http://127.0.0.1:4777 with node agent.mjs dashboard. node agent.mjs schedule registers Windows Task Scheduler jobs for a daily 06:00 run and a 30-minute tick.
Constraints
- YouTube uploads from an unverified Google Cloud project are locked to Private until the YouTube API Audit is passed; until then, switch them manually in YouTube Studio (limitations).
- Only YouTube Shorts is supported. Instagram Reels and TikTok publishing are not implemented.
- Comment replies default to draft-only (
reply.autoPostis false); keyword replies are public comments with your configured guide link, not YouTube DMs. - The pipeline depends on the external
../tech-shortsproject for actual video rendering, and on Claude Code CLI consumption against your Claude plan. - No license is declared, and
.envanddata/should not be committed.
HotRepo's take
The repository appeared on HotRepo's new-project board in the JavaScript list on 2026-12-01, gaining 102 stars and 19 forks in a roughly 18.7-hour window from 2026-11-30 14:42 UTC. That is a single snapshot, so it shows early attention rather than a trend. The concrete draw is the fairly specific 14-stage pipeline with human approval and post-publish analytics, not a generic AI video template. Its practical weak spot is setup: it needs Claude Code, Chrome, OAuth, and a separate video engine before the first episode can render.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.