Repository navigation
Conversation
Phase 1 pipeline for the psychology-niche Instagram account: - Claude-powered bilingual (AR/EN) content generation with structured outputs - Slide renderer with proper Arabic shaping (Raqm/bidi fallback), bundled Noto Naskh Arabic fonts (OFL) - Optional fal.ai backgrounds and ElevenLabs TTS with local fallbacks - FFmpeg reel assembly, Telegram approval bot (approve/reject/regenerate) - Instagram Graph API publisher (resumable reel upload, carousel support) - Analytics collector and weekly AI learning loop over SQLite - Full dry-run mode tested end-to-end without external APIs Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EwqiCTihB2LV91k7KZ5JoS
|
Mention Blocks like a regular teammate with your question or request: @blocks review this pull request Run |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ما هذا المشروع
عقل (Aql) — نظام يدير حساب تواصل اجتماعي في نيتش "علم النفس وفهم البشر" ذاتياً: يبتكر المحتوى بالعربية والإنجليزية، ينتج السلايدات والفيديوهات، يرسلها للموافقة على تليقرام، ينشرها على إنستقرام، ثم يحلل الأداء ويحسّن استراتيجيته.
تم الاتفاق على المواصفات عبر جلسة نقاش (النيتش، اللغتان، الموافقة السريعة أولاً، إنستقرام أولاً ثم تيك توك).
محتوى المرحلة الأولى (MVP)
brain.py— توليد حزم محتوى ثنائية اللغة عبر Claude API بمخرجات مهيكلة (Pydantic)، مع حلقة تعلم أسبوعية تحلل الإحصائيات وتوجه المحتوى القادمassets.py— رسم سلايدات 9:16 مع معالجة صحيحة للعربية (Raqm أو reshaper/bidi كبديل)، خطوط Noto Naskh Arabic مضمنة (رخصة OFL)، خلفيات fal.ai اختيارية مع بديل محلي متدرجvideo.py— تركيب Reel عبر FFmpeg (سلايدات + تعليق صوتي ElevenLabs)approval.py— بوت تليقرام: معاينة + أزرار موافق/رفض/إعادة توليدpublisher.py— النشر عبر Instagram Graph API الرسمي (رفع Reels بالبروتوكول القابل للاستئناف، ودعم كاروسيل)analytics.py+db.py— سحب المشاهدات/التفاعل وتخزينها في SQLite--dry-runكامل للاختبار دون أي مفاتيح APIsالاختبار
python -m aql generate --dry-run✅ يولّد سلايدات عربية وإنجليزية سليمة (مرفقة عينات في المحادثة)py_compile) ✅المتبقي قبل التشغيل الفعلي
المالك يوفر المفاتيح في
.env(انظر.env.example): Anthropic، ElevenLabs، تليقرام، وInstagram Graph API (حساب Creator/Business).Generated by Claude Code