Repolode
Hyk260

Hyk260/PureChat

A Vue 3 and Electron chat app built on Tencent IM SDK, with multi-model AI chat (OpenAI, Ollama, DeepSeek) and a legacy repo superseded by PureChatNext.

Open-source alternative to:ChatGPT

Stars
545
Forks
81
Open issues
19
Last commit
2 months ago

What is it?

PureChat is a chat application that combines instant messaging with AI chat features. Its conversations run on the Tencent IM instant messaging SDK, and the AI side supports multiple model providers including OpenAI, Ollama and DeepSeek, with streaming output, deep thinking mode, web search and custom preset prompts.

The client is built with Vue 3 and Vite 6, using Element Plus, Tailwind CSS and wangEditor. It renders Markdown with code highlighting and link detection, can generate screenshots of chat history for one-click copying, and switches between light and dark themes based on the system setting. A desktop build packaged with Electron is available for macOS (.dmg) and Windows (.exe), and the project can be deployed to Vercel.

This repository is the older Vue/Electron version. The author maintains the newer PureChatNext project for new deployments and feature work.

Key features

  • 01Chat sessions built on the Tencent IM instant messaging SDK
  • 02Multi-model AI support for OpenAI, Ollama, DeepSeek and others
  • 03Streaming output, deep thinking, web search and custom preset prompts
  • 04Markdown rendering with code highlighting and link detection
  • 05Chat history screenshots with one-click copy
  • 06Automatic light and dark themes; Electron desktop builds for macOS and Windows

Use cases

  • Building an AI-enhanced chat client on top of an IM SDK
  • Running a self-hosted chat front end against local Ollama models
  • Studying a Vue 3 and Vite chat app that integrates multiple LLM providers

Quick start

  1. 1

    Clone the repository

    git clone https://github.com/Hyk260/PureChat.git
  2. 2

    Install dependencies (requires Node.js 18.20+)

    pnpm install
  3. 3

    Start the dev server

    pnpm dev

Things to know

  • This is the legacy version; the maintained project is PureChatNext.
  • Running it requires configuring Tencent IM SDK AppID and other environment variables, such as VITE_IM_SDK_APPID and VITE_SERVICE_BASE_URL.

In collections

Topics

FAQ

What is PureChat?
A Vue 3 and Electron chat app built on Tencent IM SDK, with multi-model AI chat (OpenAI, Ollama, DeepSeek) and a legacy repo superseded by PureChatNext. PureChat is a chat application that combines instant messaging with AI chat features. Its conversations run on the Tencent IM instant messaging SDK, and the AI side supports multiple model providers including OpenAI, Ollama and DeepSeek, with streaming output, deep thinking mode, web search and custom preset prompts.
Is PureChat free to use? What license does it have?
PureChat is open source under the MIT license. Check the license terms before using it in commercial products.
Is PureChat still maintained?
Updated within 6 months. The last commit to PureChat was on Sep 17, 2026.
What can I use PureChat for?
Building an AI-enhanced chat client on top of an IM SDK Running a self-hosted chat front end against local Ollama models Studying a Vue 3 and Vite chat app that integrates multiple LLM providers
How do I install PureChat?
Clone the repository: git clone https://github.com/Hyk260/PureChat.git Install dependencies (requires Node.js 18.20+): pnpm install Start the dev server: pnpm dev
Where can I get PureChat?
The source code and installation instructions are on GitHub: https://github.com/Hyk260/PureChat

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects