Hysen Labs
Open-source project
bingryan/WeChatAI avatar
bingryan

WeChatAI

All in One AI Chat Tool( GPT-4 / GPT-3.5 /OpenAI API/Azure OpenAI/Prompt Template Engine)

100 stars14 forksRustMIT
01
DEEP OPEN-SOURCE ANALYSIS

WeChatAI: an all-in-one AI chat desktop tool

A desktop chat tool built with Tauri, Vue.js, and Tailwind CSS that supports GPT-4, GPT-3.5, the OpenAI API, Azure OpenAI, and a prompt template engine.

02
DEEP OPEN-SOURCE ANALYSIS

What the tool supports

WeChatAI is an all-in-one AI chat tool supporting GPT-4, GPT-3.5, the OpenAI API, Azure OpenAI, and a prompt template engine. The README includes demo videos. It explains that the first letter of a parameter in the prompt template is the command parameter, giving a template with a format argument and a corresponding command flag as an example. The primary language is Rust, and the project is MIT licensed.

03
DEEP OPEN-SOURCE ANALYSIS

Features and settings

The feature list is presented as checkable items. There is Chinese and English language support, light and dark themes, a custom avatar that accepts any image format including gif, and customizable chat backgrounds for both user and assistant messages. User content supports markdown and raw with raw as default, while assistant content supports markdown by default. Global chat configuration is read as the default for new chats, context size defaults to 2, and a shortcut opens the tool with CommandOrControl plus Shift plus K. Autolaunch is off by default, the avatar can be dragged to adjust its position, and chat logs can be exported.

04
DEEP OPEN-SOURCE ANALYSIS

Stack and prompt templates

The README credits the technology stack. Tauri builds smaller, faster, and more secure desktop applications with a web frontend. Vue.js is the framework for the web UI, and Tailwind CSS is the utility-first CSS framework for rapid UI development. arco UI, highlight.js, markdown-it, and Axum round out the list. The prompt template engine is the highlight of the tool, marking command parameters so prompts can be reused with variable arguments, which is what makes the all-in-one positioning work across several model providers.

05
DEEP OPEN-SOURCE ANALYSIS

Editorial conclusion

The README presents the tool as all-in-one: several model APIs, a Chinese and English interface, theme options, and reusable prompt templates. The stack is Tauri with a Vue.js and Tailwind frontend.

06
DEEP OPEN-SOURCE ANALYSIS

Official sources

07
Community notes

Community notes