Files
ProxmoxVE-Local/scripts/json/magicmirror.json
Michel Roegl-Brunner 82dc4643de feat: optimize JSON sync with 1 API call + raw URLs
- 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
2025-09-15 14:30:07 +02:00

40 lines
1.2 KiB
JSON

{
"name": "MagicMirror Server",
"slug": "magicmirror",
"categories": [
24
],
"date_created": "2024-05-02",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 8080,
"documentation": "https://docs.magicmirror.builders/configuration/introduction.html#configuring-your-magicmirror",
"website": "https://docs.magicmirror.builders/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/magicmirror2.webp",
"config_path": "/opt/magicmirror/config/config.js",
"description": "MagicMirror² is a smart mirror software that allows you to build your own personal smart mirror. It uses modular components that you can customize to display information such as the weather, news, calendar, to-do list, and more. The platform is open source, allowing for community contributions and customization.",
"install_methods": [
{
"type": "default",
"script": "ct/magicmirror.sh",
"resources": {
"cpu": 1,
"ram": 512,
"hdd": 3,
"os": "debian",
"version": "12"
}
}
],
"default_credentials": {
"username": null,
"password": null
},
"notes": [
{
"text": "Configuration Path: `/opt/magicmirror/config/config.js`",
"type": "info"
}
]
}