π Website Link: https://poppynest.netlify.app/
- Frontend: HTML, CSS, JavaScript
- Framework: Vite
- Backend: Node.js with Express
- AI Chat: OpenAI API (via server)
- Database & Auth: Firebase
- Deployment: Netlify
-
π‘ Saved Data
Log-in system with email ensures that all your data is saved on any device. -
π AI Bedtime Chatbot
Talk to a gentle, comforting chatbot about anything on your mind β stress, your day, or your dreams. The chatbot can be used for emotional support, advice, journal prompts/walkthroughs, dream interpretation, and help falling asleep. -
π Emotional Memory
PoppyNest remembers the conversation context and adjusts responses based on your tone and history. -
π Journal Page
Write about your day, reflect on your feelings, or record anything that's on your mind through time/date-stamped entries. You can always edit, revisit or delete them as needed. -
π Dream Log
Keep track of your dreams over time through time/date-stamped entries. You can always edit, revisit, or delete them as needed. -
βοΈ Drawing Mode
Relaxingly doodle in Rise and Shine Mode (white canvas with pastel colors) or Goodnight Mode (black canvas with neon colors). Drawing entries are saved, date/time-stamped, and can be edited, revisited, deleted, or saved to your device as needed. -
β Rise and Shine Mode
Light mode ~ Switch the UI to soft, light pastel colors. The chatbot will auto-greet you with morning messages. -
π Goodnight Mode
Dark mode ~ Switch the UI to a sleepy, neon cyber moonlit theme. The chatbot will auto-greet you with goodnight messages. -
π Pastel/Cyber Design
Soft pastel + Neon Cyber UI designed to be calm, cozy, and sleep-friendly yet give an illuminating nighttime vibe.
PoppyNest uses prompt engineering to create an emotionally supportive tone in the chatbot responses. The AI assistant is instructed to:
- Be gentle, empathetic, and kind
- Prioritize mental well-being
- Adapt responses based on user conversations over time
This is just the beginning. Planned features include:
-
π§ββοΈ Mood Tracker & Daily Check-In
Let users log how they feel with emojis or words and track their emotional health over time. -
π Bedtime Reminders
Let users schedule gentle push notifications to open PoppyNest nightly. -
ποΈ Bedtime Stories or Affirmation Narration
Add AI-generated bedtime stories or gentle voice affirmations (Text-to-Speech). -
βοΈ Further Dream Analysis
Use NLP to better interpret or reflect on dream content with symbolic prompts. -
ποΈ Multi-Journal Views
Let users organize by day, emotion, or keyword β like a gentle mental health diary. -
𧬠Dream vs Nightmare Analytics
Use AI and algorithms to keep track of and analyze the types of dreams vs nightmares the user reports having. Create a dashboard with these reports and respective insight on what these patterns could mean. -
π± Native App Support
Package as a PWA or native iOS/Android app with Capacitor or React Native. -
π§ Phone Authentication + Verification System Add feature for logging in with phone number as well as phone & email verification system to better protect data.
-
πͺ· Personal AI Growth
Better installed long-term memory to remember the userβs themes, growth patterns, and journaling goals. Can be done through feeding more user data beyond chats, an LLM stack beyond just OpenAI, and perhaps even an LLM API with internet access (i.e. Perplexity).
git clone https://github.com/your-username/poppynest.git
cd poppynest
- In
/client/.env
:
VITE_FIREBASE_API_KEY=your-api-key
VITE_FIREBASE_AUTH_DOMAIN=your-auth-domain
VITE_FIREBASE_PROJECT_ID=your-project-id
VITE_FIREBASE_STORAGE_BUCKET=your-storage-bucket
VITE_FIREBASE_MESSAGING_SENDER_ID=your-messaging-sender-id
VITE_FIREBASE_APP_ID=your-app-id
VITE_FIREBASE_MEASUREMENT_ID=your-measurement-id
- In
/server/.env
:
OPENAI_API_KEY=your-openai-api-key
# Frontend
cd client
npm install
# Backend
cd ../server
npm install
# Terminal 1 (backend)
cd server
node server.js
# Terminal 2 (frontend)
cd client
npm run dev
Then visit http://localhost:3000
in your browser β¨
PoppyNest/ β βββ client/ # Frontend source β βββ index.html β βββ script.js β βββ style.css β βββ journal.html β βββ dreams.html β βββ firebase-config.js β βββ .env # VITE_ prefixed Firebase + OpenAI keys β βββ vite.config.js β βββ server/ # Express server to handle OpenAI API calls β βββ server.js β βββ .env # OPENAI_API_KEY β βββ netlify.toml # Netlify deployment config βββ package.json βββ README.md
PoppyNest is a wellness companion intended to support reflection, emotional awareness, and relaxation.
It is not a substitute for medical, psychological, or psychiatric advice or treatment.
If you are experiencing a mental health crisis, please seek help from a licensed professional or contact a crisis line in your area.
Made with love by Bihan Dasgupta π