Need help with code-video-generator?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

178 Stars 8 Forks Apache License 2.0 97 Commits 0 Opened issues


Generates code walkthrough videos using Manim

Services available


Need anything else?

Contributors list

Introduction video

GitHub Actions PyPI PyPI

Code Video Generator is a library that uses the Manim animation engine to automatically generate code walkthrough videos. In fact, the source for the video above is at examples/


The documention is hosted at Read the Docs


Code Video Generator needs Manim and a few other dependencies. Please visit the documentation.


Here is an example video script that creates a video of itself:

from code_video import CodeScene

class MyScene(CodeScene): def construct(self): # This does the actual code display and animation self.animate_code_comments("")

    # Wait 5 seconds before finishing

Save this code in a file called
. Now open your terminal in the folder where you saved the file and execute
manim -ql -p

You should see your video player pop up and play a simple walkthrough of
. You can find some more simple examples in the GitHub repository.

For more information on Manim, see their ReadTheDocs.


If you'd like to contribute, feel free to fork or better yet, submit improvements as pull requests or report issues.


The software is licensed under the Apache Public License v2, with copyright by Sleuth Enterprises.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.