- 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
999 B
JSON
35 lines
999 B
JSON
{
|
|
"name": "grocy",
|
|
"slug": "grocy",
|
|
"categories": [
|
|
24
|
|
],
|
|
"date_created": "2024-05-02",
|
|
"type": "ct",
|
|
"updateable": true,
|
|
"privileged": false,
|
|
"interface_port": 80,
|
|
"documentation": "https://github.com/grocy/grocy#how-to-install",
|
|
"website": "https://grocy.info/",
|
|
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/grocy.webp",
|
|
"config_path": "/var/www/html/data/config.php",
|
|
"description": "grocy is a web-based self-hosted groceries & household management solution for your home. It helps you keep track of your groceries and household items, manage your shopping list, and keep track of your pantry, recipes, meal plans, and more.",
|
|
"install_methods": [
|
|
{
|
|
"type": "default",
|
|
"script": "ct/grocy.sh",
|
|
"resources": {
|
|
"cpu": 1,
|
|
"ram": 512,
|
|
"hdd": 2,
|
|
"os": "debian",
|
|
"version": "12"
|
|
}
|
|
}
|
|
],
|
|
"default_credentials": {
|
|
"username": "admin",
|
|
"password": "admin"
|
|
},
|
|
"notes": []
|
|
} |