Discover and explore top open-source AI tools and projects—updated daily.
qy527145Local management for OpenAI API tokens
Top 95.6% on SourcePulse
This project provides a command-line tool for local management of OpenAI API tokens, including refresh tokens, access tokens, and session keys. It targets developers and power users who need to programmatically access OpenAI services and manage multiple accounts efficiently, simplifying token retrieval and persistence.
How It Works
The tool operates via a Python script that handles authentication flows to obtain and store various OpenAI token types. It utilizes httpx for network requests, replacing the older requests library, and defaults to system trust chains for HTTPS verification, enhancing security. Token data is persisted locally in a structured JSON file, supporting multiple accounts and backward compatibility with older formats.
Quick Start & Requirements
pip install -r requirements.txt (requires requirements.txt to be present).requirements.txt (not provided).--help) and README.Highlighted Details
httpx with default system trust chain for HTTPS verification.Maintenance & Community
No specific details on contributors, community channels, or roadmap are provided in the README.
Licensing & Compatibility
The license is not explicitly stated in the provided README. Compatibility for commercial use is undetermined without a specified license.
Limitations & Caveats
The README does not specify the license, which is crucial for determining commercial use compatibility. The installation requires a requirements.txt file, which is not included in the provided text. The tool relies on OpenAI's authentication mechanisms, which are subject to change by OpenAI.
1 month ago
Inactive
cloudflare
griffinmartin