Skip to content

cqb13/meteor-addon-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meteor Addon Scanner

A tool to create a list of Meteor Client addons from github.

Check out the Meteor Addon List

Usage

  1. Create a .env file with a value KEY with a github API key with read access to public repositories
  2. Create a text file with full names of github repositories separated by new lines
  3. Run the following command
scanner verified.txt addons.json

Output

[
  {
    "name": "string",
    "description": "string",
    "mc_version": "string",
    "authors": ["string"],
    "features": {
      "modules": ["string"],
      "commands": ["string"],
      "hud_elements": ["string"],
      "feature_count": 0
    },
    "verified": false,
    "repo": {
      "id": "string",
      "owner": "string",
      "name": "string",
      "archived": false,
      "fork": true,
      "stars": 0,
      "downloads": 0,
      "last_update": "string RFC3339",
      "creation_date": "string RFC3339"
    },
    "links": {
      "github": "string",
      "download": "string",
      "discord": "string",
      "homepage": "string",
      "icon": "string"
    },
    "custom": {
      "description": "string",
      "supported_versions": ["x.x.x", "x.x.x"],
      "icon": "string",
      "discord": "string",
      "homepage": "string"
    }
  }
]

Custom Properties

The scanner automatically pulls info from GitHub, but it might not always be accurate or exactly how you want it. To fix or customize that data, you can manually add your own values.

To do that, create the file meteor-addon-list.json in the root directory of your addon, and add the fields you wish to overide:

{
  "description": "A short description of your addon.",
  "supported_versions": ["1.21.7", "1.21.8"],
  "icon": "https://example.com/icon.png",
  "discord": "https://discord.gg/yourserver",
  "homepage": "https://example.com"
}

This tool is based on AntiCope