Skip to content

MarshallChang/Manyi-transformer

Repository files navigation

Logo

Manyi-transformer

License GitHub package.json version GitHub All Releases Commitizen friendly

Introduction

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.

demo

Key Features

  • 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.

Installation

Before using, please make sure you have installed Node.js.

  1. Clone the repository to your local machine:
git clone https://github.com/MarshallChang/Manyi-transformer.git
  1. Change into the project directory:
cd Manyi-transformer
  1. Install dependencies:
npm i

Runing

Use the following command to start the development mode:

npm run start

Packaging

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.

Contribution

If you find any bugs or have any suggestions, please contribute your code via Issue or Pull Request.

License

This project is licensed under the MIT License. See the LICENSE file for details.