Chrome extension and local Python service that generates real-time English/Chinese translated captions for YouTube livestreams using Ollama.
fqscfqj/Y2A-Auto
Automated tool that downloads YouTube videos and re-uploads them to AcFun and bilibili, with AI subtitles, translation, moderation and a web dashboard.
- Stars
- 4,657
- Forks
- 787
- Open issues
- 13
- Last commit
- 11 days ago
What is it?
Y2A-Auto automates the full pipeline of moving YouTube videos to Chinese video platforms AcFun and bilibili. It downloads videos and covers with yt-dlp, generates or translates subtitles via speech recognition (Whisper, Voxtral) and OpenAI-compatible models, checks subtitle quality, optionally burns subtitles into the video, and uses AI to draft titles, descriptions and tags before uploading.
A built-in web admin panel lets users review tasks, edit metadata, force uploads, and configure accounts, AI, subtitles, transcoding and security. A YouTube monitor can poll channels or keyword searches on a schedule and queue matching videos automatically. Cookies can be imported by hand or synced from CookieCloud, and notifications go to WeCom, Server酱 or message-pusher.
The project runs in Docker or locally with Python 3.11+ and FFmpeg, and supports CPU and NVIDIA, Intel or AMD hardware encoding. Optional Aliyun Green content moderation and a separate Telegram bot for submitting links are available.
Key features
- 01Downloads YouTube videos and covers with yt-dlp
- 02Generates subtitles with Whisper or Voxtral and translates them
- 03Checks subtitle quality and can burn subtitles into the video
- 04Uses AI to draft titles, descriptions and tags, and recommend partitions
- 05Uploads to AcFun, bilibili, or both, with QR-code login
- 06Monitors YouTube channels and keywords on a schedule
Use cases
- Reposting YouTube content to AcFun or bilibili with translated subtitles
- Running unattended batch uploads from a set of monitored channels
- Reviewing AI-generated metadata before publishing to Chinese platforms
Quick start
- 1
Prepare the required cookie files (YouTube, AcFun, bilibili) in the cookies folder
- 2
Start the service with Docker Compose
docker compose up -d - 3
Open the web dashboard at localhost port 5000
Things to know
- Requires logged-in cookie files for YouTube, AcFun and bilibili before it can work.
- The YouTube monitoring feature needs a YouTube Data API v3 key.
- Licensed under GPL-3.0, a copyleft license that requires derivative works to be open-sourced under the same terms.
- The public Telegram bot instance is not guaranteed to be available, so self-hosting is needed for stable use.
In collections
Topics
FAQ
- What is Y2A-Auto?
- Automated tool that downloads YouTube videos and re-uploads them to AcFun and bilibili, with AI subtitles, translation, moderation and a web dashboard. Y2A-Auto automates the full pipeline of moving YouTube videos to Chinese video platforms AcFun and bilibili. It downloads videos and covers with yt-dlp, generates or translates subtitles via speech recognition (Whisper, Voxtral) and OpenAI-compatible models, checks subtitle quality, optionally burns subtitles into the video, and uses AI to draft titles, descriptions and tags before uploading.
- Is Y2A-Auto free to use? What license does it have?
- Y2A-Auto is open source under the GPL-3.0 license. Check the license terms before using it in commercial products.
- Is Y2A-Auto still maintained?
- Actively maintained. The last commit to Y2A-Auto was on Oct 28, 2026.
- What can I use Y2A-Auto for?
- Reposting YouTube content to AcFun or bilibili with translated subtitles Running unattended batch uploads from a set of monitored channels Reviewing AI-generated metadata before publishing to Chinese platforms
- How do I install Y2A-Auto?
- Prepare the required cookie files (YouTube, AcFun, bilibili) in the cookies folder Start the service with Docker Compose: docker compose up -d Open the web dashboard at localhost port 5000
- Where can I get Y2A-Auto?
- The source code and installation instructions are on GitHub: https://github.com/fqscfqj/Y2A-Auto
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Local Windows/macOS desktop tool for recording screens and editing tutorial or text videos, with editable cursors, captions and TTS voiceover.
A DSH plugin that searches Bilibili daily, reads subtitles to pick worthwhile videos, writes a report, and @-mentions you for the best ones.
A Claude Code skill that edits raw video footage into a final cut from a chat prompt, using audio transcripts instead of frame analysis.
Self-hosted media server for movies, series and anime, an alternative to Jellyfin and Plex that needs little manual setup.
Self-hosted web app that transcribes YouTube videos and local audio/video files with OpenAI Whisper, running on your own machine.