← all repositories
seratch/ChatGPT-in-Slack

A ChatGPT bot for Slack you can actually host yourself

Before OpenAI shipped an official Slack app, this was the open-source escape hatch—and it still matters if you don't want your work chatter leaving your infrastructure.

514 stars Python Chat AssistantsAgents
ChatGPT-in-Slack
Velocity · 7d
+0.4
★ / day
Trend
steady
star history

What it does

This Python app wires ChatGPT into Slack through three interfaces: channel threads (with memory across replies), 1:1 DMs, and a Home tab with quick proofreading and custom prompt modals. It also supports DALL-E 3 image generation and optional Azure OpenAI backends. The whole thing runs via Socket Mode, so no public URL is required.

The interesting bit

The README opens with a warning that OpenAI’s official Slack integration now exists—then immediately explains why you might still want this: corporate confidentiality. The project is essentially a well-documented, forkable reference implementation with a Dockerfile and environment-based configuration, not a black-box SaaS wrapper.

Key highlights

  • Thread-aware context: the bot remembers conversation history within a Slack thread without repeated @mentions
  • Three entry points: public threads, private DMs, and a mobile-friendly Home tab with proofreading shortcuts
  • Self-hostable by design: Dockerfile included, Socket Mode means no ingress configuration
  • Optional redaction, markdown translation, and language detection via environment variables
  • Experimental function-calling support and Azure OpenAI compatibility

Caveats

  • The README describes the app as “transformative” and “seamless” in its own marketing language, which is… a choice
  • Live demo is personally hosted by the maintainer; the docs explicitly warn against using it for corporate data
  • Unit test coverage appears spotty; contributors are asked to write tests but no coverage numbers are provided

Verdict

Worth a look if your security team blanches at SaaS chatbots processing internal Slack messages. Skip it if you just want OpenAI’s official integration with zero setup friction.

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