Skip to content

MorpheApp/morphe-library

Repository files navigation

Website badge Documentation badge Subreddit badge X badge Crowdin badge

📚 Morphe Library

Library containing common utilities for Morphe.

 

❓ About

Morphe Library powers projects such as Morphe Manager, Morphe CLI with common utilities and functionalities by providing shared code.

Morphe Library is based off the prior work of ReVanced. All modifications made by Morphe, along with their dates, can be found in the Git history.

💪 Features

Some of the features the Morphe Library provides are:

  • 📝 Signing APKs: Read and write keystores, and sign APK files
  • 🧩 Common utility functions: Various APIs for Morphe patches such as JSON serialization, reading and setting patch options, calculating the most common compatible version for a set of patches and more
  • 💾 Install and uninstall APKs: Install and uninstall APK files via ADB or locally, the Android package manager, or by mounting using root permissions
  • 📦 Repackage patched files to an APK: Apply patched files from Morphe Patcher to an APK file, and align & sign the APK file automatically

🚀 How to get started

To use Morphe Library in your project, follow these steps:

  1. Add the repository to your project

  2. Add the dependency to your project:

     dependencies {
         implementation("app.morphe:morphe-library:{$version}")
     }

📚 Everything else

📙 Contributing

Thank you for considering contributing to Morphe Library. You can find the contribution guidelines here.

🛠️ Building

To build Morphe Library, you can follow the Morphe documentation.

📜 License

Morphe Library is licensed under the GNU General Public License v3.0, with additional conditions under GPLv3 Section 7:

  • Name Restriction (7c): The name "Morphe" may not be used for derivative works.
    Derivatives must adopt a distinct identity unrelated to "Morphe."

See the LICENSE file for the full GPLv3 terms and the NOTICE file for full conditions of GPLv3 Section 7.

Sponsor this project

Packages

 
 
 

Contributors 5