Skip to content

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.

Notifications You must be signed in to change notification settings

gys-dev/browcall-gate

Repository files navigation

GPT Inner Call (Browcall)

Nx Node.js React TypeScript Express.js Vite Playwright n8n License

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.

Browcall Demo

🚀 Key Components

The project is organized as a monorepo using Nx:

🧩 Apps

  • 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/completions endpoint. It communicates with the browser extension to execute requests and retrieve responses.

📦 Packages

  • 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.

🛠 Tech Stack

  • Monorepo Management: Nx
  • Backend: Node.js, Express, WebSocket (ws)
  • Frontend/Extension: React, TypeScript, Vite
  • Integration: n8n

🎬 Getting Started

Prerequisites

  • Node.js (v18+)
  • Yarn or npm
  • Google Chrome or Chromium-based browser (for the extension)

Installation

  1. Clone the repository:

    git clone https://github.com/gys-dev/browcall-gate.git
    cd browcall-gate
  2. Install dependencies:

    npm install
    # or
    yarn install

Development

Running the API

To start the backend API in development mode:

npm run serve

The server will run at http://localhost:8766.

Building the Extension

To build the browser extension:

npm run build-extension-react

The build artifacts will be in dist/apps/extension. You can load this directory as an "Unpacked Extension" in Chrome.

Working with n8n Nodes

To build and integrate the n8n nodes:

npm run add-n8n-node

📖 API Documentation

The gpt-auto-api follows the OpenAI API specification.

Chat Completions

  • Endpoint: POST /v1/chat/completions
  • Description: Forwards the chat request to the active browser session via the extension.

🤝 Contributing

  1. Follow the Knowns Guidelines.
  2. Ensure linting passes: npm run lint.
  3. Test your changes: npm run test.

📄 License

This project is licensed under the MIT License.

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published