Skip to content

SamurAIGPT/Open-Custom-GPT

Repository files navigation

Open Custom GPT

The no-code platform for building and embedding Custom GPTs using the OpenAI Assistants API

GitHub stars License Node.js

Video TutorialQuick StartFeaturesDeployment


Open Custom GPT provides a user-friendly solution to quickly build a custom GPT and embed it on your website. Create AI assistants with custom instructions, file retrieval, code interpreter, and DALL-E capabilities - all without writing code.

Features

  • No-Code Builder - Create powerful GPT assistants through an intuitive interface
  • Assistants API Integration - Full support for OpenAI's latest Assistants API
  • Code Interpreter - Enable Python code execution for data analysis
  • File Retrieval - Upload documents for your assistant to reference
  • DALL-E Integration - Generate images directly from your assistant
  • Custom Functions - Add your own API actions and tools
  • Embeddable Widget - Share or embed your GPT on any website
  • Monetization Ready - Gate your Custom GPT behind a paywall

Quick Start

Prerequisites

  • Node.js v18+
  • OpenAI API Key

Installation

# Clone the repository
git clone https://github.com/SamurAIGPT/Open-Custom-GPT.git
cd Open-Custom-GPT

# Install dependencies
npm install

# Build the project
npm run build

# Start the server
npm start

Environment Setup

Create a .env.local file:

OPENAI_API_KEY=your_api_key_here

Convert Your Existing Custom GPT

Already have a Custom GPT on ChatGPT? Migrate it easily:

  1. Copy the instructions from your Custom GPT's Configure tab
  2. Paste them into Open Custom GPT's instructions section
  3. Enable Code Interpreter, DALL-E, or File Retrieval as needed
  4. Upload any files from your original Custom GPT
  5. Set up any custom functions/actions

Tech Stack

Technology Purpose
Next.js React framework
OpenAI API Assistants API
Tailwind CSS Styling

Deployment

Vercel (Recommended)

Deploy with Vercel

Docker

docker build -t open-custom-gpt .
docker run -p 3000:3000 -e OPENAI_API_KEY=your_key open-custom-gpt

Embedding Your GPT

After creating your assistant, use the embed code to add it to any website:

<iframe
  src="https://your-deployment-url.com/embed/assistant-id"
  width="400"
  height="600"
  frameborder="0">
</iframe>

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Follow for Updates

Related Projects

License

MIT License - see LICENSE for details.