A modern, interactive AI conversation interface built with Next.js, Neon and ElevenLabs. This application provides a seamless way to have voice conversations with an AI assistant and sync them in your serverless Postgres.
- Real-time voice conversations with AI
- Beautiful animated interface
- Dark mode support
- Persistent conversation history
- Edge runtime support
- Responsive design
- Framework: Next.js 15
- Styling: Tailwind
- Animation: Framer Motion
- Database: Neon
- AI Integration: ElevenLabs API
- Clone the repository:
git clone https://github.com/neondatabase-labs/pulse
cd pulse
-
Run
npm install
andnpm run schema
to install dependencies and set the relevant schema in your Neon database. -
Create a
.env
file in the root directory with the following variables:
# Grab Agent ID from https://elevenlabs.io/app/conversational-ai
AGENT_ID="..."
# Grab API Key from https://elevenlabs.io/app/settings/api-keys
XI_API_KEY="..."
# Grab a connection string from https://console.neon.tech
DATABASE_URL="postgresql://neondb_owner:[email protected]/neondb?sslmode=require"
- Run the development server:
npm run dev
- Open http://localhost:3000 with your browser to see the result.
/app
- Next.js app directory containing routes and layouts/components
- Reusable React components
DATABASE_URL
: Neon database connection stringXI_API_KEY
: ElevenLabs API keyAGENT_ID
: ElevenLabs agent ID
This project is licensed under the MIT License - see the LICENSE file for details.
- Raouf Chebri (@_raoufai)
- Rishi Raj Jain (@rishi_raj_jain_)