Metadata-Version: 2.4
Name: loop-chat
Version: 2026.6.14.5
Summary: LOOP Chat
Author-email: Timothy Jaeryang Baek <tim@dfveloper.com>
License:                                  Apache License
                                   Version 2.0, January 2004
                                http://www.apache.org/licenses/
        
           TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
        
           1. Definitions.
        
              "License" shall mean the terms and conditions for use, reproduction,
              and distribution as defined by Sections 1 through 9 of this document.
        
              "Licensor" shall mean the copyright owner or entity authorized by
              the copyright owner that is granting the License.
        
              "Legal Entity" shall mean the union of the acting entity and all
              other entities that control, are controlled by, or are under common
              control with that entity. For the purposes of this definition,
              "control" means (i) the power, direct or indirect, to cause the
              direction or management of such entity, whether by contract or
              otherwise, or (ii) ownership of fifty percent (50%) or more of the
              outstanding shares, or (iii) beneficial ownership of such entity.
        
              "You" (or "Your") shall mean an individual or Legal Entity
              exercising permissions granted by this License.
        
              "Source" form shall mean the preferred form for making modifications,
              including but not limited to software source code, documentation
              source, and configuration files.
        
              "Object" form shall mean any form resulting from mechanical
              transformation or translation of a Source form, including but
              not limited to compiled object code, generated documentation,
              and conversions to other media types.
        
              "Work" shall mean the work of authorship, whether in Source or
              Object form, made available under the License, as indicated by a
              copyright notice that is included in or attached to the work
              (an example is provided in the Appendix below).
        
              "Derivative Works" shall mean any work, whether in Source or Object
              form, that is based on (or derived from) the Work and for which the
              editorial revisions, annotations, elaborations, or other modifications
              represent, as a whole, an original work of authorship. For the purposes
              of this License, Derivative Works shall not include works that remain
              separable from, or merely link (or bind by name) to the interfaces of,
              the Work and Derivative Works thereof.
        
              "Contribution" shall mean any work of authorship, including
              the original version of the Work and any modifications or additions
              to that Work or Derivative Works thereof, that is intentionally
              submitted to Licensor for inclusion in the Work by the copyright owner
              or by an individual or Legal Entity authorized to submit on behalf of
              the copyright owner. For the purposes of this definition, "submitted"
              means any form of electronic, verbal, or written communication sent
              to the Licensor or its representatives, including but not limited to
              communication on electronic mailing lists, source code control systems,
              and issue tracking systems that are managed by, or on behalf of, the
              Licensor for the purpose of discussing and improving the Work, but
              excluding communication that is conspicuously marked or otherwise
              designated in writing by the copyright owner as "Not a Contribution."
        
              "Contributor" shall mean Licensor and any individual or Legal Entity
              on behalf of whom a Contribution has been received by Licensor and
              subsequently incorporated within the Work.
        
           2. Grant of Copyright License. Subject to the terms and conditions of
              this License, each Contributor hereby grants to You a perpetual,
              worldwide, non-exclusive, no-charge, royalty-free, irrevocable
              copyright license to reproduce, prepare Derivative Works of,
              publicly display, publicly perform, sublicense, and distribute the
              Work and such Derivative Works in Source or Object form.
        
           3. Grant of Patent License. Subject to the terms and conditions of
              this License, each Contributor hereby grants to You a perpetual,
              worldwide, non-exclusive, no-charge, royalty-free, irrevocable
              (except as stated in this section) patent license to make, have made,
              use, offer to sell, sell, import, and otherwise transfer the Work,
              where such license applies only to those patent claims licensable
              by such Contributor that are necessarily infringed by their
              Contribution(s) alone or by combination of their Contribution(s)
              with the Work to which such Contribution(s) was submitted. If You
              institute patent litigation against any entity (including a
              cross-claim or counterclaim in a lawsuit) alleging that the Work
              or a Contribution incorporated within the Work constitutes direct
              or contributory patent infringement, then any patent licenses
              granted to You under this License for that Work shall terminate
              as of the date such litigation is filed.
        
           4. Redistribution. You may reproduce and distribute copies of the
              Work or Derivative Works thereof in any medium, with or without
              modifications, and in Source or Object form, provided that You
              meet the following conditions:
        
              (a) You must give any other recipients of the Work or
                  Derivative Works a copy of this License; and
        
              (b) You must cause any modified files to carry prominent notices
                  stating that You changed the files; and
        
              (c) You must retain, in the Source form of any Derivative Works
                  that You distribute, all copyright, patent, trademark, and
                  attribution notices from the Source form of the Work,
                  excluding those notices that do not pertain to any part of
                  the Derivative Works; and
        
              (d) If the Work includes a "NOTICE" text file as part of its
                  distribution, then any Derivative Works that You distribute must
                  include a readable copy of the attribution notices contained
                  within such NOTICE file, excluding those notices that do not
                  pertain to any part of the Derivative Works, in at least one
                  of the following places: within a NOTICE text file distributed
                  as part of the Derivative Works; within the Source form or
                  documentation, if provided along with the Derivative Works; or,
                  within a display generated by the Derivative Works, if and
                  wherever such third-party notices normally appear. The contents
                  of the NOTICE file are for informational purposes only and
                  do not modify the License. You may add Your own attribution
                  notices within Derivative Works that You distribute, alongside
                  or as an addendum to the NOTICE text from the Work, provided
                  that such additional attribution notices cannot be construed
                  as modifying the License.
        
              You may add Your own copyright statement to Your modifications and
              may provide additional or different license terms and conditions
              for use, reproduction, or distribution of Your modifications, or
              for any such Derivative Works as a whole, provided Your use,
              reproduction, and distribution of the Work otherwise complies with
              the conditions stated in this License.
        
           5. Submission of Contributions. Unless You explicitly state otherwise,
              any Contribution intentionally submitted for inclusion in the Work
              by You to the Licensor shall be under the terms and conditions of
              this License, without any additional terms or conditions.
              Notwithstanding the above, nothing herein shall supersede or modify
              the terms of any separate license agreement you may have executed
              with Licensor regarding such Contributions.
        
           6. Trademarks. This License does not grant permission to use the trade
              names, trademarks, service marks, or product names of the Licensor,
              except as required for reasonable and customary use in describing the
              origin of the Work and reproducing the content of the NOTICE file.
        
           7. Disclaimer of Warranty. Unless required by applicable law or
              agreed to in writing, Licensor provides the Work (and each
              Contributor provides its Contributions) on an "AS IS" BASIS,
              WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
              implied, including, without limitation, any warranties or conditions
              of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
              PARTICULAR PURPOSE. You are solely responsible for determining the
              appropriateness of using or redistributing the Work and assume any
              risks associated with Your exercise of permissions under this License.
        
           8. Limitation of Liability. In no event and under no legal theory,
              whether in tort (including negligence), contract, or otherwise,
              unless required by applicable law (such as deliberate and grossly
              negligent acts) or agreed to in writing, shall any Contributor be
              liable to You for damages, including any direct, indirect, special,
              incidental, or consequential damages of any character arising as a
              result of this License or out of the use or inability to use the
              Work (including but not limited to damages for loss of goodwill,
              work stoppage, computer failure or malfunction, or any and all
              other commercial damages or losses), even if such Contributor
              has been advised of the possibility of such damages.
        
           9. Accepting Warranty or Additional Liability. While redistributing
              the Work or Derivative Works thereof, You may choose to offer,
              and charge a fee for, acceptance of support, warranty, indemnity,
              or other liability obligations and/or rights consistent with this
              License. However, in accepting such obligations, You may act only
              on Your own behalf and on Your sole responsibility, not on behalf
              of any other Contributor, and only if You agree to indemnify,
              defend, and hold each Contributor harmless for any liability
              incurred by, or claims asserted against, such Contributor by reason
              of your accepting any such warranty or additional liability.
        
           END OF TERMS AND CONDITIONS
        
           APPENDIX: How to apply the Apache License to your work.
        
              To apply the Apache License to your work, attach the following
              boilerplate notice, with the fields enclosed by brackets "[]"
              replaced with your own identifying information. (Don't include
              the brackets!)  The text should be enclosed in the appropriate
              comment syntax for the file format. We also recommend that a
              file or class name and description of purpose be included on the
              same "printed page" as the copyright notice for easier
              identification within third-party archives.
        
           Copyright [yyyy] [name of copyright owner]
        
           Licensed under the Apache License, Version 2.0 (the "License");
           you may not use this file except in compliance with the License.
           You may obtain a copy of the License at
        
               http://www.apache.org/licenses/LICENSE-2.0
        
           Unless required by applicable law or agreed to in writing, software
           distributed under the License is distributed on an "AS IS" BASIS,
           WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
           See the License for the specific language governing permissions and
           limitations under the License.
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Multimedia
Requires-Python: <3.13.0a1,>=3.11
Requires-Dist: accelerate
Requires-Dist: aiocache
Requires-Dist: aiofiles
Requires-Dist: aiohttp==3.11.11
Requires-Dist: alembic==1.14.0
Requires-Dist: anthropic
Requires-Dist: apscheduler==3.10.4
Requires-Dist: argon2-cffi==23.1.0
Requires-Dist: asgiref==3.8.1
Requires-Dist: async-timeout
Requires-Dist: authlib==1.4.1
Requires-Dist: azure-ai-documentintelligence==1.0.0
Requires-Dist: azure-identity==1.20.0
Requires-Dist: azure-storage-blob==12.24.1
Requires-Dist: bcrypt==4.3.0
Requires-Dist: black==25.1.0
Requires-Dist: boto3==1.35.53
Requires-Dist: chromadb==0.6.3
Requires-Dist: colbert-ai==0.2.21
Requires-Dist: docker~=7.1.0
Requires-Dist: docx2txt==0.8
Requires-Dist: duckduckgo-search~=8.0.0
Requires-Dist: einops==0.8.1
Requires-Dist: elasticsearch==9.0.1
Requires-Dist: extract-msg
Requires-Dist: fake-useragent==2.1.0
Requires-Dist: fastapi==0.115.7
Requires-Dist: faster-whisper==1.1.1
Requires-Dist: firecrawl-py==1.12.0
Requires-Dist: fpdf2==2.8.2
Requires-Dist: ftfy==6.2.3
Requires-Dist: gcp-storage-emulator>=2024.8.3
Requires-Dist: google-api-python-client
Requires-Dist: google-auth-httplib2
Requires-Dist: google-auth-oauthlib
Requires-Dist: google-cloud-storage==2.19.0
Requires-Dist: google-generativeai==0.8.4
Requires-Dist: googleapis-common-protos==1.63.2
Requires-Dist: langchain-community==0.3.23
Requires-Dist: langchain==0.3.24
Requires-Dist: langfuse==2.44.0
Requires-Dist: ldap3==2.9.1
Requires-Dist: loguru==0.7.3
Requires-Dist: markdown==3.7
Requires-Dist: moto[s3]>=5.0.26
Requires-Dist: nltk==3.9.1
Requires-Dist: onnxruntime==1.20.1
Requires-Dist: openai
Requires-Dist: opencv-python-headless==4.11.0.86
Requires-Dist: openpyxl==3.1.5
Requires-Dist: opensearch-py==2.8.0
Requires-Dist: pandas==2.2.3
Requires-Dist: passlib[bcrypt]==1.7.4
Requires-Dist: peewee-migrate==1.12.2
Requires-Dist: peewee==3.17.9
Requires-Dist: pgvector==0.4.0
Requires-Dist: pillow==11.1.0
Requires-Dist: pinecone==6.0.2
Requires-Dist: playwright==1.49.1
Requires-Dist: psutil
Requires-Dist: psycopg2-binary==2.9.9
Requires-Dist: pydantic==2.10.6
Requires-Dist: pydub
Requires-Dist: pyjwt[crypto]==2.10.1
Requires-Dist: pymdown-extensions==10.14.2
Requires-Dist: pymilvus==2.5.0
Requires-Dist: pymongo
Requires-Dist: pymysql==1.1.1
Requires-Dist: pypandoc==1.15
Requires-Dist: pypdf==4.3.1
Requires-Dist: pytest-docker~=3.1.1
Requires-Dist: pytest~=8.3.2
Requires-Dist: python-jose==3.4.0
Requires-Dist: python-multipart==0.0.20
Requires-Dist: python-pptx==1.0.0
Requires-Dist: python-socketio==5.13.0
Requires-Dist: pytube==15.0.0
Requires-Dist: pyxlsb==1.0.10
Requires-Dist: qdrant-client~=1.12.0
Requires-Dist: rank-bm25==0.2.2
Requires-Dist: rapidocr-onnxruntime==1.4.4
Requires-Dist: redis
Requires-Dist: requests==2.32.3
Requires-Dist: restrictedpython==8.0
Requires-Dist: sentence-transformers==4.1.0
Requires-Dist: sentencepiece
Requires-Dist: soundfile==0.13.1
Requires-Dist: sqlalchemy==2.0.38
Requires-Dist: tencentcloud-sdk-python==3.0.1336
Requires-Dist: tiktoken
Requires-Dist: transformers
Requires-Dist: unstructured==0.16.17
Requires-Dist: uvicorn[standard]==0.34.0
Requires-Dist: validators==0.34.0
Requires-Dist: xlrd==2.0.1
Requires-Dist: youtube-transcript-api==1.0.3
Description-Content-Type: text/markdown

# LOOP Chat 👋

![GitHub stars](https://img.shields.io/github/stars/DFveloper/loop-chat?style=social)
![GitHub forks](https://img.shields.io/github/forks/DFveloper/loop-chat?style=social)
![GitHub watchers](https://img.shields.io/github/watchers/DFveloper/loop-chat?style=social)
![GitHub repo size](https://img.shields.io/github/repo-size/DFveloper/loop-chat)
![GitHub language count](https://img.shields.io/github/languages/count/DFveloper/loop-chat)
![GitHub top language](https://img.shields.io/github/languages/top/DFveloper/loop-chat)
![GitHub last commit](https://img.shields.io/github/last-commit/DFveloper/loop-chat?color=red)
[![Discord](https://img.shields.io/badge/Discord-Open_WebUI-blue?logo=discord&logoColor=white)](https://discord.gg/5rJgQTnV4s)
[![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/tjbck)

**LOOP Chat is an [extensible](https://docs.chat.dfveloper.com/features/plugin/), feature-rich, and user-friendly self-hosted AI platform designed to operate entirely offline.** It supports various LLM runners like **Ollama** and **OpenAI-compatible APIs**, with **built-in inference engine** for RAG, making it a **powerful AI deployment solution**.

![LOOP Chat Demo](./demo.gif)

For more information, be sure to check out our [LOOP Chat Documentation](https://docs.chat.dfveloper.com/).

## Key Features of LOOP Chat ⭐

- 🚀 **Effortless Setup**: Install seamlessly using Docker or Kubernetes (kubectl, kustomize or helm) for a hassle-free experience with support for both `:ollama` and `:cuda` tagged images.

- 🤝 **Ollama/OpenAI API Integration**: Effortlessly integrate OpenAI-compatible APIs for versatile conversations alongside Ollama models. Customize the OpenAI API URL to link with **LMStudio, GroqCloud, Mistral, OpenRouter, AIKAR Engine, and more**.

- 🛡️ **Granular Permissions and User Groups**: By allowing administrators to create detailed user roles and permissions, we ensure a secure user environment. This granularity not only enhances security but also allows for customized user experiences, fostering a sense of ownership and responsibility amongst users.

- 📱 **Responsive Design**: Enjoy a seamless experience across Desktop PC, Laptop, and Mobile devices.

- 📱 **Progressive Web App (PWA) for Mobile**: Enjoy a native app-like experience on your mobile device with our PWA, providing offline access on localhost and a seamless user interface.

- ✒️🔢 **Full Markdown and LaTeX Support**: Elevate your LLM experience with comprehensive Markdown and LaTeX capabilities for enriched interaction.

- 🎤📹 **Hands-Free Voice/Video Call**: Experience seamless communication with integrated hands-free voice and video call features, allowing for a more dynamic and interactive chat environment.

- 🛠️ **Model Builder**: Easily create Ollama models via the Web UI. Create and add custom characters/agents, customize chat elements, and import models effortlessly through [LOOP Chat Community](https://chat.dfveloper.com/) integration.

- 🐍 **Native Python Function Calling Tool**: Enhance your LLMs with built-in code editor support in the tools workspace. Bring Your Own Function (BYOF) by simply adding your pure Python functions, enabling seamless integration with LLMs.

- 📚 **Local RAG Integration**: Dive into the future of chat interactions with groundbreaking Retrieval Augmented Generation (RAG) support. This feature seamlessly integrates document interactions into your chat experience. You can load documents directly into the chat or add files to your document library, effortlessly accessing them using the `#` command before a query.

- 🔍 **Web Search for RAG**: Perform web searches using providers like `SearXNG`, `Google PSE`, `Brave Search`, `serpstack`, `serper`, `Serply`, `DuckDuckGo`, `TavilySearch`, `SearchApi` and `Bing` and inject the results directly into your chat experience.

- 🌐 **Web Browsing Capability**: Seamlessly integrate websites into your chat experience using the `#` command followed by a URL. This feature allows you to incorporate web content directly into your conversations, enhancing the richness and depth of your interactions.

- 🎨 **Image Generation Integration**: Seamlessly incorporate image generation capabilities using options such as AUTOMATIC1111 API or ComfyUI (local), and OpenAI's DALL-E (external), enriching your chat experience with dynamic visual content.

- ⚙️ **Many Models Conversations**: Effortlessly engage with various models simultaneously, harnessing their unique strengths for optimal responses. Enhance your experience by leveraging a diverse set of models in parallel.

- 🔐 **Role-Based Access Control (RBAC)**: Ensure secure access with restricted permissions; only authorized individuals can access your Ollama, and exclusive model creation/pulling rights are reserved for administrators.

- 🌐🌍 **Multilingual Support**: Experience LOOP Chat in your preferred language with our internationalization (i18n) support. Join us in expanding our supported languages! We're actively seeking contributors!

- 🧩 **Pipelines, LOOP Chat Plugin Support**: Seamlessly integrate custom logic and Python libraries into LOOP Chat using [Pipelines Plugin Framework](https://github.com/DFveloper/pipelines). Launch your Pipelines instance, set the OpenAI URL to the Pipelines URL, and explore endless possibilities. [Examples](https://github.com/DFveloper/pipelines/tree/main/examples) include **Function Calling**, User **Rate Limiting** to control access, **Usage Monitoring** with tools like Langfuse, **Live Translation with LibreTranslate** for multilingual support, **Toxic Message Filtering** and much more.

- 🌟 **Continuous Updates**: We are committed to improving LOOP Chat with regular updates, fixes, and new features.

Want to learn more about LOOP Chat's features? Check out our [LOOP Chat documentation](https://docs.chat.dfveloper.com/features) for a comprehensive overview!

## Sponsors 🙌

#### Emerald

<table>
  <tr>
    <td>
      <a href="https://n8n.io/" target="_blank">
        <img src="https://docs.chat.dfveloper.com/sponsors/logos/n8n.png" alt="n8n" style="width: 8rem; height: 8rem; border-radius: .75rem;" />
      </a>
    </td>
    <td>
      Does your interface have a backend yet?<br>Try <a href="https://n8n.io/">n8n</a>
    </td>
  </tr>
</table>

---

We are incredibly grateful for the generous support of our sponsors. Their contributions help us to maintain and improve our project, ensuring we can continue to deliver quality work to our community. Thank you!

## How to Install 🚀

### Installation via Python pip 🐍

LOOP Chat can be installed using pip, the Python package installer. Before proceeding, ensure you're using **Python 3.11** to avoid compatibility issues.

1. **Install LOOP Chat**:
   Open your terminal and run the following command to install LOOP Chat:

   ```bash
   pip install loop-chat
   ```

2. **Running LOOP Chat**:
   After installation, you can start LOOP Chat by executing:

   ```bash
   loop-chat serve
   ```

This will start the LOOP Chat server, which you can access at [http://localhost:8080](http://localhost:8080)

### Quick Start with Docker 🐳

> [!NOTE]  
> Please note that for certain Docker environments, additional configurations might be needed. If you encounter any connection issues, our detailed guide on [LOOP Chat Documentation](https://docs.chat.dfveloper.com/) is ready to assist you.

> [!WARNING]
> When using Docker to install LOOP Chat, make sure to include the `-v loop-chat:/app/backend/data` in your Docker command. This step is crucial as it ensures your database is properly mounted and prevents any loss of data.

> [!TIP]  
> If you wish to utilize LOOP Chat with Ollama included or CUDA acceleration, we recommend utilizing our official images tagged with either `:cuda` or `:ollama`. To enable CUDA, you must install the [Nvidia CUDA container toolkit](https://docs.nvidia.com/dgx/nvidia-container-runtime-upgrade/) on your Linux/WSL system.

### Installation with Default Configuration

- **If Ollama is on your computer**, use this command:

  ```bash
  docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v loop-chat:/app/backend/data --name loop-chat --restart always ghcr.io/DFveloper/loop-chat:main
  ```

- **If Ollama is on a Different Server**, use this command:

  To connect to Ollama on another server, change the `OLLAMA_BASE_URL` to the server's URL:

  ```bash
  docker run -d -p 3000:8080 -e OLLAMA_BASE_URL=https://example.com -v loop-chat:/app/backend/data --name loop-chat --restart always ghcr.io/DFveloper/loop-chat:main
  ```

- **To run LOOP Chat with Nvidia GPU support**, use this command:

  ```bash
  docker run -d -p 3000:8080 --gpus all --add-host=host.docker.internal:host-gateway -v loop-chat:/app/backend/data --name loop-chat --restart always ghcr.io/DFveloper/loop-chat:cuda
  ```

### Installation for OpenAI API Usage Only

- **If you're only using OpenAI API**, use this command:

  ```bash
  docker run -d -p 3000:8080 -e OPENAI_API_KEY=your_secret_key -v loop-chat:/app/backend/data --name loop-chat --restart always ghcr.io/DFveloper/loop-chat:main
  ```

### Installing LOOP Chat with Bundled Ollama Support

This installation method uses a single container image that bundles LOOP Chat with Ollama, allowing for a streamlined setup via a single command. Choose the appropriate command based on your hardware setup:

- **With GPU Support**:
  Utilize GPU resources by running the following command:

  ```bash
  docker run -d -p 3000:8080 --gpus=all -v ollama:/root/.ollama -v loop-chat:/app/backend/data --name loop-chat --restart always ghcr.io/DFveloper/loop-chat:ollama
  ```

- **For CPU Only**:
  If you're not using a GPU, use this command instead:

  ```bash
  docker run -d -p 3000:8080 -v ollama:/root/.ollama -v loop-chat:/app/backend/data --name loop-chat --restart always ghcr.io/DFveloper/loop-chat:ollama
  ```

Both commands facilitate a built-in, hassle-free installation of both LOOP Chat and Ollama, ensuring that you can get everything up and running swiftly.

After installation, you can access LOOP Chat at [http://localhost:3000](http://localhost:3000). Enjoy! 😄

### Other Installation Methods

We offer various installation alternatives, including non-Docker native installation methods, Docker Compose, Kustomize, and Helm. Visit our [LOOP Chat Documentation](https://docs.chat.dfveloper.com/getting-started/) or join our [Discord community](https://discord.gg/5rJgQTnV4s) for comprehensive guidance.

### Troubleshooting

Encountering connection issues? Our [LOOP Chat Documentation](https://docs.chat.dfveloper.com/troubleshooting/) has got you covered. For further assistance and to join our vibrant community, visit the [LOOP Chat Discord](https://discord.gg/5rJgQTnV4s).

#### LOOP Chat: Server Connection Error

If you're experiencing connection issues, it’s often due to the WebUI docker container not being able to reach the Ollama server at 127.0.0.1:11434 (host.docker.internal:11434) inside the container . Use the `--network=host` flag in your docker command to resolve this. Note that the port changes from 3000 to 8080, resulting in the link: `http://localhost:8080`.

**Example Docker Command**:

```bash
docker run -d --network=host -v loop-chat:/app/backend/data -e OLLAMA_BASE_URL=http://127.0.0.1:11434 --name loop-chat --restart always ghcr.io/DFveloper/loop-chat:main
```

### Keeping Your Docker Installation Up-to-Date

In case you want to update your local Docker installation to the latest version, you can do it with [Watchtower](https://containrrr.dev/watchtower/):

```bash
docker run --rm --volume /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once loop-chat
```

In the last part of the command, replace `loop-chat` with your container name if it is different.

Check our Updating Guide available in our [LOOP Chat Documentation](https://docs.chat.dfveloper.com/getting-started/updating).

### Using the Dev Branch 🌙

> [!WARNING]
> The `:dev` branch contains the latest unstable features and changes. Use it at your own risk as it may have bugs or incomplete features.

If you want to try out the latest bleeding-edge features and are okay with occasional instability, you can use the `:dev` tag like this:

```bash
docker run -d -p 3000:8080 -v loop-chat:/app/backend/data --name loop-chat --add-host=host.docker.internal:host-gateway --restart always ghcr.io/DFveloper/loop-chat:dev
```

### Offline Mode

If you are running LOOP Chat in an offline environment, you can set the `HF_HUB_OFFLINE` environment variable to `1` to prevent attempts to download models from the internet.

```bash
export HF_HUB_OFFLINE=1
```

## What's Next? 🌟

Discover upcoming features on our roadmap in the [LOOP Chat Documentation](https://docs.chat.dfveloper.com/roadmap/).

## License 📜

This project is licensed under the [LOOP Chat License](LICENSE), a revised BSD-3-Clause license. You receive all the same rights as the classic BSD-3 license: you can use, modify, and distribute the software, including in proprietary and commercial products, with minimal restrictions. The only additional requirement is to preserve the "LOOP Chat" branding, as detailed in the LICENSE file. For full terms, see the [LICENSE](LICENSE) document. 📄

## Support 💬

If you have any questions, suggestions, or need assistance, please open an issue or join our
[LOOP Chat Discord community](https://discord.gg/5rJgQTnV4s) to connect with us! 🤝

## Star History

<a href="https://star-history.com/#DFveloper/loop-chat&Date">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=DFveloper/loop-chat&type=Date&theme=dark" />
    <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=DFveloper/loop-chat&type=Date" />
    <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=DFveloper/loop-chat&type=Date" />
  </picture>
</a>

---

Created by [DFveloper](https://github.com/DFveloper) - Let's make LOOP Chat even more amazing together! 💪
