diff --git a/src/server/config/app-templates.ts b/src/server/config/app-templates.ts index 9c0e3fc..34cc80b 100644 --- a/src/server/config/app-templates.ts +++ b/src/server/config/app-templates.ts @@ -1212,22 +1212,6 @@ const BASE_APP_TEMPLATES: AppTemplate[] = [ }, }, - { - id: "genieacs", - name: "GenieACS", - desc: "TR-069 remote management server for CPE devices", - category: "DevOps", - image: "genieacs/genieacs:latest", - defaultPort: "7547:7547,7557:7557,7567:7567,3000:3000", - defaultEnv: - "GENIEACS_MONGODB_CONNECTION_URL=mongodb://mongo/genieacs\nGENIEACS_CWMP_ACCESS_LOG_FILE=/var/log/genieacs/cwmp-access.log\nGENIEACS_NBI_ACCESS_LOG_FILE=/var/log/genieacs/nbi-access.log\nGENIEACS_UI_JWT_SECRET=super-secret-key\nGENIEACS_CWMP_PORT=7547\nGENIEACS_NBI_PORT=7557\nGENIEACS_FS_PORT=7567\nGENIEACS_UI_PORT=3000", - defaultVolumes: - "/srv/genieacs/logs:/var/log/genieacs\n/srv/genieacs/ext:/opt/genieacs/ext", - restartPolicy: "unless-stopped", - popular: false, - tags: ["TR-069", "CPE", "Network"], - }, - { id: "wuzapi", name: "WuzAPI", diff --git a/src/server/services/app-catalog/catalog-options.ts b/src/server/services/app-catalog/catalog-options.ts index e3badd3..68bb889 100644 --- a/src/server/services/app-catalog/catalog-options.ts +++ b/src/server/services/app-catalog/catalog-options.ts @@ -11,31 +11,42 @@ export const CATALOG_SOURCE_OPTIONS: CatalogSourceOption[] = [ id: "auto-detect", label: "Custom Source", description: - "Paste a remote URL and let the backend detect whether it is a manifest, compose/config file, or ZIP app store archive.", + "Paste any supported manifest or ZIP app store URL and let the backend detect the parser automatically.", requiresUrl: true, placeholder: - "https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip", - exampleUrl: "https://casaos-appstore.paodayag.dev/linuxserver.zip", - }, - { - id: "manifest-url", - label: "Manifest URL", - description: - "Fetch app entries from a remote JSON, YAML, CasaOS config, compose, or Umbrel manifest URL.", - requiresUrl: true, - placeholder: "https://example.com/apps.json", + "https://github.com/DoktainerApp/templates/archive/refs/heads/main.zip", exampleUrl: - "https://raw.githubusercontent.com/bigbeartechworld/big-bear-casaos/master/Apps/2fauth/config.json", - }, - { - id: "github-archive", - label: "GitHub Archive ZIP", - description: - "Download a GitHub archive ZIP and scan CasaOS app folders, config.json, docker-compose.yml, JSON, or YAML manifests.", - requiresUrl: true, - placeholder: - "https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip", - exampleUrl: - "https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip", + "https://github.com/DoktainerApp/templates/archive/refs/heads/main.zip", }, + // { + // id: "auto-detect", + // label: "Custom Source", + // description: + // "Paste a remote URL and let the backend detect whether it is a manifest, compose/config file, or ZIP app store archive.", + // requiresUrl: true, + // placeholder: + // "https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip", + // exampleUrl: "https://casaos-appstore.paodayag.dev/linuxserver.zip", + // }, + // { + // id: "manifest-url", + // label: "Manifest URL", + // description: + // "Fetch app entries from a remote JSON, YAML, CasaOS config, compose, or Umbrel manifest URL.", + // requiresUrl: true, + // placeholder: "https://example.com/apps.json", + // exampleUrl: + // "https://raw.githubusercontent.com/bigbeartechworld/big-bear-casaos/master/Apps/2fauth/config.json", + // }, + // { + // id: "github-archive", + // label: "GitHub Archive ZIP", + // description: + // "Download a GitHub archive ZIP and scan CasaOS app folders, config.json, docker-compose.yml, JSON, or YAML manifests.", + // requiresUrl: true, + // placeholder: + // "https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip", + // exampleUrl: + // "https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip", + // }, ]; diff --git a/src/server/services/backup/app-catalog.service.ts b/src/server/services/backup/app-catalog.service.ts index 0fbe96c..164f1bf 100644 --- a/src/server/services/backup/app-catalog.service.ts +++ b/src/server/services/backup/app-catalog.service.ts @@ -53,33 +53,44 @@ export const CATALOG_SOURCE_OPTIONS: CatalogSourceOption[] = [ id: "auto-detect", label: "Custom Source", description: - "Paste a remote URL and let the backend detect whether it is a manifest, compose/config file, or ZIP app store archive.", + "Paste any supported manifest or ZIP app store URL and let the backend detect the parser automatically.", requiresUrl: true, placeholder: - "https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip", - exampleUrl: "https://casaos-appstore.paodayag.dev/linuxserver.zip", - }, - { - id: "manifest-url", - label: "Manifest URL", - description: - "Fetch app entries from a remote JSON, YAML, CasaOS config, compose, or Umbrel manifest URL.", - requiresUrl: true, - placeholder: "https://example.com/apps.json", + "https://github.com/DoktainerApp/templates/archive/refs/heads/main.zip", exampleUrl: - "https://raw.githubusercontent.com/bigbeartechworld/big-bear-casaos/master/Apps/2fauth/config.json", - }, - { - id: "github-archive", - label: "GitHub Archive ZIP", - description: - "Download a GitHub archive ZIP and scan CasaOS app folders, config.json, docker-compose.yml, JSON, or YAML manifests.", - requiresUrl: true, - placeholder: - "https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip", - exampleUrl: - "https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip", + "https://github.com/DoktainerApp/templates/archive/refs/heads/main.zip", }, + // { + // id: "auto-detect", + // label: "Custom Source", + // description: + // "Paste a remote URL and let the backend detect whether it is a manifest, compose/config file, or ZIP app store archive.", + // requiresUrl: true, + // placeholder: + // "https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip", + // exampleUrl: "https://casaos-appstore.paodayag.dev/linuxserver.zip", + // }, + // { + // id: "manifest-url", + // label: "Manifest URL", + // description: + // "Fetch app entries from a remote JSON, YAML, CasaOS config, compose, or Umbrel manifest URL.", + // requiresUrl: true, + // placeholder: "https://example.com/apps.json", + // exampleUrl: + // "https://raw.githubusercontent.com/bigbeartechworld/big-bear-casaos/master/Apps/2fauth/config.json", + // }, + // { + // id: "github-archive", + // label: "GitHub Archive ZIP", + // description: + // "Download a GitHub archive ZIP and scan CasaOS app folders, config.json, docker-compose.yml, JSON, or YAML manifests.", + // requiresUrl: true, + // placeholder: + // "https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip", + // exampleUrl: + // "https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip", + // }, ]; function slugify(value: string): string {