Releases: lrbmike/APIKeyRotator
Releases · lrbmike/APIKeyRotator
v1.1.0
v1.0.1
v1.0.0
API Key Rotator v1.0.0 - Initial Release
We are pleased to announce the first stable release of API Key Rotator, v1.0.0.
API Key Rotator is a lightweight API key management and rotation service designed to provide a simple and efficient solution for developers. It helps you manage API keys through intelligent key pool management, automatic failover, and load balancing, making it easier to handle API rate limits and multi-key scenarios.
Key Features
- API Key Management: Centralized management of multiple API keys, including add, delete, and enable/disable operations.
- Smart Rotation: Automatically rotates between multiple keys to avoid single points of failure and quota limits.
- Multi-API Support: Supports both generic REST APIs and large language model (LLM) APIs (e.g., OpenAI, Claude).
- Proxy Service: Provides a unified proxy interface for different API types to simplify client integration.
- Management Interface: A modern, Vue3-based web interface with bilingual support (English/Chinese).
- Secure Authentication: Features JWT token authentication and proxy key verification.
- Flexible Architecture: Supports SQLite/MySQL databases and memory/Redis caching to fit different deployment needs.
Build Options
The project offers two distinct build options for different use cases:
| Build | Database | Cache | Recommended Use Case |
|---|---|---|---|
| Lightweight | SQLite | Memory Cache | Personal projects, small applications |
| Enterprise | MySQL | Redis | Business applications, large-scale deployments |
Tech Stack
- Backend: Go, Gin, GORM
- Frontend: Vue 3, Element Plus, Vue Router
- Database: MySQL / SQLite
- Cache: Redis / In-memory
- Containerization: Docker, Docker Compose
Quick Start
You can get started quickly with the lightweight version using Docker:
# Build and run the lightweight image
docker build -t api-key-rotator:latest .
docker run -d \
--name api-key-rotator \
-p 8000:8000 \
-v $(pwd)/data:/app/data \
-e ADMIN_USERNAME=admin \
-e ADMIN_PASSWORD=your_admin_password \
-e JWT_SECRET=your_very_secret_and_random_jwt_key \
api-key-rotator:latest