cloudflare-ai-web  by Jazee6

Web platform for multimodal AI model integration

created 1 year ago
2,058 stars

Top 22.1% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a unified web platform for interacting with multiple AI models, including Gemini Pro, Cloudflare Workers AI, and ChatGPT. It targets users who want a single interface for various AI services and offers a serverless deployment option for ease of use.

How It Works

The platform leverages Cloudflare Workers AI for serverless deployment, enabling rapid setup without dedicated servers. It supports a range of models, including Gemini Pro, Stable Diffusion, and others listed in its documentation, allowing users to integrate and switch between different AI providers.

Quick Start & Requirements

  • Docker: docker run -d --name cloudflare-ai-web -e CF_TOKEN=YOUR_CF_TOKEN -e CF_GATEWAY=YOUR_CF_GATEWAY -p 3000:3000 --restart=always jazee6/cloudflare-ai-web
  • Prerequisites: Cloudflare API Token (CF_TOKEN), Cloudflare AI Gateway URL (CF_GATEWAY). Optional: OpenAI API Key (OPENAI_API_KEY), Google AI API Key (G_API_KEY).
  • Deployment: Supports Deno Deploy and Node.js builds.
  • Configuration: Environment variables for API keys and access passwords. See .env.example for details.

Highlighted Details

  • Supports multimodal AI capabilities.
  • Offers optional access password and local chat history storage.
  • Lightweight build size (~646 kB gzip).
  • Integrates with models like Gemini Pro, ChatGPT, Stable Diffusion, Llama-3, and Tongyi Qianwen.

Maintenance & Community

No specific community links or contributor information are provided in the README.

Licensing & Compatibility

The license is not explicitly stated in the README.

Limitations & Caveats

The project is described as "Beta" for Cloudflare Workers AI. Specific regional deployment configurations for Vercel are mentioned, implying potential regional limitations or performance considerations.

Health Check
Last commit

2 months ago

Responsiveness

1 day

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

Explore Similar Projects

Feedback? Help us improve.