← back to Dear Bubbe Nextjs

README.md

82 lines

# Dear Bubbe - AI Grandmother Chat

**⭐ This is the MAIN APPLICATION for bubbe.ai ⭐**

An AI-powered chat interface where you can talk to Bubbe, a wise (and slightly guilt-tripping) Jewish grandmother who gives life advice, shares recipes, and responds with characteristic warmth and humor.

> **Quick Start**: See [SETUP-COMPLETE.md](./SETUP-COMPLETE.md) for full documentation

## Live Site

- Production: https://www.bubbe.ai
- API Backend: Port 7800 (Express.js)
- Frontend: Port 3011 (Next.js)

## Features

- AI-powered chat with Bubbe's personality
- ElevenLabs text-to-speech integration (voice toggle)
- Multiple personality modes: Bubbe, Meshugana, Comedian
- Session tracking with guilt-trip greetings based on time away
- Nudge system (reminds you to respond after 2 minutes, up to 3 times)
- Image upload support
- Conversation logging for social media
- Cloudflare cache integration

## Quick Commands

### Purge Cloudflare Cache & Restart
```bash
./purge-cache.sh
```
See [CLOUDFLARE-SETUP.md](./CLOUDFLARE-SETUP.md) for setup instructions.

### Development
```bash
npm run dev          # Run development server
npm run build        # Build for production
npm start            # Start production server
```

### Production Management
```bash
pm2 status bubbe-nextjs        # Check service status
pm2 logs bubbe-nextjs          # View logs
pm2 restart bubbe-nextjs       # Restart service
```

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.