GPT Inner Call is a monorepo project designed to bridge the gap between AI chat interfaces (like ChatGPT and Perplexity) and automated workflows. It provides a way to "call" these AI models internally by automating their web interfaces through a dedicated browser extension.
The project is organized as a monorepo using Nx:
- Browcall Extension: A browser extension (Manifest V3) that injects logic into AI chat platforms (ChatGPT, Perplexity) to facilitate automated interactions.
- GPT Auto API: A Node.js backend server that exposes an OpenAI-compatible
/v1/chat/completionsendpoint. It communicates with the browser extension to execute requests and retrieve responses.
- n8n-nodes-browcall-gate: Custom n8n nodes to integrate Browcall directly into your automation workflows.
- Interfaces: Shared TypeScript definitions and interfaces used across the monorepo.
- Monorepo Management: Nx
- Backend: Node.js, Express, WebSocket (
ws) - Frontend/Extension: React, TypeScript, Vite
- Integration: n8n
- Node.js (v18+)
- Yarn or npm
- Google Chrome or Chromium-based browser (for the extension)
-
Clone the repository:
git clone https://github.com/gys-dev/browcall-gate.git cd browcall-gate -
Install dependencies:
npm install # or yarn install
To start the backend API in development mode:
npm run serveThe server will run at http://localhost:8766.
To build the browser extension:
npm run build-extension-reactThe build artifacts will be in dist/apps/extension. You can load this directory as an "Unpacked Extension" in Chrome.
To build and integrate the n8n nodes:
npm run add-n8n-nodeThe gpt-auto-api follows the OpenAI API specification.
- Endpoint:
POST /v1/chat/completions - Description: Forwards the chat request to the active browser session via the extension.
- Follow the Knowns Guidelines.
- Ensure linting passes:
npm run lint. - Test your changes:
npm run test.
This project is licensed under the MIT License.
