使用 Flet 构建的维护模式桌面 ChatGPT 客户端,作为一个包含烟雾和启动检查的小型开源存档。
Maintenance-mode project from March 2023. BillyGPT is kept public as an early ChatGPT API desktop client with reproducible setup, safer local key handling, and a small smoke-check path for future maintenance.
BillyGPT was a free, open-source, cross-platform ChatGPT desktop client built around prompt optimization, local chat history, editable conversations, and bring-your-own API key usage.
requirements.txt.Python 3.10 is the verified runtime for this legacy dependency set.
Install dependencies and run:
pip install -r requirements.txt
python main.pyFor a fully pinned environment, use:
pip install -r requirements-lock.txtFor safer local usage, prefer setting your key through the environment:
export OPENAI_API_KEY="your-key-here"
python main.pyThe settings dialog keeps an entered key for the current process only. For repeat use, set OPENAI_API_KEY in your shell or local environment manager.
Run this after installing dependencies:
python scripts/smoke_check.pyThe smoke check verifies imports, API key loading, and chat persistence helpers without opening the UI.
To check that the repository's tracked files are sufficient for a fresh clone, run:
python scripts/check_release_files.pyFor a browser-rendered startup check, run this with Chrome or Chromium installed:
python scripts/check_frontend_startup.pyThe startup check runs a local Flet web server and a headless browser. It does not open the desktop app window or a visible browser window.
Install dependencies before running the checks:
pip install -r requirements.txtIf the front-end startup check cannot find Chrome, set CHROME_BIN to a local Chrome or Chromium executable. The script intentionally fails in environments without a headless browser instead of opening the desktop UI.
Never commit API keys or local chat logs.
This repository ignores legacy APIKEY.txt files and chat logs, but if you fork or copy the project, check your changes before pushing:
git status --short
git diff --cachedIf a key was ever committed, delete the key in the provider dashboard and create a new one. Removing it from Git history is not enough.
Built with Flet, targeting desktop and cross-platform experiments.
MIT.
BillyGPT was made during the first public ChatGPT API wave. Its value today is mostly historical: it captured early product ideas around prompt optimization, local control, editable conversations, and personal AI clients.
暂无开放 Issues,或尚未同步最近议题。