- 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
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"name": "2FAuth",
|
|
"slug": "2fauth",
|
|
"categories": [
|
|
6
|
|
],
|
|
"date_created": "2024-12-20",
|
|
"type": "ct",
|
|
"updateable": true,
|
|
"privileged": false,
|
|
"interface_port": 80,
|
|
"documentation": "https://docs.2fauth.app/",
|
|
"website": "https://2fauth.app/",
|
|
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/2fauth.webp",
|
|
"config_path": "cat /opt/2fauth/.env",
|
|
"description": "2FAuth is a web based self-hosted alternative to One Time Passcode (OTP) generators like Google Authenticator, designed for both mobile and desktop. It aims to ease you perform your 2FA authentication steps whatever the device you handle, with a clean and suitable interface.",
|
|
"install_methods": [
|
|
{
|
|
"type": "default",
|
|
"script": "ct/2fauth.sh",
|
|
"resources": {
|
|
"cpu": 1,
|
|
"ram": 512,
|
|
"hdd": 2,
|
|
"os": "debian",
|
|
"version": "12"
|
|
}
|
|
}
|
|
],
|
|
"default_credentials": {
|
|
"username": null,
|
|
"password": null
|
|
},
|
|
"notes": [
|
|
{
|
|
"text": "Database credentials: `cat ~/2FAuth.creds`",
|
|
"type": "info"
|
|
},
|
|
{
|
|
"text": "The very first account created is automatically set up as an administrator account.",
|
|
"type": "info"
|
|
}
|
|
]
|
|
} |