Documentation
Installation
Clone the repository, install the Python package, and add Chromium for Playwright.
Requirements
- Python 3.11 or newer
- A ChatGPT account you are authorized to use
- A graphical desktop for first-time sign-in
- Xvfb on Linux for invisible browser sessions
- Glow, optionally, for richer terminal Markdown
1. Clone the repository
Terminal
git clone https://github.com/llegaspo/sengpt-.git Sengpt
cd Sengpt2. Create a virtual environment
Terminal
python -m venv .venv
source .venv/bin/activateOn Windows, activate the environment with .venv\Scripts\activate.
3. Install Sengpt and Chromium
Terminal
pip install -e .
playwright install chromium4. Add Xvfb on Linux
Normal invisible sessions on Linux run a full Chromium browser inside Xvfb. Install the package for your distribution:
Debian / Ubuntu
sudo apt install xvfbArch Linux
sudo pacman -S xorg-server-xvfb5. Sign in
Terminal
sengpt --loginA Chromium window opens on ChatGPT. Complete the normal sign-in flow; Sengpt closes the window after the prompt composer is ready.