How fqscfqj/y2a-auto works
Y2A-Auto is a web-managed automation service that moves YouTube videos to AcFun and/or bilibili. A user submits or reviews a task in the web app; the task manager coordinates download, speech recognition, subtitle and metadata processing, moderation, encoding, and upload. YouTube monitoring can add work automatically, while configuration, platform authentication, CookieCloud, and notifications support operation. The graph preserves README-documented capabilities whose implementation was not sampled; links based on those capabilities cite the README, and unsampled internals are not inferred beyond those documented relationships.
Main entry points: task_manager.py Task manager · app.py Web application · video_uploader.py bilibili SDK · youtube_handler.py YouTube download
Components 28
Web and operations
- Web application
app.py - YouTube monitor
modules/youtube_monitor.py
Task workflow
- Task manager
modules/task_manager.py - YouTube download
modules/youtube_handler.py - Speech recognition
modules/speech_recognition.py - Subtitle translation
modules/subtitle_translator.py - Subtitle QC
modules/subtitle_qc.py - Subtitle transform
modules/srt_transform_engine.py - AI metadata
modules/ai_enhancer.py - Content moderation
modules/content_moderator.py - Video encoding
modules/video_encoder_params.py
Platform integrations
- AcFun upload
modules/acfun_uploader.py - bilibili upload
modules/bilibili_uploader.py - bilibili SDK
modules/bili_sdk/video_uploader.py - bilibili networking
modules/bili_sdk/utils/network.py - Platform authentication
modules/bilibili_auth.py - AcFun authentication
modules/acfun_auth.py
Runtime support
- Configuration
modules/config_manager.py - CookieCloud sync
modules/cookiecloud.py - Notifications
modules/notifications/service.py - FFmpeg management
modules/ffmpeg_manager.py
Other components
- Operator
- YouTube
- ASR providers
- AI services
- AcFun
- bilibili
- Notification channels
Connections 35
- Operator → Web application: uses
README.md - Web application → Task manager: manages tasks
app.py - Web application → YouTube monitor: manages monitoring
app.py - Web application → Configuration: configures
app.py - Web application → Platform authentication: handles login
app.py - Web application → AcFun authentication: handles login
app.py - Web application → CookieCloud sync: syncs cookies
app.py - Web application → Notifications: tests notifications
app.py - YouTube monitor → Task manager: queues tasks
README.md - Task manager → YouTube download: downloads video
modules/task_manager.py - YouTube download → YouTube: fetches video
README.md - Task manager → Speech recognition: recognizes speech
modules/task_manager.py - Speech recognition → ASR providers: transcribes audio
README.md - Task manager → Subtitle translation: translates subtitles
modules/task_manager.py - Subtitle translation → AI services: requests translation
README.md - Task manager → Subtitle QC: checks subtitles
modules/task_manager.py - Subtitle QC → AI services: requests review
README.md - Task manager → Subtitle transform: transforms subtitles
modules/task_manager.py - Task manager → AI metadata: generates metadata
modules/task_manager.py - AI metadata → AI services: requests generation
README.md - Task manager → Content moderation: moderates content
modules/task_manager.py - Content moderation → AI services: checks safety
README.md - Task manager → Video encoding: encodes video
README.md - Task manager → AcFun upload: uploads to AcFun
README.md - Task manager → bilibili upload: uploads to bilibili
README.md - bilibili upload → bilibili SDK: uses SDK
- bilibili SDK → bilibili networking: sends requests
modules/bili_sdk/video_uploader.py - AcFun upload → AcFun: publishes video
README.md - bilibili SDK → bilibili: publishes video
README.md - Task manager → Configuration: loads settings
modules/task_manager.py - Task manager → FFmpeg management: resolves FFmpeg
modules/task_manager.py - YouTube download → CookieCloud sync: uses synced cookies
modules/youtube_handler.py - Task manager → Notifications: emits task events
modules/task_manager.py - Notifications → Notification channels: delivers messages
README.md - Platform authentication → bilibili SDK: uses login SDK
modules/bilibili_auth.py