# Chat Z.AI Desktop App

![Chat Z.AI Home](mockup1.jpg)

![Chat Z.AI Dashboard](mockup2.jpg)

**Learn more about Z.AI GLM Models:** [Subscribe to Z.AI](https://z.ai/subscribe?ic=ROK78RJKNW)

## Overview

Welcome to the **Chat Z.AI Desktop App** repository! This is a modern, fast, and lightweight native Windows desktop application for the Chat Z.AI web experience. It wraps `https://chat.z.ai` using the powerful Tauri v2 framework, leveraging the system's native WebView2 for excellent performance and minimal resource usage.

## Features

- **Native Desktop Experience:** Seamlessly integrated into Windows as a standalone application.
- **Lightweight & Fast:** Built with Tauri v2 and Rust, meaning a tiny executable size and minimal memory overhead compared to traditional Electron apps.
- **Easy Installation:** Includes a fully automated NSIS Windows installer that sets up the application and desktop shortcuts.

## Repository Contents

- `tauri-app/`: The complete Tauri v2 project source code.
- `releases/`: Contains the compiled Windows `.exe` installer.

## Getting Started

### Downloading the Installer

You can find the latest compiled installer in the `releases/` directory:
- **[Download ChatZAi-Installer.exe](./releases/ChatZAi-Installer.exe)**

Just run the installer, and you'll have the modern Tauri v2 desktop app installed on your system!

### Building from Source

If you wish to compile the application yourself, you will need Node.js and the Rust toolchain installed.

1. Clone this repository.
2. Navigate to the `tauri-app` directory:
   ```bash
   cd tauri-app
   ```
3. Install the dependencies:
   ```bash
   npm install
   ```
4. Build the application (requires the Windows target toolchain):
   ```bash
   npm run tauri build
   ```

## Technology Stack

- **Tauri v2:** The application framework.
- **Rust:** For the native backend and compilation.
- **HTML/JS/CSS:** Frontend web view loading the Z.AI experience.

## License

This project is licensed under standard terms. Please see the LICENSE file for details.
