- 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.4 KiB
JSON
40 lines
1.4 KiB
JSON
{
|
|
"name": "Homer",
|
|
"slug": "homer",
|
|
"categories": [
|
|
10
|
|
],
|
|
"date_created": "2024-05-02",
|
|
"type": "ct",
|
|
"updateable": true,
|
|
"privileged": false,
|
|
"interface_port": 8010,
|
|
"documentation": "https://github.com/bastienwirtz/homer/blob/main/README.md#table-of-contents",
|
|
"website": "https://github.com/bastienwirtz/homer",
|
|
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/homer.webp",
|
|
"config_path": "/opt/homer/assets/config.yml",
|
|
"description": "Homer is a simple and lightweight static homepage generator that allows you to create and manage a home page for your server. It uses a YAML configuration file to define the layout and content of your homepage, making it easy to set up and customize. The generated homepage is static, meaning it does not require any server-side processing, making it fast and efficient to serve. Homer is designed to be a flexible and low-maintenance solution for organizing and accessing your services and information from a single, centralized location.",
|
|
"install_methods": [
|
|
{
|
|
"type": "default",
|
|
"script": "ct/homer.sh",
|
|
"resources": {
|
|
"cpu": 1,
|
|
"ram": 512,
|
|
"hdd": 2,
|
|
"os": "debian",
|
|
"version": "12"
|
|
}
|
|
}
|
|
],
|
|
"default_credentials": {
|
|
"username": null,
|
|
"password": null
|
|
},
|
|
"notes": [
|
|
{
|
|
"text": "Configuration Path: `/opt/homer/assets/config.yml`",
|
|
"type": "info"
|
|
}
|
|
]
|
|
} |