gemini  by trueai-org

Free Gemini proxy using Deno

created 5 months ago
400 stars

Top 73.4% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a free, Deno-based proxy for Google Gemini, enabling direct access from China and bypassing regional restrictions. It targets developers and users seeking to leverage Gemini's 1 million token context window and OpenAI-compatible API for AI applications, client integrations, and creative tools like Midjourney.

How It Works

The project utilizes Deno, a modern JavaScript/TypeScript runtime, to create a server that acts as a proxy to Google Gemini. This approach allows for easy deployment and direct connectivity, particularly beneficial for users in regions with network restrictions. It also offers proxying for Midjourney and Grok, further expanding its utility for AI-powered creative and informational tasks.

Quick Start & Requirements

  • Deno Deployment: Deploy on Deno Deploy by forking the project, creating a new project on dash.deno.com, setting the entrypoint to src/deno_index.ts, and deploying.
  • Local Debugging: Install Deno (curl -fsSL https://deno.land/install.sh | sh for Linux/Mac, irm https://deno.land/install.ps1 | iex for Windows). Navigate to the project directory and run deno run --allow-net --allow-read src/deno_index.ts.
  • Prerequisites: Deno runtime, Google AI Studio account for Gemini API key.
  • Resources: No specific hardware requirements mentioned beyond Deno runtime.
  • Documentation: Bilibili video tutorial available: https://www.bilibili.com/video/BV1DDA3eEEYn/

Highlighted Details

  • Free proxy for Google Gemini with a 1 million token context window.
  • OpenAI-compatible API for seamless integration with various AI clients (ChatBox, Cursor, etc.).
  • Includes proxy support for Midjourney and Grok.
  • Aims for direct connectivity from China, bypassing network limitations.

Maintenance & Community

The project acknowledges contributions from tech-shrimp/gemini-playground and PublicAffairs/openai-gemini. No specific community channels or roadmap are detailed in the README.

Licensing & Compatibility

The README does not explicitly state a license. Given the nature of proxying and the inclusion of other projects, users should verify licensing implications for commercial or closed-source use.

Limitations & Caveats

The project is presented as a free proxy, and its long-term availability and stability are dependent on the maintainers and underlying services. No specific limitations or known bugs are mentioned.

Health Check
Last commit

1 month ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
2
Star History
182 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.