Skip to main content

[DEPRECATED] Superseded by the official Gemini macOS app (gemini.google/mac). No longer maintained.

Project description

macos-gemini-overlay

[!WARNING] This project is deprecated and no longer maintained.

Google has released a native Gemini macOS app that supersedes this overlay. Please use the official app instead: gemini.google/mac.

This repository is archived for historical reference. No further updates, bug fixes, or releases are planned.

A simple macOS overlay application for pinning gemini.google.com to a dedicated window and key command ⌥ + Space.

Launcher Sample

Supported shortcuts within Gemini

  • Cmd + N starts a new conversation.
  • Ctrl + Cmd + S toggles Sidebar.
  • Cmd + , opens the Settings page (memory).

Installation

The easiest approach is to download and execute the DMG installer (by clicking the image below) to place the program into your Applications folder.

DMG Installer

Otherwise, you can install the latest stable release from a Terminal with:

python3 -m pip install macos-gemini-overlay

Once you've installed the package, you can enable it to be automatically launched at startup with:

macos-gemini-overlay --install-startup

You will get a request like this to enable Accessibility the first time this launches.

Accessibility Request

The Accessibility access is required for the background task to listen for the ⌥ + Space keyboard command. But please don't just take my word for it, look at the listener code yourself and see. ;)

Within a few seconds of approving Accessibility access, you should see a little icon like this appear along the top of your screen.

Menu Sample

And you're done! Now this should launch automatically and constantly run in the background. If you ever decide you do not want it, see the uninstall instructions below.

Usage

Once the application is launched, it should immediately open a window dedicated to gemini.google.com. You'll need to log in there, but you should only need to do that once. After installing, pressing ⌥ + Space while the window is open will hide it, and pressing it again at any point will reveal it and pin it as the top-most window overlay on top of other applications. This enables quick and easy access to Google Gemini on macOS.

There is a dropdown menu with basic options that shows when you click the menubar icon. Personally I find that using ⌥ + Space to summon and dismiss the dialogue as needed is the most convenient.

If you decide you want to uninstall the application, you can do that by clicking the option in the menubar dropdown, or from the command line with:

macos-gemini-overlay --uninstall-startup

How it works

This is a very thin pyobjc application written to contain a web view of the current production Google Gemini website. Most of the logic contained in this small application is for stylistic purposes, making the overlay shaped correctly, resizeable, draggable, and able to be summoned anywhere easily with a single (modifiable) keyboard command. There's also a few steps needed to listen specifically for the ⌥ + Space keyboard command, which requires Accessibility access to macOS.

Local development

Clone the repository and install dependencies:

git clone https://github.com/jzelenkov/macos-gemini-overlay.git
cd macos-gemini-overlay
python3 -m pip install -r macos_gemini_overlay/about/requirements.txt

To run the application directly for development:

python3 -m macos_gemini_overlay.main

For a development workflow that auto-reloads on code changes, you can use:

pip install watchdog
watchmedo auto-restart --directory=macos_gemini_overlay/ --pattern=\*.py --recursive -- python3 -m macos_gemini_overlay.main

You can also run tests (if any) with:

python3 -m unittest discover

Final thoughts

This project was forked from macos-grok-overlay and modified to work with Google Gemini. All credits go to the original author.

This was a small fun weekend project, and is not a product of Google Gemini, xAI team nor is it formally affiliated with them.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

macos_gemini_overlay-0.0.4.tar.gz (519.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

macos_gemini_overlay-0.0.4-py2.py3-none-any.whl (530.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file macos_gemini_overlay-0.0.4.tar.gz.

File metadata

  • Download URL: macos_gemini_overlay-0.0.4.tar.gz
  • Upload date:
  • Size: 519.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for macos_gemini_overlay-0.0.4.tar.gz
Algorithm Hash digest
SHA256 4103bf3f36adec41b0694087aef230edc025b984fdba41d52a382d2a1444938b
MD5 cb090367effdaa215d8bb88d018c59f0
BLAKE2b-256 16966ccd508de97d1e73dbf9a0cfdee8637e0dd0280a153279dbb1aae5f5c184

See more details on using hashes here.

File details

Details for the file macos_gemini_overlay-0.0.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for macos_gemini_overlay-0.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 570d08e883ed17a16e87930a7cb6be4823efe612e865134ff4faf2f5c610b4cb
MD5 45691907a0bb23c954b0950804f1107c
BLAKE2b-256 de4f0accbbe1a2fd2565d640cbdbbb86db44066232f8c55f2dac474e12638e62

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page