UNOFFICIAL - This is an unofficial, unaffiliated desktop application wrapper for Z.AI.
Electron desktop wrapper for https://chat.z.ai
This application is NOT affiliated with, endorsed by, or connected to Z.AI or its developers. This is an independent open-source project created solely for convenience, providing a native desktop app experience for users who prefer to access Z.AI outside of a web browser.
This application:
- Is a community-built wrapper using Electron
- Does not modify, store, or transmit any user data
- Simply provides a convenient desktop interface to the existing Z.AI web service
- May cease to function if Z.AI changes its service or terms of use
Use at your own discretion. Please refer to the official Z.AI website (https://chat.z.ai) for the official service and terms.
- Native desktop app experience for Z.AI chat
- All links are contained within the same window
- Offline connection handling with retry option
- Custom CSS and JS injection support for UI customization
- Security-focused with sandboxed webview
zai-app/
├── src/
│ ├── main.js # Main Electron process
│ ├── preload.js # Preload script (IPC bridge)
│ ├── index.html # Entry point with offline screen
│ ├── injections/
│ │ ├── custom.css # Custom CSS injection (modify for UI tweaks)
│ │ └── custom.js # Custom JS injection (modify for behavior tweaks)
│ └── icons/ # App icons
├── build/ # Build assets (icons, entitlements)
├── package.json
└── README.md
Install dependencies:
npm installRun in development mode:
npm startEdit src/injections/custom.css to inject custom styles into the Z.AI web app.
Edit src/injections/custom.js to inject custom JavaScript for behavior modifications.
npm run buildnpm run build:winnpm run build:linux- Sandboxed webview with context isolation
- Only allows navigation to
chat.z.aiandz.aidomains - Blocks external links and popups
- Network request filtering for unauthorized domains
- Strict SSL/TLS certificate validation