Status: [LIVE] Endpoints found: https://chat.deepseek.com Source: https://github.com/malikasana/ai-gateway # AI Gateway A local HTTP server that lets your applications talk to AI models without API keys or costs. Uses browser automation to send queries and return replies over HTTP. --- ## How It Works ``` Your App / Browser / Terminal ↓ POST http://localhost:5000/ask ↓ AI Gateway Server (Flask + Queue) ↓ Opens AI in your browser (already signed in) ↓ Returns reply as JSON ``` One request at a time via queue. Works locally or publicly via ngrok. --- ## Requirements - Windows 10/11 - Python 3.10+ - Chrome, Edge, or Firefox installed - Signed in to all AI services you want to use in your browser - (Optional) Node.js for WhatsApp integration - (Optional) ngrok for public access --- ## Setup ### Step 1 — Sign in to AI services in your browser Open your browser and sign in to whichever AIs you want to use: - **Claude** → https://claude.ai - **ChatGPT** → https://chatgpt.com - **DeepSeek** → https://chat.deepseek.com - **Gemini** → https://gemini.google.com - **Grok** → https://grok.com Stay signed in — AI Gateway will open these in new windows automatically. ### Step 2 — Download AI Gateway ```bash git clone https://github.com/malikasana/ai-gateway cd ai-gateway ``` Or download the ZIP from GitHub and extract it. ### Step 3 — Create virtual environment ```bash python -m venv .venv .venv\Scripts\activate ``` ### Step 4 — Install dependencies ```bash pip install -r requirements.txt ``` ### Step 5 — Configure environment ```bash copy .env.example .env ``` Open `.env` — default settings work for most users. Only change if needed. ### Step 6 — Run the server ```bash python server.py ``` Server starts on `http://localhost:5000` --- ## Usage ### Browser UI Open `http://localhost:5000` in your browser. Select your AI and mode, type your question and press Send. ### Terminal ```powershell # Claude $r = Invoke-WebRequest -Uri "http://localhost:5000/ask" -Method POST -ContentType "application/json" -