deno-api-proxy  by tech-shrimp

API proxy for circumventing geographical restrictions

created 6 months ago
449 stars

Top 68.0% 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

6 months ago

Responsiveness

Inactive

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

Explore Similar Projects

Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
15 more.

litellm by BerriAI

1.7%
27k
SDK/proxy for calling 100+ LLM APIs using the OpenAI format
created 2 years ago
updated 14 hours ago
Feedback? Help us improve.