- Replace GitHub API calls (390+) with 1 API call + raw URL downloads - Create GitHubJsonService for efficient JSON file syncing - Reduce API rate limiting issues by 99.7% - Add automatic page reload after successful sync - Update tests to use new service - Maintain same functionality with better performance Performance improvement: - Before: 390+ GitHub API calls (1 per JSON file) - After: 1 GitHub API call + 389 raw URL downloads - Raw URLs have no rate limits, making sync much more reliable
40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"name": "All Templates",
|
|
"slug": "all-templates",
|
|
"categories": [
|
|
1
|
|
],
|
|
"date_created": "2024-05-02",
|
|
"type": "addon",
|
|
"updateable": false,
|
|
"privileged": false,
|
|
"interface_port": null,
|
|
"documentation": null,
|
|
"website": null,
|
|
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/proxmox.webp",
|
|
"config_path": "",
|
|
"description": "A script designed to allow for the creation of one of the many free LXC templates. Great for creating system LXCs.\r\nThe script creates a `*.creds` file in the Proxmox root directory with the password of the newly created LXC.\r\nPlease take note that if you plan to use this script for creating TurnKey LXCs, you'll need to modify the hostname after creation.",
|
|
"install_methods": [
|
|
{
|
|
"type": "default",
|
|
"script": "tools/addon/all-templates.sh",
|
|
"resources": {
|
|
"cpu": null,
|
|
"ram": null,
|
|
"hdd": null,
|
|
"os": null,
|
|
"version": null
|
|
}
|
|
}
|
|
],
|
|
"default_credentials": {
|
|
"username": null,
|
|
"password": null
|
|
},
|
|
"notes": [
|
|
{
|
|
"text": "Resource and network settings are adjustable post LXC creation.",
|
|
"type": "info"
|
|
}
|
|
]
|
|
} |