openaihub
v1.1.21
Published
OpenAI Hub CLI installer and launcher
Readme
OpenAI Hub npm package
Install globally:
npm install -g openaihubCurrent support: Windows x64, macOS arm64, macOS x64.
Runtime location after install:
~/.openaihub/npm-runtimeThen run:
openaihubOr:
OAHWhat happens after startup:
- first choose a mode
- then enter the main menu
- the local API gateway starts automatically after the main menu is ready
Local API notes:
- default listen address:
127.0.0.1 - API config lives in
~/.openaihub/local-api.json - API key can be viewed or changed from the
API 配置menu - current endpoints:
GET /v1/modelsPOST /v1/chat/completions
The local API follows the current account selected in OpenAI Hub, and can reuse the existing refresh / auto-switch logic.
Uninstalling the npm package removes the launcher/runtime entrypoints, but keeps user data in ~/.openaihub so saved accounts and config are not lost by mistake.
