# \[LiteChat\] Local first AI chat

**URL:** <https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873>\
**Category:** Apps\
**Tags:** litechat, french, english\
**Created:** [July 25, 2025, 7:41pm UTC](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873 "2025-07-25T19:41:41Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)\
**Post date:** [July 25, 2025, 7:41pm UTC](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873/1 "2025-07-25T19:41:41Z")

</div>

# LiteChat for YunoHost

[![Integration level](https://dash.yunohost.org/integration/litechat.svg)](https://dash.yunohost.org/appci/app/litechat) ![](https://ci-apps.yunohost.org/ci/badges/litechat.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/litechat.maintain.svg)  
[![Install LiteChat with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=litechat)

## Overview

LiteChat is a modular, extensible, and privacy-focused AI chat application designed for power users, developers, and teams. It supports multiple AI providers, advanced prompt engineering, project-based organization, and powerful developer features like virtual file systems, Git integration, and a comprehensive modding system.

## Screenshots

![](https://raw.githubusercontent.com/YunoHost-Apps/litechat_ynh/testing/doc/screenshots/screenshot.png)

## Demo

- [Official demo](https://litechat.dev/)

## Documentation

- Official documentation: [LiteChat - Un chat IA local first, auto hebergeable sur un server HTTP | Dbuild.dev](https://dbuild.dev/blog/projects-litechat-litechat-un-chat-ia-local-first-auto-hebergeable-sur-un-server-http/)

## Links

- App repository: [https://github.com/YunoHost-Apps/litechat\_ynh](https://github.com/YunoHost-Apps/litechat_ynh)
- App website: [https://litechat.dev/](https://litechat.dev/)
- Upstream app repository: [https://github.com/DimitriGilbert/LiteChat](https://github.com/DimitriGilbert/LiteChat)

---

<div class="post-metadata">

**Author:** ![nicotentin](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/n/ecccb3/32.png) [@nicotentin](https://forum.yunohost.org/u/nicotentin)\
**Post date:** [July 26, 2025, 10:28am UTC](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873/2 "2025-07-26T10:28:59Z")

</div>

Bonjour,  
Je n’y connais rien dans ces outils, donc soyez indulgents…  
Est-ce que ce serait possible avec cet app de créer un robot chat avec une AI restreinte open-source entraînée sur un corpus (en l’occurrence une doc et/ou une base de connaissance), qui pourrait constituer un support de premier niveau respectueux de la vie privée et raisonnablement (??) consommateur de ressource ?  
Ou peut-être qu’il y a des outils plus adaptés ?

Merci d’avance pour vos lumières.

---

<div class="post-metadata">

**Author:** ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)\
**Post date:** [July 26, 2025, 12:16pm UTC](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873/3 "2025-07-26T12:16:49Z")

</div>

No idea. You better ask the app developper. also, see the dev presentation: [LiteChat - Un chat IA local first, auto hebergeable sur un server HTTP | Dbuild.dev](https://dbuild.dev/blog/projects-litechat-litechat-un-chat-ia-local-first-auto-hebergeable-sur-un-server-http/)

---

<div class="post-metadata">

**Author:** ![DimitriGilbert](https://forum.yunohost.org/user_avatar/forum.yunohost.org/dimitrigilbert/32/12435_2.png) [@DimitriGilbert](https://forum.yunohost.org/u/DimitriGilbert)\
**Post date:** [July 26, 2025, 11:06pm UTC](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873/4 "2025-07-26T23:06:52Z")

</div>

bonsoir,  
Je suis le créateur de litechat 😃  
LiteChat est une interface vers vos outils d’inference préféré : openAI, Anthropic, Gemini, et pour le local Ollama ou encore LMStudio  
Je ne propose pas d’entrainement pour les models, deja je sais pas faire ^^, et puis c’est extremement consomateur de ressources materiel, par contre, en fonction de ton hardware ollama/lmstudio font un tres bon travail avec des models comme gemma ou qwen.  
la version en ligne est hosté sur github pages mais ca tourne deriere n’importe quel serveur http car tout se passe dans le browser

---

<div class="post-metadata">

**Author:** ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)\
**Post date:** [July 26, 2025, 11:53pm UTC](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873/5 "2025-07-26T23:53:27Z")

</div>

Salut @DimitriGilbert, bienvenue dans notre communauté et merci de prendre le temps de participer à la discussion.  
Intéressante découverte pour moi, j’utilise actuellement open-webui avec Ollama (ce dernier est disponible dans le catalogue Yunohost). J’ai pas encore ajouté open-webui au catalogue parce qu’il ne passe pas les tests (l’installation requiert 10G).  
Je vais tester Litechat au cours de la semaine prochaine.

---

<div class="post-metadata">

**Author:** ![DimitriGilbert](https://forum.yunohost.org/user_avatar/forum.yunohost.org/dimitrigilbert/32/12435_2.png) [@DimitriGilbert](https://forum.yunohost.org/u/DimitriGilbert)\
**Post date:** [July 27, 2025, 6:08am UTC](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873/6 "2025-07-27T06:08:03Z")

</div>

ca faisait partie des choses qui m’ont amener a creer litechat.  
La plupart des outils sont soit

- trop gros (plsieur Go pour un chat, non merci !)
- trop limité (le chat de LMstudio est ok, mais je ne peux pas utiliser de models hoster ailleurs)
- soit pas hebergeable (t3.chat est un super service vraiment pas cher, mais proprio…)

Les images docker mono langue (fr es it de) font moins de 100Mo et la version total (avec tout les langues) +/-250 (il faudrait que je fasse une image ‘en’ dedier…)

Je m’excuse par avance du design en mousse, c’est vraiment pas mon coté fort ^^, pareil pour le coté decouvrable des fonctionalités… c’est un peu le fouillis mais ca c’est parce qu’il y a vraiment plein de truc

- titre auto,
- regles custom activable,
- fs avec support de git dans le navigateur,
- support des outils (git et fs) et des serveurs mcp externe,
- bibliotheque de prompt/agent perso,
- un mode course pour tester une liste de models sur un prompt, ou une liste de prompt sur un model
- workflows (prompt chaining)
- le support (tres alpha pour le moment) pour les recherches web (sans MCP)
- l’IA peut repondre avec des block UI custom (en plus du code)
  - formulaire (base sur [https://formedible.dev](https://formedible.dev) (un autre outil a moi pour moi ^^)
  - mermaidjs (pour des diagrammes un peu vintage)
  - react-flow (pour du diagramme plus pipou)
  - chart (barre, ligne, camemdert, etc, etc)
  - un interpreteur python (avec pyodide)
  - un interpreteur js avec plusieur mode (safe dans quickjs, en iframe, ou yolo dans la page !) qui peut donner des trucs comme [ca (je decline toute responsabilité en terme de perte de temps)](https://dimitrigilbert.github.io/racebench/scroller/25-07-25/)

- des settings, plein, mais genre plein… voir trop ^^, le but etant que s’il y a une fonctionalité avec des options controlabe, ells sont controlable (j’aime pas qu’on prenne la decision sans me laisser le choix meme si j’ai pas touché a un seul d’entre eux pour etre parfaitement honnete XD)
- d’autre trucs que j’oublis… j’en ai mis trop -\_-’

Je suis bien entendus preneurs de suggestions et de retour, et il ne faut pas hésiter aller ouvrir des issues sur [le repo github](https://github.com/DimitriGilbert/LiteChat/issues), en francais sans probleme 😃 (hésiter pas a mettre une étoile, c’est une super cure pour mon manque de dopamine ^^)

---

<div class="post-metadata">

**Author:** ![DimitriGilbert](https://forum.yunohost.org/user_avatar/forum.yunohost.org/dimitrigilbert/32/12435_2.png) [@DimitriGilbert](https://forum.yunohost.org/u/DimitriGilbert)\
**Post date:** [July 27, 2025, 6:10am UTC](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873/7 "2025-07-27T06:10:18Z")

</div>

merci pour l’acceuil au passage,  
j’ai submit sans relire et je me suis rendu compte que je me comportais comme un americain -\_-’

---

<div class="post-metadata">

**Author:** ![Iammee](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/i/a8b319/32.png) [@Iammee](https://forum.yunohost.org/u/Iammee)\
**Post date:** [July 27, 2025, 1:38pm UTC](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873/8 "2025-07-27T13:38:10Z")

</div>

Hey now! That behavior is not exclusive to Americans 😂

Hé maintenant ! Ce comportement n’est pas exclusif aux Américains 😂

---

<div class="post-metadata">

**Author:** ![Iammee](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/i/a8b319/32.png) [@Iammee](https://forum.yunohost.org/u/Iammee)\
**Post date:** [July 27, 2025, 1:43pm UTC](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873/9 "2025-07-27T13:43:53Z")

</div>

On another note, I installed litechat without any errors during installation but am getting a blank page when I load the app.

---

<div class="post-metadata">

**Author:** ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)\
**Post date:** [July 27, 2025, 2:36pm UTC](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873/10 "2025-07-27T14:36:50Z")

</div>

Providing more context is always helpful.

I guess you are trying to install it in a subfolder like `domain.tld/litechat`  
try to install it in a subdomain like `litechat.domain.tld`

@DimitriGilbert is it possible to install the app in a subfolder? (like `domain.tld/litechat`)

---

<div class="post-metadata">

**Author:** ![DimitriGilbert](https://forum.yunohost.org/user_avatar/forum.yunohost.org/dimitrigilbert/32/12435_2.png) [@DimitriGilbert](https://forum.yunohost.org/u/DimitriGilbert)\
**Post date:** [July 27, 2025, 2:55pm UTC](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873/11 "2025-07-27T14:55:25Z")

</div>

you are right @ericg for now it must be in the top directory of your http server…  
I have to refine my build process, it is a bit messy at the moment for the internationalization and docker support.  
The fix is fairly easy though, the src attribute for the main script and the link for the css file start with a `/`, removing it should do the trick (I am not a yunohost user so i do not really know how things are handled :\ )

---

<div class="post-metadata">

**Author:** ![DimitriGilbert](https://forum.yunohost.org/user_avatar/forum.yunohost.org/dimitrigilbert/32/12435_2.png) [@DimitriGilbert](https://forum.yunohost.org/u/DimitriGilbert)\
**Post date:** [July 27, 2025, 2:59pm UTC](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873/12 "2025-07-27T14:59:00Z")

</div>

@Iammee that’s a fair enough point but the bait potential is so much less ^^

---

<div class="post-metadata">

**Author:** ![Iammee](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/i/a8b319/32.png) [@Iammee](https://forum.yunohost.org/u/Iammee)\
**Post date:** [July 27, 2025, 4:00pm UTC](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873/14 "2025-07-27T16:00:37Z")

</div>

> [@ericg](#):
>
> Providing more context is always helpful.
> 
> I guess you are trying to install it in a subfolder like `domain.tld/litechat`  
> try to install it in a subdomain like `litechat.domain.tld`
> 
> @DimitriGilbert is it possible to install the app in a subfolder? (like `domain.tld/litechat`)

My apologies yes I chose all the default settings

---

<div class="post-metadata">

**Author:** ![blodarn](https://forum.yunohost.org/user_avatar/forum.yunohost.org/blodarn/32/4072_2.png) [@blodarn](https://forum.yunohost.org/u/blodarn)\
**Post date:** [July 28, 2025, 1:33pm UTC](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873/15 "2025-07-28T13:33:02Z")

</div>

Is is better than the ChatGPT app where you have to enter manually the API key every time you want to use or modifiy the internal code to bypass it 😛 ?

Real questions @DimitriGilbert :

- Comment et où sont stockées les clés API ? / How and where the API key are stored ?
- Les conversations sont-elles liées au compte utilisateur pour être consultées sur n’importe quel appareil. / The chats are linked to the user account so they can be retrieved on any device ?

---

<div class="post-metadata">

**Author:** ![DimitriGilbert](https://forum.yunohost.org/user_avatar/forum.yunohost.org/dimitrigilbert/32/12435_2.png) [@DimitriGilbert](https://forum.yunohost.org/u/DimitriGilbert)\
**Post date:** [July 28, 2025, 2:02pm UTC](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873/16 "2025-07-28T14:02:30Z")

</div>

sure is 😃 enter once, use all the times ^^ you can even configure multiple provider/key pair (work, hobby, etc, etc)

- api keys are stored in the browser indexeDB / les clés sont stocke dans le navigateur directement
- no account here (all in browser), you can sync using a git repository on a conversation basis or globally. same with settings. / pas de compte sur litechat (tout sur le browser), il est possible de faire des syncs individuelles pour chaque conversation on globalement, pareil pour les settings

The approach here was to be really “local first” so everything is in browser (I have to work on the url-\>markdown and search service, for now they use 3rd parties open apis…)  
this comes with some quirks and limitations but it insures true privacy (no more interaction with the server after the first load and the update check from the background worker)  
Le concept ici c’etait vraiment d’etre “local first” et que tout tourne dans le navigateur (c’est pas le cas pour le moment pour la recherche web et le web scrap maisca va venir bientot 😉 )  
ca vient malheureusement avec qqs joyeusetés mais ca assure une experience privée a 100%

I all heartily recommend using an openrouter key here, you’ll have access to most of the providers/models and I have better support for model abilities from there.

---

<div class="post-metadata">

**Author:** ![blodarn](https://forum.yunohost.org/user_avatar/forum.yunohost.org/blodarn/32/4072_2.png) [@blodarn](https://forum.yunohost.org/u/blodarn)\
**Post date:** [July 28, 2025, 2:40pm UTC](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873/17 "2025-07-28T14:40:09Z")

</div>

J’aime beaucoup à date mais un gros problème que j’ai concerne les autres utilisateurs de mon serveur. Ce n’est pas réaliste que je partage à chaque utilisateur ma clé API pour qu’ils puissent la rentrer à chaque fois (ou chaque première fois) qu’ils ont besoin d’utiliser l’AI.  
Est-ce qu’il y aurait moyen d’avoir une option pour stocker clé API, chats, etc, sur le serveur qui serait désactivé par défaut ?

Avec une telle option, un utilisateur du serveur se connecterait au serveur et pourrait directement interagir avec l’AI sans avoir à la pré-configurer.

Aussi, possible d’ajouter une option lors de la sélection des modèles pour déterminer celui qui serait activé par défaut ?

_I really like it so far, but one big problem I have concerns other users of my server. It’s unrealistic for me to share my API key with every user so they can enter it every time (or every first time) they need to use the AI._

_Is there a way to have an option to store API keys, chats, etc., on the server that would be disabled by default?_

_With such an option, a server user would connect to the server and be able to interact directly with the AI without having to pre-configure it (no need to enter an api key and no need to select the models)._

_Also, is it possible to add an option when selecting AI models to determine which one would be enabled by default?_

Merci / Thanks.

---

<div class="post-metadata">

**Author:** ![DimitriGilbert](https://forum.yunohost.org/user_avatar/forum.yunohost.org/dimitrigilbert/32/12435_2.png) [@DimitriGilbert](https://forum.yunohost.org/u/DimitriGilbert)\
**Post date:** [July 28, 2025, 2:56pm UTC](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873/18 "2025-07-28T14:56:47Z")

</div>

oh non, c’est par browser, sur le serveur n’y a rien de conserver, vraiment, c’est juste un serveur http qui sert un bundle de js/css 🙂 chacun vient avec sa clé 😃

Oh no no, it is on a browser basis. nothing is stored on the server, it really is just an http server that serves a js bundle 🙂 every one is bringing their own key

Tu peux essayer la version en ligne (heberge sur une github pages) et regarder ce qui circule, une fois charge plus rien ne viens chez moi, seulement entre ton provider et toi.  
you can try the online hosted version (completely static on github pages) at [https://litechat.dev](https://litechat.dev) and look at the request made, nothing goes out to me, only between you and your AI provider

---

<div class="post-metadata">

**Author:** ![DimitriGilbert](https://forum.yunohost.org/user_avatar/forum.yunohost.org/dimitrigilbert/32/12435_2.png) [@DimitriGilbert](https://forum.yunohost.org/u/DimitriGilbert)\
**Post date:** [July 28, 2025, 3:07pm UTC](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873/19 "2025-07-28T15:07:55Z")

</div>

as for the default key, I do not have that in store quiet yet…, I am working on another project right now (one that will maybe put food in the fridge ^^) but I could add something like that in the future.  
The only way for now is to build the app with a specific setting file so it loads them as default.

```bash
git clone git@github.com:DimitriGilbert/LiteChat.git
VITE_USER_CONFIG_FILE="path/to/your/config/file.json" npm run build

```

The bundled version should be in the dist folder and you should place it at the root of your http server  
you can also set the system prompt file with VITE\_SYSTEM\_PROMPT\_FILE 😉  
the config file is the one you export from the settings\>data tab

hope this help and I’m glad you like it 🙂

---

<div class="post-metadata">

**Author:** ![blodarn](https://forum.yunohost.org/user_avatar/forum.yunohost.org/blodarn/32/4072_2.png) [@blodarn](https://forum.yunohost.org/u/blodarn)\
**Post date:** [July 28, 2025, 8:17pm UTC](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873/20 "2025-07-28T20:17:18Z")

</div>

Yes, the default key would be great ! 😁

and after the new project put food in the fridge, add the option to store the data on the server ^^

Good luck on the project 😉

---

<div class="post-metadata">

**Author:** ![DimitriGilbert](https://forum.yunohost.org/user_avatar/forum.yunohost.org/dimitrigilbert/32/12435_2.png) [@DimitriGilbert](https://forum.yunohost.org/u/DimitriGilbert)\
**Post date:** [July 28, 2025, 8:41pm UTC](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873/21 "2025-07-28T20:41:07Z")

</div>

thx 😃

I really wanted to keep it client only for many (privacy ^^ mostly privacy) reasons but I will try to wip up something in a docker compose stack at some point that will use other ongoing work on litechat for easy config distribution (you can always open the code if your curious, it is not buried far away ^^)  
I could probably add a way to get the config from a remote json file, but that means it will have to be secured somehow (if your server endpoint is behind logins, it’s ok, I will add the possibility for http basic auth also, but it is a bit shaky at best ^^) as a stop gap if you are interested.  
It would be friday/saturday i think ('tis when I’m maintaing litechat 🙂 )

[Next page](https://forum.yunohost.org/t/litechat-local-first-ai-chat/37873.md?page=2)
