deno-api-proxy  by tech-shrimp

API proxy for circumventing geographical restrictions

Created 7 months ago
456 stars

Top 66.4% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides a Deno-based API proxy designed to circumvent geographical restrictions for large model APIs like OpenAI, Claude, and Groq, making them accessible from mainland China. It targets developers and users needing reliable access to these services regardless of their location.

How It Works

The proxy leverages Deno's serverless deployment capabilities to route requests to various LLM APIs. By deploying the main.ts script to Deno Deploy, users obtain a custom domain that acts as an intermediary. This setup allows requests to be forwarded to the target LLM APIs, effectively bypassing regional access limitations.

Quick Start & Requirements

  • Install/Run: Deploy main.ts to Deno Deploy (https://dash.deno.com/account/projects).
  • Prerequisites: A Deno Deploy account and API keys for the target LLM services.
  • Setup: Copy main.ts code into a new Deno Playground project, save, and deploy. The provided curl examples demonstrate how to use the deployed proxy domain with your API keys.

Highlighted Details

  • Supports proxying for OpenAI, Claude, and Groq APIs.
  • Utilizes Deno Deploy for easy, serverless deployment.
  • Provides example curl commands for testing OpenAI and Groq endpoints.

Maintenance & Community

The project is authored by "技术爬爬虾" (Bilibili, YouTube, Douyin, WeChat Official Account). Further community or maintenance details are not specified in the README.

Licensing & Compatibility

The licensing information is not provided in the README.

Limitations & Caveats

The project's primary function is to bypass geographical restrictions, which may have implications depending on the terms of service of the proxied LLM providers. The README does not detail support for other LLM providers beyond those explicitly mentioned.

Health Check
Last Commit

7 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
6 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.