How avfl4028/sparkle_bot works
Project type and purpose
• From the README (“Sparkle Bot”) and file structure, this project is a full-stack automation bot for generating social media videos (YouTube, TikTok) based on “Reddit-style” story content.
• Key purpose: fetch or generate story prompts, synthesize audio narration, download or generate video footage, compose/edit the final video, and upload or prepare it for YouTube/TikTok.
File structure
• Top‐level:
• src/ – main application code
• src/api/ – wrappers for external services (audio, Gemini model, YouTube, TikTok) and prompt/history management
• src/video_edition/ – video generation and editing scripts
• src/media/ – static assets: fonts, intermediate audio files, subtitles
• src/config/ – JSON configuration
• src/keys.py – credential loader
• src/main.py – orchestrator/entry point
• src/tests/ – unit tests for each major module
• Config & build:
• requirements.txt – Python dependencies
• .gitignore, .vscode/ – IDE and ignore settings
README for additional insights
• Features listed in TODO: code documentation, video editing, font customization, translation
• Mentions “keys.json” that will hold API credentials