Skip to content

Commit

Permalink
feat: Add Custom Welcome Message Support in LibreChat [#5870](danny-a…
Browse files Browse the repository at this point in the history
  • Loading branch information
rubentalstra committed Feb 14, 2025
1 parent 4cc41a1 commit bbbd90a
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions pages/docs/configuration/dotenv.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -948,22 +948,28 @@ Properly setting cache headers is crucial for optimizing the performance and eff
* Uncomment `STATIC_CACHE_S_MAX_AGE` to change the `s-maxage` for static files. By default this is set to 1 week.
- This is for the _shared cache_, which is used by CDNs and proxies.

#### App Title and Footer
#### App Title, Welcome Message, and Footer

<OptionTable
options={[
['APP_TITLE', 'string', 'App title.','APP_TITLE=LibreChat'],
['CUSTOM_FOOTER', 'string', 'Custom footer.','# CUSTOM_FOOTER="My custom footer"'],
['APP_TITLE', 'string', 'App title.', 'APP_TITLE=LibreChat'],
['CUSTOM_WELCOME_MESSAGE', 'string', 'Custom welcome message.', '# CUSTOM_WELCOME_MESSAGE="My custom welcome message"'],
['CUSTOM_FOOTER', 'string', 'Custom footer.', '# CUSTOM_FOOTER="My custom footer"'],
]}
/>

**Behaviour:**

* Uncomment `CUSTOM_FOOTER` to add a custom footer.
* Uncomment and leave `CUSTOM_FOOTER` empty to remove the footer.
* You can now add one or more links in the CUSTOM_FOOTER value using the following format: `[Anchor text](URL)`. Each link should be delineated with a pipe (`|`).
- **`CUSTOM_WELCOME_MESSAGE`**:
* Uncomment and set a value to display a custom welcome message on the landing page.
* Leave it commented or empty to use the default welcome message.

> **Markdown example:** `CUSTOM_FOOTER=[Link 1](http://example1.com) | [Link 2](http://example2.com)`
- **`CUSTOM_FOOTER`**:
* Uncomment `CUSTOM_FOOTER` to add a custom footer.
* Uncomment and leave `CUSTOM_FOOTER` empty to remove the footer.
* You can now add one or more links in the CUSTOM_FOOTER value using the following format: `[Anchor text](URL)`. Each link should be delineated with a pipe (`|`).

> **Markdown example:** `CUSTOM_FOOTER=[Link 1](http://example1.com) | [Link 2](http://example2.com)`
#### Birthday Hat

Expand Down

0 comments on commit bbbd90a

Please sign in to comment.