Show HN:LeetDreamer - AI 生成的 LeetCode 解題影片
LeetDreamer 是一個新專案,利用 AI 為 LeetCode 問題生成帶旁白的演算法視覺化影片,旨在讓學習比傳統程式碼學習更具吸引力。
Navigation Menu
Search code, repositories, users, issues, pull requests...
Provide feedback
We read every piece of feedback, and take your input very seriously.
Saved searches
Use saved searches to filter your results more quickly
To see all available qualifiers, see our documentation.
Uh oh!
There was an error while loading. Please reload this page.
joshribakoff/leetdreamer
Folders and files
Latest commit
History
Repository files navigation
🎬 LeetDreamer
"What if algorithm explanations didn't put you to sleep?"
A pipeline that generates narrated algorithm visualization videos. Because staring at code for 3 hours is less effective than watching a robot explain Two Pointers in 37 seconds.
🎥 See it in action
👆 Click to watch the generated video on YouTube
The Problem
The Solution
Write a scene spec → Get a narrated video. That's it.
Output: A video where a robot voice explains the algorithm while colorful boxes do the thinking for you.
How It Works
The secret sauce: audio-first sync. Generate the voice track first, measure how long each phrase takes, then make the animation match. No more desynced disasters.
Installation
Creating a Scene
Scenes live in scenes/<name>/scene.json:
The narration becomes audio. The state drives the visualization. Simple.
Architecture
See ARCHITECTURE.md for the full nerd version. Key points:
Want to swap macOS say for OpenAI TTS? Change one adapter. Want Manim instead of HTML? Change one adapter. The dream is modularity.
Requirements
Status
🚧 Early days - The bones work, the flesh is still forming.
Currently renders: Two Pointers (Two Sum II)
Coming eventually: Sliding Window, Binary Search, DP visualizations, maybe your algorithm if you ask nicely.
License
MIT - Do whatever you want, just don't blame me when the robot voice mispronounces "deque".
About
Resources
Uh oh!
There was an error while loading. Please reload this page.
Stars
Watchers
Forks
Releases
Packages
0
Contributors
2
Languages
Footer
Footer navigation
相關文章