A tiny Windows popup to chat with ChatGPT from anywhere, toggled by a global hotkey. It stays out of the way, appears with a smooth animation, and keeps a minimal local history.
- Global hotkey (default:
Ctrl+Alt+Space) to show/hide the popup - Frameless, always‑on‑top, rounded UI with animated rainbow border while generating
- System tray icon with Show/Hide and Quit
- Multi‑turn chat; Enter sends, Shift+Enter inserts newline; Esc hides
- Model dropdown to switch between
gpt-5ando4-mini - Emoji top‑bar buttons:
👁/🙈show/hide system messages in the transcript🧹clear chat history (also clears persisted history)❌hide the popup
- Minimal chat history persisted at
%APPDATA%/QuickGPT/history.json - Uses
OPENAI_API_KEY; optionalMODEL,QUICKGPT_HOTKEY,QUICKGPT_DEBUG
- Windows 10/11
- Python 3.10+
- Packages:
PySide6,keyboard,openai,python-dotenv(optional but recommended)
Install dependencies:
pip install PySide6 keyboard openai python-dotenv- Set your OpenAI API key (recommended via a
.envfile in the project folder):
# .env
OPENAI_API_KEY=sk-...
# Optional defaults
MODEL=gpt-5
QUICKGPT_HOTKEY=ctrl+alt+space
QUICKGPT_DEBUG=0- Run the app:
python main.py- Use the hotkey (
Ctrl+Alt+Spaceby default) to show/hide the popup.
- Type into the input field and press
Enterto send;Shift+Entermakes a newline. - Use the top bar:
- Model dropdown to switch between
gpt-5ando4-mini(persists across restarts) 👁/🙈toggles system messages (e.g., “Thinking…”, errors)🧹clears on‑screen and persisted history❌hides the popup (app continues running in the tray)
- Model dropdown to switch between
- The animated rainbow border appears only while generating and fades in/out smoothly.
Environment variables (or .env):
OPENAI_API_KEY(required): your OpenAI API keyMODEL(optional): default model,gpt-5oro4-mini(UI can change per run)QUICKGPT_HOTKEY(optional): e.g.,ctrl+alt+space,ctrl+shift+gQUICKGPT_DEBUG(optional): set to1to print debug lines in the transcript
History is stored at:
%APPDATA%/QuickGPT/history.json
- Hotkey doesn’t work:
- Some shortcuts require elevated privileges on Windows; try running a terminal as Administrator or choose a different key combo.
- The app uses a native Windows hotkey first; if it fails, it falls back to the
keyboardpackage.
- No output / API errors:
- Ensure
OPENAI_API_KEYis set and valid. - Verify internet connectivity and that your key has access to the selected model.
- Ensure
- Emojis look small or misaligned:
- Windows emoji rendering varies by font; increasing DPI/scaling or font size in code can help. Ask if you want me to adjust sizes.