- 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.0 KiB
JSON
40 lines
1.0 KiB
JSON
{
|
|
"name": "Alpine",
|
|
"slug": "alpine",
|
|
"categories": [
|
|
2
|
|
],
|
|
"date_created": "2024-05-02",
|
|
"type": "ct",
|
|
"updateable": true,
|
|
"privileged": false,
|
|
"interface_port": null,
|
|
"documentation": null,
|
|
"website": "https://www.alpinelinux.org/",
|
|
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/alpine-linux.webp",
|
|
"config_path": "",
|
|
"description": "A security-oriented, lightweight Linux distribution based on musl and BusyBox.\r\nBy default, the root password is set to alpine. If you choose to use advanced settings, you will need to define a password, autologin is currently unavailable.",
|
|
"install_methods": [
|
|
{
|
|
"type": "default",
|
|
"script": "ct/alpine.sh",
|
|
"resources": {
|
|
"cpu": 1,
|
|
"ram": 512,
|
|
"hdd": 1,
|
|
"os": "alpine",
|
|
"version": "3.22"
|
|
}
|
|
}
|
|
],
|
|
"default_credentials": {
|
|
"username": null,
|
|
"password": "alpine"
|
|
},
|
|
"notes": [
|
|
{
|
|
"text": "To Update Alpine: `apk -U upgrade`",
|
|
"type": "info"
|
|
}
|
|
]
|
|
} |