- 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
35 lines
1.1 KiB
JSON
35 lines
1.1 KiB
JSON
{
|
|
"name": "PeaNUT",
|
|
"slug": "peanut",
|
|
"categories": [
|
|
4
|
|
],
|
|
"date_created": "2024-06-14",
|
|
"type": "ct",
|
|
"updateable": true,
|
|
"privileged": false,
|
|
"interface_port": 3000,
|
|
"documentation": "https://github.com/Brandawg93/PeaNUT/blob/main/README.md",
|
|
"website": "https://github.com/Brandawg93/PeaNUT/",
|
|
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/peanut.webp",
|
|
"config_path": "/etc/peanut/settings.yml",
|
|
"description": "PeaNUT is a small dashboard for Network UPS Tools (NUT). It provides a web interface to monitor and manage UPS devices. PeaNUT allows users to view device status, retrieve information, and manage UPS parameters through its API. It's customizable for different UPS devices and supports integration with the Homepage dashboard.",
|
|
"install_methods": [
|
|
{
|
|
"type": "default",
|
|
"script": "ct/peanut.sh",
|
|
"resources": {
|
|
"cpu": 2,
|
|
"ram": 4096,
|
|
"hdd": 7,
|
|
"os": "debian",
|
|
"version": "12"
|
|
}
|
|
}
|
|
],
|
|
"default_credentials": {
|
|
"username": null,
|
|
"password": null
|
|
},
|
|
"notes": []
|
|
} |