Skip to content

v3.2 — YouTube Shorts 봇 + 수동 어시스트 + 보안 개선

Choose a tag to compare

@sinmb79 sinmb79 released this 28 Mar 08:57
· 20 commits to master since this release

v3.2 릴리즈 노트

신규 기능

YouTube Shorts 자동 생산 파이프라인

블로그 글 하나로 YouTube Shorts를 완전 자동으로 제작합니다.

6단계 파이프라인:

  1. Asset Resolution — auto/semi_auto 모드 결정, 캐릭터/배경 선택
  2. Script Extraction — LLM으로 hook/body/closer 스크립트 추출
  3. Visual Sourcing — Pexels/Pixabay 스톡 영상 + 캐릭터 오버레이
  4. TTS Generation — ElevenLabs → Google Cloud → Edge TTS(무료) 순서로 시도
  5. Caption Rendering — ASS 자막 (단어별 노란색 하이라이트)
  6. Video Assembly — FFmpeg 조립 (xfade 트랜지션 + 루프 최적화 + AI 공시 레이블)

두 가지 생산 모드:

  • auto: 완전 자동, 스케줄 기반 무인 실행
  • semi_auto: input/ 폴더에 파일을 드롭하면 해당 에셋 우선 사용

독립 실행형 Writer Bot

python bots/writer_bot.py --topic "AI가 바꾸는 의료"

수동 어시스트 모드

URL 입력 → AI 초안 → Telegram 이미지 프롬프트 → 조립 → 발행

Telegram /shorts 명령

  • /shorts status — 현황 확인
  • /shorts mode auto|semi — 모드 전환
  • /shorts run — 즉시 실행
  • /shorts character bao|zero — 캐릭터 지정

보안 개선

  • .env 파일을 프로젝트 폴더 외부에서 참조하도록 변경 (24개 파일 일괄 적용)
  • .gitignore에 민감 파일, 내부 기획 문서, 런타임 데이터 항목 추가

스케줄 추가

시간 작업
10:35 YouTube Shorts 생산 1차 (신규)
16:00 YouTube Shorts 생산 2차 (신규)

신규 의존성

edge-tts>=6.1.0
# elevenlabs>=1.0.0 (선택)
# openai-whisper (선택)

신규 환경 변수

PEXELS_API_KEY=     스톡 영상 (https://www.pexels.com/api/)
PIXABAY_API_KEY=    스톡 영상 폴백 (https://pixabay.com/api/docs/)

설치

git clone https://github.com/sinmb79/blog-writer.git
cd blog-writer
scripts\setup.bat

자세한 설치/설정 방법은 README.md를 참고하세요.