本文へスキップ

Cloudflare Workers Proxy

メンテナンス中
ymyuuu/Cloudflare-Workers-Proxy

ある URL を別の URL にマッピングし、クロスオリジンリクエストも処理できる、シンプルで強力なリバースプロキシサービス。

GitHub で見る
スター
1554
フォーク
539
ウォッチ
1554
未解決の Issue
15

この紹介文は現在英語版のみです。

Cloudflare Workers Proxy

Cloudflare Workers Proxy is a lightweight and powerful reverse proxy service built on Cloudflare Workers. It enables you to map URLs and handle cross-origin requests with ease, making it an essential tool for developers working with Cloudflare’s infrastructure.

Core Features

  • URL Mapping: Easily map one URL to another
  • Cross-Origin Support: Built-in CORS handling for seamless cross-origin requests
  • Path Rewriting: Modify response paths to ensure proper resource loading
  • Redirect Handling: Automatic handling and modification of redirects
  • User-Friendly Interface: Simple web interface for quick access
  • Cloudflare Integration: Seamless integration with Cloudflare’s infrastructure
  • Lightweight: Minimal overhead with Cloudflare Workers

Common Use Cases

  • Creating reverse proxies for development and testing
  • Handling cross-origin requests in web applications
  • Mapping URLs for API endpoints
  • Building custom routing solutions
  • Implementing URL rewriting for legacy systems
  • Creating development proxies for local testing

Quick Start

  1. Deploy to Cloudflare Workers:

    # Clone the repository
    git clone https://github.com/ymyuuu/Cloudflare-Workers-Proxy.git
    
    # Navigate to the project directory
    cd Cloudflare-Workers-Proxy
  2. Basic Usage:

    // Example request
    https://your-worker-url.com/https://target-website.com/
  3. Configuration:

    • Deploy the worker script to your Cloudflare account
    • Configure your domain to point to the worker
    • Access the web interface to start proxying requests

Security Considerations

  • Authentication: Implement proper authentication for sensitive endpoints
  • Rate Limiting: Consider adding rate limiting for production use
  • Input Validation: Validate all incoming requests
  • Error Handling: Implement proper error handling and logging
  • Resource Limits: Be aware of Cloudflare Workers’ resource limits

Community

  • Discord: Join our community on Discord
  • Issues: Report bugs and request features on GitHub
  • Contributions: Pull requests are welcome!

License

This project is licensed under the MIT License - see the LICENSE file for details.

共通のカテゴリとタグで順位付けした、似たオープンソースプロジェクトです。

すべてのネットワークプロジェクト →