Skip to content

Instantly share code, notes, and snippets.

View FreshDailyProjects's full-sized avatar

FreshDailyProjects

View GitHub Profile
@FreshDailyProjects
FreshDailyProjects / gist:974d82b7714884a0fed86f18b431415f
Last active April 30, 2026 21:05
Free Python script that converts any EPUB into a YouTube-ready audiobook video. Smooth scrolling teleprompter-style text synced to AI narration, with configurable image transitions (crossfade, fade to black, flash cut). Drop in a folder of background images, pick a voice, run it. No paid tools, no subscriptions.
# -*- coding: utf-8 -*-
"""
epub_to_video.py - EPUB -> YouTube-ready video with smooth scrolling narration text.
SETUP (run once):
pip install edge-tts ebooklib beautifulsoup4 pillow numpy imageio imageio-ffmpeg mutagen
USAGE:
python epub_to_video.py book.epub
python epub_to_video.py book.epub ./my_images/