Dynamic fetching of script info based on Metadata JSON files #5
Closed
BramSuurdje
started this conversation in
Ideas
Replies: 2 comments 3 replies
-
|
@havardthom Could you take a look at this and tell me what you think? If i have to go more in-depth on the specifics on how it would retrieve the information let me know. |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
@BramSuurdje this has been implemented in community-scripts/ProxmoxVE#86 I think you can close this discussion now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Proposal for Script Metadata Management
Approach
Dynamic Fetching:
Static Metadata Storage:
{ "slug": "nginxproxymanager", "logo": "https://raw.githubusercontent.com/loganmarchione/homelab-svg-assets/main/assets/nginxproxymanager.svg", "description": "Nginx Proxy Manager is a tool that provides a web-based interface to manage Nginx reverse proxies. It enables users to easily and securely expose their services to the internet by providing features such as HTTPS encryption, domain mapping, and access control. It eliminates the need for manual configuration of Nginx reverse proxies, making it easy for users to quickly and securely expose their services to the public.", "date_created": "2024-05-02", "website": "https://nginxproxymanager.com/", "documentation": "", "default_credentials": { "username": "admin", "password": "admin" }, "alerts": [ { "alert": "Since there are hundreds of Certbot instances, it's necessary to install the specific Certbot of your preference." }, { "alert": "This is another example of an alert." } ] }Metadata API Route:
Final JSON Structure:
{ "name": "Nginx Proxy Manager", "slug": "nginxproxymanager", "logo": "https://raw.githubusercontent.com/loganmarchione/homelab-svg-assets/main/assets/nginxproxymanager.svg", "description": "Nginx Proxy Manager is a tool that provides a web-based interface to manage Nginx reverse proxies. It enables users to easily and securely expose their services to the internet by providing features such as HTTPS encryption, domain mapping, and access control. It eliminates the need for manual configuration of Nginx reverse proxies, making it easy for users to quickly and securely expose their services to the public.", "date_created": "2024-05-02", "type": "LXC", "updateable": true, "website": "https://nginxproxymanager.com/", "documentation": "", "interface_port": "81", "install_methods": [ { "type": "default", "resources": { "cpu": 1, "ram": 1024, "hdd": 3 } } ], "default_credentials": { "username": "admin", "password": "admin" }, "alerts": [ { "alert": "Since there are hundreds of Certbot instances, it's necessary to install the specific Certbot of your preference." } ] }This structure should allow for both static storage of rarely-changing data and dynamic updates for accuracy in the user interface.
Beta Was this translation helpful? Give feedback.
All reactions