WeChatAI icon indicating copy to clipboard operation
WeChatAI copied to clipboard

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

image

WeChatAI

Create All in One personal AI chat assistant

macOS Windows Linux

English | 中文介绍

This project is not for reward and profit, only used for personal

https://user-images.githubusercontent.com/41174435/235090423-62082481-1565-4ef6-889e-79f3dceebdba.mp4

https://user-images.githubusercontent.com/41174435/237418023-d62da302-1ffe-4efd-ae25-63f036edc078.mp4

The first letter of the parameter in the prompt template is the command parameter:(template: {{{format}}}-> command: -f)

Screenshot

Supported Service

  • OpenAI
  • Azure OpenAI

For User

Install

Please visit Windows, Mac(M1, intel), Linux Download

Mac User

step1: Running Unsigned Applications on Mac

sudo spctl --master-disable

step2: xattr -cr /Applications/WeChatAI.app

Features and Setting

The left setting block serves as a global setting:

  • [x] Language: Chinese and English
  • [x] Theme : light and dark
  • [x] Custom avatar: Any image format (including gif)
  • [x] User chat background: Customize chat background color
  • [x] Assistant chat background: Customize chat background color
  • [x] User content format: supports markdown and raw (default), chat supports markdown format questioning
  • [x] Assistant content format: supports markdown (default) and raw, recommended to use markdown for easy reading
  • [x] Global Chat configuration: New chat configuration will be read from the global configuration as the default configuration -> generate Open AI Key
    • [x] ContextSize: Context chat information, default to 2, both of which as the output basis for chatgpt
  • [x] System layer settings
    • [x] Shortcut: CommandOrControl+Shift+K
    • [x] autolaunch: default not to start, requires manual activation
  • [x] Page Operations
    • [x] Drag the avatar to adjust its position
    • [x] Click on the avatar to edit and delete
    • [x] Click "+" to create a new chat window, and the default configuration information will be read from the global configuration
  • [ ] integrated model
    • [x] chatgpt
    • [ ] ...
  • [x] export chat log
  • [ ] more...

For Developers

Development

# install dependencies
pnpm install

# web
pnpm dev

# desktop
pnpm tauri dev

Build(Production)

pnpm install
pnpm build
pnpm tauri build

Any form of PR is welcome (documentation, UI, code)

Technology Stack and Credits

  • Tauri: Build smaller, faster, and more secure desktop applications with a web frontend.
  • Vue.js: An approachable, performant and versatile framework for building web user interfaces.
  • tailwindcss: A utility-first CSS framework for rapid UI development.
  • arco UI : arco UI
  • highlight.js: Code highlight
  • markdown-it: markdown
  • Axum: rust web framework for building local servers
  • chatgpt-web: A front-end implementation of chatgpt, which greatly inspires the display of chat content
  • chatgpt_rs: A chatgpt client implemented with rust, because there is a BUG in my development, and modify the code crates/chatgpt_rs