Show HN:LeetDreamer - AI 生成的 LeetCode 解題影片

Show HN:LeetDreamer - AI 生成的 LeetCode 解題影片

Hacker News·

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

Image

👆 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

Image

Image

Languages

Footer

Footer navigation

Hacker News

相關文章

  1. Show HN:LeetDuck – LeetCode.com 的 AI 語音對話模擬面試官

    4 個月前

  2. Show HN:具備時間一致性的影片 DeepDream

    3 個月前

  3. Show HN:Pilot – AI 編碼的共享記憶體與基於證據的提交

    3 個月前

  4. Show HN:用於高轉換率社群媒體影片的開源 AI 工作流程

    3 個月前

  5. Show HN:CodeSyncer – 將 AI 編碼上下文儲存在程式碼註解中

    3 個月前