Skip to content

Latest commit

 

History

History
91 lines (56 loc) · 1.54 KB

ConfigJson.md

File metadata and controls

91 lines (56 loc) · 1.54 KB

config.json Documentation

This JSON configuration file contains settings related to a Magisk repository. Below is a detailed explanation of each field in the config.json file.


name (required)

The name of the repository.

"name": "Template Magisk Modules Repository"

base_url (required)

The base URL for fetching repository modules and tracks. The end slash is required!

"base_url": "https://example.com/"

website

The URL of the repository's website.

"website": "https://mmrl.dergoogler.com"

support

The URL to the support page for the repository.

"support": "url"

donate

The URL where users can donate to support the repository.

"donate": "url"

submission

This field allows submitting new tracks or modules to the repository.

"submission": "url"

`description


A brief description of the repository.

```json
"description": "url"

max_num

Specifies the maximum number of allowed modules or users that the repository can support.

"max_num": 3

enable_log

A flag that enables or disables logging. Set to true to enable.

"enable_log": true

log_dir

Specifies the directory where logs will be stored.

"log_dir": "log"

This file helps configure the repository, setting up key URLs, repository limits, logging configurations, and other metadata. The max_num and log_dir are particularly useful for controlling repository capacity and logging during operation.