feat(web): add @memoh/icon package and unify brand icon system

Replace FontAwesome/CDN brand icons with local SVG-based Vue components
in a new shared @memoh/icon package. Provider icon URLs in conf/providers
YAML files are replaced with preset names, intercepted by ProviderIcon
component on the frontend. SearchProviderLogo and ChannelIcon components
are migrated to @memoh/icon. All icon containers now use a unified
circular gray (rounded-full bg-muted) style. Adds wechat and matrix
channel icons.
This commit is contained in:
Acbox
2026-03-22 22:07:32 +08:00
parent 609ca49cf5
commit 897cc32194
210 changed files with 2076 additions and 159 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
name: Anthropic
client_type: anthropic-messages
icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/anthropic.svg
icon: anthropic
base_url: https://api.anthropic.com
models:
+1 -1
View File
@@ -1,6 +1,6 @@
name: DeepSeek
client_type: openai-completions
icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/deepseek-color.svg
icon: deepseek-color
base_url: https://api.deepseek.com/v1
models:
+1 -1
View File
@@ -1,6 +1,6 @@
name: Google
client_type: google-generative-ai
icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/google-color.svg
icon: google-color
base_url: https://generativelanguage.googleapis.com/v1beta
models:
+1 -1
View File
@@ -1,6 +1,6 @@
name: Groq
client_type: openai-completions
icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/groq.svg
icon: groq
base_url: https://api.groq.com/openai/v1
models:
+1 -1
View File
@@ -1,6 +1,6 @@
name: HuggingFace
client_type: openai-completions
icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/huggingface-color.svg
icon: huggingface-color
base_url: https://router.huggingface.co/hf-inference/v1
models:
+1 -1
View File
@@ -1,6 +1,6 @@
name: LM Studio
client_type: openai-completions
icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/lmstudio.svg
icon: lmstudio
base_url: http://127.0.0.1:1234/v1
models:
+1 -1
View File
@@ -1,6 +1,6 @@
name: Minimax
client_type: openai-completions
icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/minimax-color.svg
icon: minimax-color
base_url: https://api.minimaxi.com/v1
models:
+1 -1
View File
@@ -1,6 +1,6 @@
name: Mistral
client_type: openai-completions
icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/mistral-color.svg
icon: mistral-color
base_url: https://api.mistral.ai/v1
models:
+1 -1
View File
@@ -1,6 +1,6 @@
name: Moonshot
client_type: openai-completions
icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/moonshot.svg
icon: moonshot
base_url: https://api.moonshot.cn/v1
models:
+1 -1
View File
@@ -1,6 +1,6 @@
name: New API
client_type: openai-completions
icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/newapi-color.svg
icon: newapi-color
base_url: https://your.new-api-provider.com
models:
+1 -1
View File
@@ -1,6 +1,6 @@
name: Ollama
client_type: openai-completions
icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/ollama.svg
icon: ollama
base_url: http://127.0.0.1:11434/v1
models:
+1 -1
View File
@@ -1,6 +1,6 @@
name: OpenAI
client_type: openai-responses
icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/openai.svg
icon: openai
base_url: https://api.openai.com/v1
models:
+1 -1
View File
@@ -1,6 +1,6 @@
name: OpenRouter
client_type: openai-completions
icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/openrouter.svg
icon: openrouter
base_url: https://openrouter.ai/api/v1
models:
+1 -1
View File
@@ -1,6 +1,6 @@
name: Aliyun Bailian
client_type: openai-completions
icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/qwen-color.svg
icon: qwen-color
base_url: https://dashscope.aliyuncs.com/compatible-mode/v1
models:
+1 -1
View File
@@ -1,6 +1,6 @@
name: xAI (Grok)
client_type: openai-completions
icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/xai.svg
icon: xai
base_url: https://api.x.ai/v1
models: