← all repositories
GPTGenius/chatgpt-vercel

One-click ChatGPT clone that also talks to Midjourney

A private, deployable chat interface that bundles text generation and image creation behind a single Vercel button.

556 stars TypeScript Chat Assistants
chatgpt-vercel
Velocity · 7d
+0.5
★ / day
Trend
steady
star history

What it does

ChatGPT-Vercel is a TypeScript web app that spins up a personal ChatGPT interface on Vercel’s free tier. It handles standard OpenAI text conversations plus image generation through DALL-E or Midjourney, with local browser storage for chat history and a preset prompt system triggered by typing /.

The interesting bit

The Midjourney integration is the unusual part: instead of a clean API, it piggybacks on Discord by configuring a server ID, channel ID, and bot token, then polls for up to five minutes while the image renders. It’s a pragmatic hack around Midjourney’s lack of official API access.

Key highlights

  • Deploys via Vercel’s one-click button; environment variables handle all backend config
  • Supports multiple OpenAI API keys with random or round-robin scheduling
  • Image generation: DALL-E (2-hour link expiry, uses OpenAI tokens) or Midjourney (Discord-based, slower)
  • Local chat history with search, import, and export; optional password protection via PASSWORD env var
  • Preset prompts drawn from the popular awesome-chatgpt-prompts repositories

Caveats

  • Midjourney setup requires Discord developer legwork; the README links to third-party guides for finding tokens and IDs
  • DALL-E image links expire after two hours with no automatic archival
  • Planned features (markdown export, theme switching, audio) are marked unfinished in the README

Verdict

Worth a look if you want a self-hosted ChatGPT frontend without managing servers, and especially if you need Midjourney access in the same tab. Skip it if you need enterprise reliability or official Midjourney API stability.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.