Vue desktop GUI and PyInstaller freeze path - #71
Merged
Conversation
Introduce docgen gui / docgen-gui as a Vue + Flask shell over the wizard, with a Benchmark view that runs the standard scene-timing corpus. Asset paths go through docgen.resources so templates, vendor Vue, and benchmark_data resolve in an editable install and under sys._MEIPASS. The freeze target is packaging/docgen-gui.spec (not the full Manim CLI). Co-authored-by: jmjava <jmjava@gmail.com>
Wrap the Benchmark view in a Jinja raw block so Vue mustaches are not compiled as templates. Make meipass_dir tolerate a missing _MEIPASS so is_frozen patches in tests cannot crash create_app. Co-authored-by: jmjava <jmjava@gmail.com>
jmjava
marked this pull request as ready for review
August 15, 2026 18:55
Contributor
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Head toward a packable desktop GUI without freezing the full Manim/ffmpeg/OpenAI CLI.
What this adds
docgen gui/docgen-gui/python -m docgen.gui— Vue + Flask shell over the existing wizard. Preferspywebview(docgen[gui]);--browserfalls back to the system browser.docgen gui --smoke— headless HTTP check of/and/api/benchmark(default pytest).docgen freeze— PyInstaller onedir fordocgen-guionly (pip install 'docgen[packaging]').--smokeruns the binary headless. Full freeze is not in routine CI; setDOCGEN_FREEZE_SMOKE=1for the optional test.?view=benchmark) — same corpus asdocgen benchmark.docgen.yamlat runtime (path field; Browse uses a folder dialog in pywebview).docgen.resources(sys._MEIPASS).What this is not
docgenpipeline.How to try it