Skip to content
Keshavkumar04Public

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Pawtner

🎥 Create custom AI agents and have real video meetings with them

Next.js TypeScript tRPC Drizzle Stream OpenAI Tailwind CSS

Live Demo

🧭 Overview

Pawtner is an AI meeting platform where you don't just talk about AI — you talk to it. Create your own AI agents, each with custom instructions and a personality, then start a video meeting and have the agent join the call and converse with you in real time using voice.

Every meeting is recorded, transcribed, and summarized, so you walk away with a searchable record of what was discussed — and can even chat about the meeting afterwards.

✨ Features

  • 🤖 Custom AI agents — define each agent's name, instructions, and behavior
  • 🎥 Live video meetings — real-time calls powered by Stream Video
  • 🗣️ Real-time AI conversation — the agent speaks and listens via OpenAI's Realtime API
  • 📝 Transcripts & summaries — automatic post-meeting recap
  • ⏪ Recordings & playback — revisit any meeting
  • 🔎 Searchable transcripts — jump straight to what matters
  • 💬 Post-meeting chat — ask follow-up questions about a meeting
  • 💳 Subscriptions — usage-based billing via Polar
  • 🔐 Authentication — secure accounts with better-auth

🛠️ Tech Stack

Layer Technologies
Framework Next.js (App Router), React, TypeScript
API tRPC, TanStack Query
Database Neon (PostgreSQL), Drizzle ORM
Video & Chat Stream Video SDK, Stream Chat
AI OpenAI Realtime API, Inngest Agent Kit
Jobs Inngest
Auth better-auth
Payments Polar
UI Tailwind CSS, Radix UI, shadcn/ui, Recharts

🚀 Getting Started

Prerequisites

  • Node.js 18+ and npm
  • A Neon (or any PostgreSQL) database
  • Accounts for: Stream, OpenAI, Inngest, Polar

Installation

# 1. Clone the repository
git clone https://github.com/Keshavkumar04/Pawtner.git
cd Pawtner

# 2. Install dependencies
npm install

# 3. Set up environment variables (see below)
cp .env.example .env

# 4. Push the database schema
npm run db:push

# 5. Start the dev server
npm run dev

Open http://localhost:3000 in your browser.

Environment Variables

Create a .env file in the project root (confirm exact key names against the source):

DATABASE_URL="postgresql://..."          # Neon

# better-auth
BETTER_AUTH_SECRET=""
BETTER_AUTH_URL="http://localhost:3000"

# Stream (video + chat)
NEXT_PUBLIC_STREAM_VIDEO_API_KEY=""
STREAM_VIDEO_SECRET_KEY=""
NEXT_PUBLIC_STREAM_CHAT_API_KEY=""
STREAM_CHAT_SECRET_KEY=""

# OpenAI
OPENAI_API_KEY=""

# Inngest
INNGEST_EVENT_KEY=""
INNGEST_SIGNING_KEY=""

# Polar (billing)
POLAR_ACCESS_TOKEN=""

📜 Scripts

Command Description
npm run dev Start the development server
npm run build Build for production
npm run start Run the production build
npm run db:push Push the Drizzle schema to the database
npm run db:studio Open Drizzle Studio

📁 Project Structure

Pawtner/
└── src/
    ├── app/
    │   ├── (auth)/        # Sign-in
    │   ├── (dashboard)/   # Agents, meetings, upgrade
    │   ├── call/          # Live video call screens
    │   └── api/           # auth, trpc, inngest, webhooks
    ├── components/        # UI components (incl. shadcn/ui)
    ├── db/                # Drizzle schema & client
    ├── inngest/           # AI agent functions
    └── lib/               # Auth, avatars, fonts, helpers

Built with 🐾 by Keshav Kumar

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages