# deep-chat **Repository Path**: dremtri/deep-chat ## Basic Information - **Project Name**: deep-chat - **Description**: Fully customizable AI chatbot component for your website - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-11-04 - **Last Updated**: 2025-11-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
![Deep Chat](https://github.com/user-attachments/assets/1e60ad6f-7825-40d7-8b1a-f7bb52e6fbff) Deep Chat is a fully customizable AI chat component that can be injected into your website with just _one line of code_. Whether you want to create a chatbot that leverages popular APIs such as ChatGPT or connect to your own custom service, this component can do it all! Explore [deepchat.dev](https://deepchat.dev/) to view all of the available features, how to use them, examples and more! ### :rocket: Main Features - Connect to any API - Avatars - Names - Send/Receive files - Capture photos via webcam - Record audio via microphone - Speech To Speech communication - Speech To Text for message input - Text To Speech to hear message responses - Support for MarkDown and custom elements to help structure text and render code - Introduction panel and dynamic modals to help describe functionality for your users - Connect to more than 20 popular AI APIs such as OpenAI or Claude directly from the browser - Communicate with Speech to Speech models - Support for all major ui frameworks/libraries - Host a model on the browser - Focus mode to display only the latest messages - Everything is customizable! ### :tada: Latest Updates Deep Chat version `2.3.0` brings a ton of new features into the Deep Chat ecosystem: - [`directConnection`](https://deepchat.dev/docs/directConnection) now supports more than 20 AI APIs! - [`htmlWrappers`](https://deepchat.dev/docs/messages/#browserStorage) can now be used to standardize custom styling for all messages. - You can now use custom plugins for [remarkable](https://deepchat.dev/docs/messages/styles#remarkable) such as [Katex](https://katex.org/). - Change the loading bubble style via the `toggle` function in [`displayLoadingBubble`](https://deepchat.dev/docs/messages/#displayLoadingBubble). - See [release notes](https://github.com/OvidijusParsiunas/deep-chat/releases/tag/2.3.0) for more!

version 2.3.0

`2.2.2` update: - [`browserStorage`](https://deepchat.dev/docs/messages/#browserStorage) allows you to store messages locally on your browser without worrying about a backend message integration. - Button [tooltips](https://deepchat.dev/docs/styles/buttons#Tooltip). - Place your streamed messages inside custom [`htmlWrappers`](https://deepchat.dev/docs/messages/HTML#htmlWrappers). - See [release notes](https://github.com/OvidijusParsiunas/deep-chat/releases/tag/2.2.2) for more!

version 2.2.2

`2.2.0` update: - [OpenAI Realtime API](https://deepchat.dev/docs/directConnection/OpenAI/OpenAIRealtime) for Speech to Speech communication - [Focus mode](https://deepchat.dev/docs/modes#focusMode) to only display the latest message exchanges and provide a modern AI Chatbot experience - [Custom buttons](https://deepchat.dev/docs/styles/buttons#customButtons) - A [Response](https://deepchat.dev/docs/connect#Response) can now have multiple messages - Ability to connect to [Readable Stream APIs](https://deepchat.dev/docs/connect#Stream) - See [release notes](https://github.com/OvidijusParsiunas/deep-chat/releases/tag/2.2.0) for more!

version 2.2.0

### :computer: Getting started ``` npm install deep-chat ``` If using React, install the following instead: ``` npm install deep-chat-react ``` Simply add the following to your markup: ``` ``` The exact syntax for the above will vary depending on the framework of your choice ([see here](https://deepchat.dev/examples/frameworks)). ### :zap: Connect ![Connect](./assets/readme/connect.png) Connecting to a service is simple, all you need to do is define its API details using the [`request`](https://deepchat.dev/docs/connect#request) property: ``` ``` The service will need to be able to handle request and response formats used in Deep Chat. Please read the [Connect](https://deepchat.dev/docs/connect) section in documentation and check out the [server template](https://deepchat.dev/examples/servers) examples. Alternatively, if you want to connect without changing the target service, use the [`interceptor`](https://deepchat.dev/docs/interceptors) properties to augment the transferred objects or the [`handler`](https://deepchat.dev/docs/connect#Handler) function to control the request code. ### :electric_plug: Direct connection ![Direct connection](./assets/readme/direct-connect.png) Connect to popular AI APIs directly from the browser via the use of the [`directConnection`](https://deepchat.dev/docs/directConnection/#directConnection) property: ``` ``` Please note that this approach should be used for local/prototyping/demo purposes ONLY as it exposes the API Key to the browser. When ready to go live, please switch to using the [`connect`](https://deepchat.dev/docs/connect#connect-1) property described above along with a [proxy service](https://github.com/OvidijusParsiunas/deep-chat/tree/main/example-servers). Currently supported direct API connections: [OpenAI](https://openai.com/blog/openai-api), [HuggingFace](https://huggingface.co/docs/api-inference/index), [Cohere](https://docs.cohere.com/docs), [Stability AI](https://stability.ai/), [Azure](https://learn.microsoft.com/en-gb/azure/cognitive-services/), [AssemblyAI](https://www.assemblyai.com/) ### :robot: Web model ![Web Model](https://github.com/OvidijusParsiunas/deep-chat/assets/18709577/83936e6f-d0c1-42b7-ab61-ac75d7803660) No servers, no connections, host an LLM model entirely on your browser. Simply add the [deep-chat-web-llm](https://deepchat.dev/examples/externalModules) module and define the [webModel](https://deepchat.dev/docs/webModel) property: ``` ``` ### :camera: :microphone: Camera and Microphone ![Capture](./assets/readme/capture.png) Use Deep Chat to capture photos with your webcam and record audio with the microphone. You can enable this using the [`camera`](https://deepchat.dev/docs/files#camera) and [`microphone`](https://deepchat.dev/docs/files#microphone) properties: ``` ``` ### :microphone: :sound: Speech https://github.com/OvidijusParsiunas/deep-chat/assets/18709577/e103a42e-b3a7-4449-b9db-73fed6d7876e Input text with your voice using Speech To Text capabilities and have the responses read out to you with Text To Speech. You can enable this functionality via the [`speechToText`](https://deepchat.dev/docs/speech#speechToText) and [`textToSpeech`](https://deepchat.dev/docs/speech#textToSpeech) properties. ``` ``` ### :beginner: Examples Check out live codepen examples for your [UI framework/library](https://deepchat.dev/examples/frameworks) of choice: | React | Vue 2 | Vue 3 | Svelte | SvelteKit | Angular | Solid | Next | Nuxt | VanillaJS | | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | | | | | |
| | | | | | Setting up your own server has never been easier with the following [server templates](https://deepchat.dev/examples/servers). From creating your own service to establishing proxies for other APIs such as OpenAI, everything has been documented with clear examples to get you up and running in seconds: | Express | Nest | Flask | Spring | Go | SvelteKit | Next | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | | | | | |
| | All examples are ready to be deployed on a hosting platform such as [Vercel](https://vercel.com/). ## :tv: Tutorials Demo videos are available on [YouTube](https://www.youtube.com/@ovi-il4rg/videos):

Videos

## :joystick: Playground Create, configure and use Deep Chat components without writing any code in the official [Playground](https://deepchat.dev/playground)!

Playground

:tada: Update - components can now be stretched to full screen dimensions using the new Expanded View:

Expanded View

## :heart: Contributions Open source is built by the community for the community. All contributions to this project are welcome!
Additionally, if you have any suggestions for enhancements, ideas on how to take the project further or have discovered a bug, do not hesitate to create a new issue ticket and we will look into it as soon as possible!