Skip to content
cesarferreiraPublic

About

A native macOS ChatGPT launcher built in Rust with GPUI and Liquid Glass.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

18 Commits

Folders and files

Repository files navigation

Quick Ask

I missed the old ChatGPT app. I just wanted to hit Option+Space, ask a quick question, and get back to what I was doing. So I made Quick Ask.

It's a small native macOS app that uses your existing ChatGPT subscription. Sign in with your ChatGPT account, pick a model, and start chatting. No API key needed.

Quick Ask floating over the macOS desktop wallpaper

Written in Rust with GPUI, rendered with Metal, and kept in the menu bar. The panel expands as the answer streams in.

On macOS 26 and newer, the panel uses AppKit's native NSGlassEffectView with system appearance, a compact icon toolbar, and content-sized answers. Older systems fall back to macOS vibrancy.

Use

  1. Open Quick Ask.app, or run the development command below.
  2. Select Continue with ChatGPT and finish signing in in your browser.
  3. Allow the app to use your ChatGPT plan if that permission is offered.
  4. Choose an available model and reasoning effort in the footer, then ask a question.

Click the effort label beside the model to pick Low, Medium, or High. Low favors speed, Medium balances speed and depth, and High gives the model more time to reason. Medium is the initial setting. The choice is saved with each completed conversation and carried into new chats during the current session. Only choices reported as supported by the model catalog are shown. Models without reasoning metadata use their server default.

Drag images onto the panel, or press Command+V to paste a screenshot, a copied image, or image files copied in Finder. Up to four images can be attached to each question. Review the thumbnails and use their × buttons to remove an image before sending. You can send images with or without text, and ask follow-up questions about them. The selected model must support image input.

PNG, JPEG, WebP, GIF, BMP, and TIFF inputs are supported. Large images are resized to fit within a 4096-pixel longest edge and 8 MiB per attachment; animated inputs use a still frame. Images are copied into private local storage alongside your chat history, so moving the original file does not break later questions.

Click an attached image, or an image on its own line in an answer, to expand it in the panel. Use the download button to save it to your Downloads folder; an existing file is never replaced. Press Esc or Back to close it. Images placed inside a line of text are not expandable.

The app has been tested with browser sign-in, Keychain credential persistence, the account's live model catalog, and a real subscription-backed reply. This first version keeps one saved account registration; an account picker is not implemented. Sign out disconnects that registration's local session.

Use your personal browser profile for a personal Plus/Pro account. A work browser session may select your organization's account instead; its administrator can restrict third-party ChatGPT sign-in. Cancel in Quick Ask stops a pending sign-in so you can switch browser profiles and try again.

Shortcut Action
Option+Space Show or hide the panel from any app
Control+Option+Space Automatic fallback if Option+Space is unavailable
Enter Send the question
Shift+Enter Add a new line
Escape Dismiss the panel
Command+N Start a new chat
Command+H Open local history
Command+Shift+C Copy the current or latest answer
Command+Q Quit Quick Ask

The keyboard shortcuts other than the global show/hide shortcut apply while the panel has focus. Click Stop to cancel a response and close its connection. Each question and response has a copy button beneath it. Responses copy their original Markdown, including code fences. Code blocks also have their own copy button in the upper-right corner, which copies just the code. These controls are available while a response streams, too. The footer copy button and Command+Shift+C continue to copy the current or latest answer. Partial responses are shown until you start another turn, but are not saved or included in later model context. Clicking another app or pressing Escape dismisses the panel; Quick Ask stays in the menu bar.

Quick Ask can search the web when you ask it to search or when an answer needs current information. The model decides when to search. Source citations become clickable links and stay available in copied answers and saved local chats. Web search availability depends on the selected model and account/workspace policy.

Animated Thinking…, Searching the web…, and Writing… indicators show when a reply is in progress. Text appears progressively, and the view follows the latest output. Scroll up to pause following; scroll back to the bottom or click Jump to latest to resume.

PNG, JPEG, WebP, and GIF images display inline through Markdown links or data URLs. Remote images load directly without sending your ChatGPT credentials. OpenAI currently does not support image generation through subscription sign-in, so creating new images is unavailable through this connection.

Drag the top rim or the empty toolbar space between the model and the icons to move the panel. It keeps that position when reopened on the same display during the current session. Opening from a different display places it on that display.

The menu bar menu also provides Show / Hide, New Chat, Manage ChatGPT Usage, and Quit. If another app owns Option+Space, Quick Ask shows a notice and uses Control+Option+Space. Disable the conflicting shortcut in ChatGPT Classic, Raycast, or the app using it, then reopen Quick Ask to reclaim Option+Space. A running Quick Ask instance must quit before another starts.

Subscription and local data

Quick Ask uses Sign in with ChatGPT and requests permission to use an eligible ChatGPT plan; it does not ask for an API key. These requests consume the same Codex / ChatGPT Work allowance included in your plan. Connecting an app adds no separate allowance. Access and models depend on the account and its policies. Review app limits and permissions in ChatGPT Settings → Usage. See the official OpenAI documentation for current eligibility and plan-sharing behavior.

Plan access does not include your ChatGPT conversations or memories. Quick Ask keeps its own chat history on this Mac and sends the selected conversation as context for each reply. Its chats do not appear in your ChatGPT history, and it does not load ChatGPT memory.

Data is stored in ~/Library/Application Support/Quick Ask/:

  • history.json: up to 100 recent local conversations, saved with owner-only permissions. This is readable local JSON, not encrypted storage.
  • chatgpt-account.json: local app registration and account metadata.
  • app.lock: prevents competing instances from refreshing the same session.

Access and refresh credentials are stored in macOS Keychain, not in the chat history file. Signing out disconnects the saved session in this app and keeps local history. To remove that history, quit Quick Ask and delete history.json. To revoke the app's permission, use ChatGPT Settings → Security and login → Sign in with ChatGPT.

Build and run

Use macOS with a Rust toolchain supporting edition 2024 and std::fs::File locking, plus Xcode command line tools and the Metal compiler. The project was built with Rust 1.99.1. The first build downloads and compiles GPUI dependencies.

xcode-select --install
rustup update stable
cargo build --package quick-ask
cargo run --package quick-ask

If Xcode reports that the Metal toolchain is missing, install it and retry:

xcodebuild -downloadComponent MetalToolchain

The app runs from the menu bar without a Dock icon. Quit the existing instance before running a newly built version. An internet connection is needed to sign in, fetch available models, and send messages.

Test and package

cargo test --workspace
cargo check --workspace
cargo fmt --all -- --check
./scripts/package.sh
open "dist/Quick Ask.app"

The package script builds the release binary, draws the app icon with AppKit, creates dist/Quick Ask.app, and signs it ad hoc for local use. It does not install the app or create a notarized distribution. The icon source is scripts/generate-icon.swift; regenerate the checked-in preview and icon with:

xcrun swift scripts/generate-icon.swift scripts/icons

For a faster bundle during development, run ./scripts/package.sh --debug.

To install, run make install. It packages the app, quits any running instance, copies Quick Ask.app to /Applications, and opens it. Set INSTALL_DIR to install somewhere else, for example make install INSTALL_DIR=~/Applications. Run make clean to remove the Cargo build output and dist/.

Protocol and storage tests use local fixtures. They do not substitute for a real ChatGPT sign-in and live request. Chat with inline images and local history are supported, along with web search; file uploads, voice, and ChatGPT memory are not implemented.

About

A native macOS ChatGPT launcher built in Rust with GPUI and Liquid Glass.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages