Discover and explore top open-source AI tools and projects—updated daily.
MohamedElsayed-debugChatGPT automation via a free OpenAI-compatible API
Top 99.3% on SourcePulse
This project provides a free, OpenAI-compatible API by automating ChatGPT's web interface, targeting developers and users of tools like n8n who need to integrate AI capabilities without incurring API costs. It offers a seamless drop-in replacement for standard OpenAI API calls, enabling advanced AI agent features like reliable tool calling.
How It Works
The core of mse_ai_api is a FastAPI proxy server that utilizes Playwright to automate a detached Chrome browser instance. This AsyncBrowserThread runs in the background, employing anti-bot bypass techniques to mimic a real user session. It intelligently injects prompts and system instructions to ensure ChatGPT outputs valid JSON, which is then parsed using regex to conform to OpenAI's function calling schema. This approach allows for robust tool execution and avoids the strict JSON validation errors common in other methods.
Quick Start & Requirements
docker-compose up --build -d. The server starts on http://localhost:7777. Manual installation requires Python 3.10+; run pip install -r requirements.txt followed by python main.py.API_SECRET_KEY can be configured (default: change-secret-key-2026).Highlighted Details
Maintenance & Community
The project is maintained by Mohamed Elsayed. Contact information for inquiries, including the PRO version, is available via Telegram, LinkedIn, Facebook, and GitHub. Sponsorships are acknowledged.
Licensing & Compatibility
Limitations & Caveats
This version is primarily for personal and educational use and lacks features found in the PRO version, such as image analysis, an admin dashboard, multi-user management, and usage statistics. Usage must adhere to the terms of service of the automated web platforms.
1 month ago
Inactive
steven-tey