Skip to content

bingryan/WeChatAI

Repository files navigation

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

wechat.mp4
WeChatAI-Prompt.mp4

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

Screenshot

Supported Service

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:

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