- 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
989 B
JSON
35 lines
989 B
JSON
{
|
||
"name": "Tianji",
|
||
"slug": "tianji",
|
||
"categories": [
|
||
9
|
||
],
|
||
"date_created": "2024-09-14",
|
||
"type": "ct",
|
||
"updateable": true,
|
||
"privileged": false,
|
||
"interface_port": 12345,
|
||
"documentation": "https://tianji.dev/docs/intro",
|
||
"website": "https://tianji.msgbyte.com/",
|
||
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/tianji.webp",
|
||
"config_path": "/opt/tianji/src/server/.env",
|
||
"description": "Tianji is an open-source tool for website analytics, uptime monitoring, and server status tracking, all in one. It’s lightweight, privacy-focused, and helps teams monitor web traffic, server health, and gather user interaction data",
|
||
"install_methods": [
|
||
{
|
||
"type": "default",
|
||
"script": "ct/tianji.sh",
|
||
"resources": {
|
||
"cpu": 4,
|
||
"ram": 4096,
|
||
"hdd": 12,
|
||
"os": "debian",
|
||
"version": "12"
|
||
}
|
||
}
|
||
],
|
||
"default_credentials": {
|
||
"username": "admin",
|
||
"password": "admin"
|
||
},
|
||
"notes": []
|
||
} |