Manyi-transformer is a multi-platform model compression client based on Electron, React, gltf-transform, and sharp. It provides a graphical interface for users to easily compress individual glTF/GLB model files and perform batch compression.
- Support compression of single glTF/GLB model files.
- Support batch compression of multiple glTF/GLB model files.
- Provides multi-platform support, running on Windows, macOS, and Linux.
- Utilizes the gltf-transform library for geometry and texture optimization of models.
- Uses sharp library for image compression and scaling.
Before using, please make sure you have installed Node.js.
- Clone the repository to your local machine:
git clone https://github.com/MarshallChang/Manyi-transformer.git
- Change into the project directory:
cd Manyi-transformer
- Install dependencies:
npm i
Use the following command to start the development mode:
npm run start
Use the following command to build the executable file
npm run package
After building, the executable files will be available in the release/build
folder.
If you find any bugs or have any suggestions, please contribute your code via Issue or Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.