Dear Gitea folks,
I am working on a way to manage CAD files (think STEP, IGES …) in Gitea. Obviously, displaying the contents of CAD files as text is not interesting, we need 2 things:
- a 3D viewer (three.js or x3dom)
- a way to convert CAD files to a format that can be used by the viewer.
I already have the viewer and the code to convert from CAD to JSON or X3D, and made some code and template modifications to display the viewer when a project file is identified as a CAD file so this is not a problem.
The only thing I miss is an understanding of how to trigger a (Python) procedure just after a repo is pushed to Gitea.
Any help, link to docs, recommendation, suggestion will be happily welcome.