WeChatAI
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
For User
Install
Please visit Windows, Mac(M1, intel), Linux Download
Mac User
step1: Running Unsigned Applications on Mac
bash
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
- export chat log
- more...
For Developers
Development
bash
pnpm install
pnpm dev
pnpm tauri dev
Build(Production)
bash
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