We are building the open source chat layer for modern apps.
Your app needs chat. Ship it in 60s.
Get in 60s what takes sprints to build: chat infrastructure that lives inside your app.
Add 1:1 chat to your app using ChatPack.
Install @chatpack/core. Create lib/chatpack.ts with chatpack(), configure your database URL and secret, add the chat component to your page, and start sending messages.
Works with:










Up and running in one command.
About ~10 lines of code. No account required, no hosted service to sign up for. Your database, your infrastructure, your users. Stays free forever.
01
Install the package
Add @chatpack/core and a storage adapter. Works with npm, pnpm, and bun.
02
Connect your stack
Point Chatpack at your database and your auth. You own your users and data.
03
Ship
Wire it up in a few lines and go live. Messaging, real-time, and the details handled for you.
ChatPack is the fastest way to add chat to your app.
Time from empty project to working 1:1 chat.
Chat in ten lines.
Drop ChatPack into a project you're already building. Works alongside your current stack, no rewrites needed.
import { chatpack } from "@chatpack/core"; import { memoryAdapter } from "@chatpack/adapter-memory"; const chat = chatpack({ storage: memoryAdapter(), auth: async (req) => getSessionUser(req), }); const { id } = await chat.api.getOrCreateConversation({ userId: "user_alice", otherUserId: "user_bob", }); await chat.api.sendMessage({ userId: "user_alice", conversationId: id, body: "Hey, it works!", });




