danny-avila / LibreChat

Enhanced ChatGPT Clone: Features Anthropic, AWS, OpenAI, Assistants API, Azure, Groq, o1, GPT-4o, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, langchain, DALL-E-3, ChatGPT Plugins, OpenAI Functions, Secure Multi-User System, Presets, completely open-source for self-hosting. Actively in public development.
https://librechat.ai/
MIT License
17.98k stars 3k forks source link

Enhancement: add option to customize favicon #2079

Closed GauthierPLM closed 6 months ago

GauthierPLM commented 6 months ago

What features would you like to see added?

It's currently possible to change the title displayed in the tab browser and the text displayed in the footer. I'd like to customize the favicon to set a custom icon.

More details

This would help in enterprise environment to customize LibreChat to the company' identity.

Which components are impacted by your request?

UI

Pictures

No response

Code of Conduct

theorchestrator commented 6 months ago

I haven't tried it personally, but wouldn't that already be achievable by replacing the favicon files in "\client\dist\assets" and "\client\public\assets" ?

However I understand that having automatic favicon generation would be a nice customization feature.

GauthierPLM commented 6 months ago

@theorchestrator that was my initial intention but when using the published docker images, it is necessary to override the favicons using docker-compose.override.yml. Having a configuration would avoid the changes in docker-compose configuration.

This is the config I used:

version: '3.4'
services:
  api:
    volumes:
      - ./favicon-16x16.png:/app/client/dist/assets/favicon-16x16.png
      - ./favicon-32x32.png:/app/client/dist/assets/favicon-32x32.png
      - ./favicon-16x16.png:/app/client/public/assets/favicon-16x16.png
      - ./favicon-32x32.png:/app/client/public/assets/favicon-32x32.png