Note: Screenshot taken on Linux with a highly customized GNOME desktop environment.
This is an unofficial desktop client for Google AI Studio, built with Electron. It provides a native-like experience and addresses login issues often encountered in non-standard browser environments.
- Native Experience: Frameless window design with a custom dark mode title bar.
- Full Navigation: Integrated Back, Forward, Reload, and Home buttons within the title bar.
- Highly Customizable:
- Auto Clear Cookies: Option to automatically clear cookies on startup for a clean session.
- Custom Home Page: Set your preferred starting URL.
- Show URL: Toggle the display of the current URL in the title bar.
- Multi-language Support: Supports 15+ languages including English, Chinese, Japanese, German, and more.
- Advanced Features (v1.5.0):
- Persistent Accounts: Automatically remembers your last active account (e.g.,
/u/1) across sessions. - Profile Manager: Upload and manage custom profile avatars in Settings.
- Smart Notifications: Desktop notifications when the AI finishes generating a response (works in Chat & Playground).
- Auto-Updater: Check for and download updates directly from the app.
- Persistent Accounts: Automatically remembers your last active account (e.g.,
- Login Support:
- Direct Login: Utilizes a specific User-Agent strategy (Chrome 144) to simulate a standard browser environment.
- External Login: A fallback mechanism if direct login is blocked by Google. Allows logging in via Chrome/Edge and manually injecting the session cookie.
- Troubleshooting: Built-in "Reset App" feature to clear all cache and data with one click and restart the application.
-
Clone the repository:
git clone https://github.com/Augus1217/Google-AI-Studio-Desktop cd google-ai-studio-desktop -
Install dependencies:
npm install
-
Start the application:
npm start
Google has strict checks for browser environments. If you encounter a login block:
- Try Again: Often, after the initial session initialization, a second login attempt will succeed.
- Use External Login:
- Click the Key icon (🔑) in the title bar.
- Click "Open Google AI Studio" (this attempts to open the link in your external Chrome or Edge browser).
- Log in to Google AI Studio in your external browser.
- Open Developer Tools (F12) -> Network tab.
- Refresh the page and click on the first request.
- Under Headers -> Request Headers, find the
Cookiefield. - Copy the entire Cookie value, paste it into the application's dialog box, and confirm.
- Reset App:
- Click the Settings icon (⚙️) in the title bar.
- Scroll to the bottom and click the red "Reset App" button.
- This will clear all cache and settings, and restart the application.
The config.json file is stored in the user's application data directory:
- Linux:
~/.config/google-ai-studio-desktop/config.json - Windows:
%APPDATA%/google-ai-studio-desktop/config.json - macOS:
~/Library/Application Support/google-ai-studio-desktop/config.json
- Gemini Desktop Integration: Seamlessly switch between Google AI Studio and Gemini (gemini.google.com) within the app.
- Custom Themes: Inject custom CSS for deeper personalization (make it yours!).
- Proxy Settings: Native interface for configuring proxy settings.
ISC