Package Exports
- @lehuygiang28/gemini-proxy-cli
- @lehuygiang28/gemini-proxy-cli/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@lehuygiang28/gemini-proxy-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Gemini Proxy - CLI
The Gemini Proxy CLI is a powerful command-line tool for managing your Gemini Proxy instance.
📋 Table of Contents
🚀 Getting Started
⚙️ Configuration
💻 Command Reference
📚 References
✨ Features
- ✅ Interactive & User-Friendly: Easy-to-use interactive prompts.
- ✅ Secure: Input validation and sanitization for all commands.
- ✅ Production Ready: Comprehensive error handling, validation, and logging.
- ✅ Batch Operations: High-performance batch operations for efficient management.
- ✅ Extensible: A modular structure that is easy to extend.
📦 Installation
pnpm install -g @lehuygiang28/gemini-proxy-cli
🚀 Quick Start
1. Configure the CLI
gproxy config setup
2. Test Your Connection
gproxy config test
3. Create an API Key
gproxy api-keys create --quick
4. Create a Proxy Key
gproxy proxy-keys create --quick
⚙️ Configuration Setup
- Interactive Setup (Recommended):
gproxy config setup
- Environment Variables: Create a
.env
file in your project directory. - Manual Configuration:
gproxy config update
🌳 Environment Variables
Required Variables
Variable | Description |
---|---|
SUPABASE_URL |
Your Supabase project URL. |
SUPABASE_SERVICE_ROLE_KEY |
Your Supabase service role key. |
💻 Command Reference
Configuration Commands
gproxy config setup
gproxy config show
gproxy config update
gproxy config test
gproxy config clear
API Key Commands
gproxy api-keys list
gproxy api-keys create
gproxy api-keys edit
gproxy api-keys delete <id>
gproxy api-keys sync
Proxy Key Commands
gproxy proxy-keys list
gproxy proxy-keys create
gproxy proxy-keys edit
gproxy proxy-keys delete <id>
gproxy proxy-keys sync
Log Commands
gproxy logs list
gproxy logs prune
gproxy logs get <id>
gproxy logs stats
📚 Back to Main README
For a complete overview of the project, please refer to the root README.md.
Made with ❤️ by lehuygiang28