chatgpt-vercel  by GPTGenius

Private ChatGPT website via Vercel

created 2 years ago
563 stars

Top 58.0% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a free, one-click deployment solution for a private ChatGPT website using Vercel, targeting users who want a personalized AI chat interface. It enables text and image generation conversations powered by OpenAI and Midjourney, with features like model switching, context length adjustment, and local chat history.

How It Works

The application leverages Vercel's serverless functions for deployment and OpenAI's API for core AI capabilities. It supports both text-based conversations with GPT-4/3.5 and image generation via DALL-E and Midjourney. Key architectural choices include local storage for chat history and a flexible configuration system via environment variables or .env files for API keys, language, and model settings.

Quick Start & Requirements

  • Install/Run: Deploy via Vercel using the provided button or by forking the repository.
  • Prerequisites: OpenAI API Key is mandatory. Midjourney integration requires Discord Server ID, Channel ID, and Token. Node.js v18+ and pnpm v7+ are needed for local development.
  • Setup: Vercel deployment is typically quick. Local setup requires installing dependencies (pnpm install) and running (pnpm dev).
  • Links: Live Demo, User Guide

Highlighted Details

  • Supports text and image generation conversations.
  • Integrates with DALL-E and Midjourney for image creation.
  • Offers local chat history with search, import, and export.
  • Allows switching between multiple OpenAI API keys with polling or random strategies.
  • Supports multiple languages, currently English and Simplified Chinese.

Maintenance & Community

The project is actively maintained by GPTGenius. Contributions are welcomed for translations, prompts, API optimization, and new features.

Licensing & Compatibility

Licensed under the MIT License, permitting commercial use and integration with closed-source projects.

Limitations & Caveats

Midjourney integration requires specific Discord configurations and may have variable generation times. OpenAI API keys are required, incurring costs. Image generation links from OpenAI have a 2-hour expiry.

Health Check
Last commit

1 year ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
7 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.