-
-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Render projects headlessly #415
Comments
Headless rendering will be made possible after #402 |
Hey @aarthificial, do you know if anyone is currently working on this? Would it be useful for me to pick it up? Really happy to if needed 💪 |
@therealtimhawkins If you feel up to it please go ahead. I propose we name the new package |
Haha you've made me nervous! I'll take a look and get back to you with any issues 😅 |
Any chance you could give me an idea of how you see it being implemented Jacob? Are you thinking a new vite-plugin specifically for the renderer? I saw there is a PR open for a motion canvas CLI, were you thinking of this as using this as the interface? |
CLI is a package for code generation, this should be a separate thing. I think the current Vite plugin should be extended to account for headless rendering. |
Makes sense, thanks mate 👍 |
Description
It would be useful to be able to render a project from a shell script or in CI, without a human to operate a web browser. I'm not sure if this feature is already present; if it is, I can't find it in the documentation.
Proposed solution
A
render
script in package.json would be ideal, with a configuration file to set the parameters for the render. I don't know anything about the project's inner workings, so I don't think I can be more detailed than that.Considered alternatives
Making a program that launches a headless browser to start the render is possible, but probably not ideal.
The text was updated successfully, but these errors were encountered: