ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.
Python astracloudflarecontrol-panelcyberpaneldnsfablehosting-control-panelhosting-panelkimi-k3server-managementserverkitubuntu-web-panelwebserver
fix(marketplace): surface registry featured flag; distinct mail icons
Juan Denis161271dc5d2d
diff --git a/backend/app/data/registry_index.json b/backend/app/data/registry_index.jsonindex 5d6c0ae0..226afb10 100644--- a/backend/app/data/registry_index.json+++ b/backend/app/data/registry_index.json@@ -43,8 +43,7 @@"repo": "https://github.com/jhd3197/serverkit-faro","homepage": "https://github.com/jhd3197/serverkit-faro","featured": true,- "feature_score": 90,- "logo": "assets/serverkit-faro/logo.png"+ "feature_score": 90}]}diff --git a/backend/app/services/registry_service.py b/backend/app/services/registry_service.pyindex f93ebe5b..68c7305c 100644--- a/backend/app/services/registry_service.py+++ b/backend/app/services/registry_service.py@@ -81,6 +81,8 @@ _FIELDS = {'homepage': '','icon': None,'screenshots': [],+ 'featured': False,+ 'feature_score': 0,}diff --git a/frontend/src/components/icons/ExtensionIcons.js b/frontend/src/components/icons/ExtensionIcons.jsindex 484c9cb7..8b5b1905 100644--- a/frontend/src/components/icons/ExtensionIcons.js+++ b/frontend/src/components/icons/ExtensionIcons.js@@ -39,8 +39,12 @@ const KEYWORD_RULES = [{ keys: ['gitea', 'forgejo', 'git'], icon: git },{ keys: ['gpu', 'nvidia', 'cuda'], icon: gpu },{ keys: ['wireguard', 'vpn', 'tunnel', 'remote'], icon: vpn },- { keys: ['mailserver', 'mail-relay', 'relay'], icon: mailserver },- { keys: ['mail', 'email', 'smtp', 'imap'], icon: mail },+ // Keep the two mail stacks visually distinct: the Postfix/Dovecot+ // "Email Server" gets the envelope, the Stalwart "Mail Server" gets the+ // server rack. 'email' must be matched before the bare 'mail' rule (the+ // string 'email' contains 'mail').+ { keys: ['email', 'smtp', 'imap', 'postfix', 'dovecot'], icon: mail },+ { keys: ['mailserver', 'mail-relay', 'relay', 'stalwart', 'mail'], icon: mailserver },{ keys: ['backup', 'restore', 'snapshot', 'sync', 'import', 'migrate'], icon: backup },{ keys: ['crowdsec', 'fail2ban', 'security', 'firewall', 'waf', 'cve'], icon: security },{ keys: ['dns', 'domain', 'network'], icon: network },