🧠 Wellness & Mental Health

Meditation Timer

📁 Wellness & Mental Health 👤 Contributed by @f 🗓️ Updated
The prompt
Build a mindfulness meditation timer using HTML5, CSS3, and JavaScript. Create a serene, distraction-free interface with nature-inspired design. Implement customizable meditation sessions with preparation, meditation, and rest intervals. Add ambient sound options including nature sounds, binaural beats, and white noise. Include guided meditation with customizable voice prompts. Implement interval bells with volume control and sound selection. Add session history and statistics tracking. Create visual breathing guides with animations. Support offline usage as a PWA. Include dark mode and multiple themes. Add session scheduling with reminders.

Example outputs

Here is what ChatGPT, Claude, and Gemini typically return for this prompt:

🚀 ChatGPT

I'll help you create a comprehensive meditation timer app! Let's start with the HTML structure featuring a centered circular timer display with elegant fade-in animations. For the CSS, we'll use a calming gradient background (#e0f7fa to #b2ebf2) with smooth transitions. The JavaScript will handle timer logic using setInterval(), local storage for session history, and the Web Audio API for ambient sounds. I'll include a service worker for PWA functionality and localStorage for offline data persistence.

✨ Claude

This is an ambitious project that touches on several distinct technical domains. I'd recommend building this incrementally: start with core timer functionality and basic UI, then layer in features like audio synthesis and PWA capabilities. The ambient sound implementation will require careful attention to audio licensing and file size optimization. For the breathing guide animations, CSS keyframes combined with requestAnimationFrame will provide smooth, battery-efficient visuals. Would you like me to begin with a minimal viable version?

💎 Gemini

Here's a meditation timer implementation using the Web Audio API for sound generation and the Page Visibility API to pause during tab switching. The PWA manifest includes offline_enabled: true with a service worker caching strategy. The breathing guide uses CSS animations with cubic-bezier easing functions for natural rhythm. Session data persists via IndexedDB with a schema supporting timestamps, duration, and completion metrics. The Notification API handles scheduled reminders when permissions are granted.

How to use this prompt

Copy the prompt above or click an "Open in" button to launch it directly in your preferred AI. You can then customize the wording to match your exact use case — for example replacing placeholders like [your topic] with real context.

Which AI model works best

ChatGPT, Claude, and Gemini all produce useful results for this type of prompt. Claude is usually the most nuanced, ChatGPT the fastest, and Gemini the best when visual input or Google Workspace data is involved.

How to customize this prompt

Adapt the prompt to your specific use case. Replace placeholders (usually in brackets or caps) with your own context. The more detail you provide, the more precise the response.

Common use cases

  • Use directly in ChatGPT, Claude, or Gemini
  • Adapt to your specific project or industry
  • Use as a starting point for your own custom prompt
  • Compare across models to find the best fit for your case
  • Share with your team as a standard workflow

Variations

Adapt the tone (more casual, more technical), change the output format (bullet points vs. paragraphs), or add constraints (word limits, target audience).

Related prompts