Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

65 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ•’βš‘ ChronoPulse β€” Next-Gen Immersive Smart Clock Suite

Next.js React Tailwind CSS MongoDB Atlas Web Audio API

ChronoPulse (ZenithClock) is a hyper-aesthetic, high-performance web-based Smart Clock suite built with Next.js, React, Tailwind CSS, JavaScript, and MongoDB Atlas. It seamlessly fuses timekeeping, productivity tools, interactive world time maps, procedural soundscapes, and alarm wake-up challenges into a modern glassmorphism interface.


✨ Features Breakdown

1. πŸ•’ Smart Clock & Bedtime Calculator

  • Dual Display Modes: Digital LED display & SVG Analog clock with real-time hour, minute, and second hands.
  • Sleep Cycle Calculator: Calculates optimal 90-minute REM sleep wake-up times if sleeping right now.
  • Day Progress Tracker: Visual progress bar tracking percentage of the 24-hour day elapsed.
  • 5 Aesthetic Themes: Cyber Neon, Aurora Emerald, Obsidian Purple, Sunburst Gold, Midnight Slate.

2. ⏰ Alarms with Wake-Up Challenges

  • Recurring Alarms: Set alarms for specific days of the week with custom labels.
  • Web Audio Synthesizer Tones: Built-in synthesizer for Radar Pulse, Gentle Chime, and Retro Synthwave (no external MP3 dependency!).
  • Math Wake-Up Challenge: Heavy sleeper mode requiring math problem resolution to turn off the alarm.
  • Cloud & Local Storage: Automatic persistence via MongoDB Atlas API with LocalStorage fallback.

3. 🌐 Interactive World Time & Converter

  • Searchable Directory: Browse 30+ major international cities with live digital clock cards and UTC offsets.
  • Interactive Day/Night Map: Visual globe projection rendering day and night regions.
  • Timezone Converter Slider: Drag a preview slider to calculate target local hours across all pinned cities simultaneously.

4. ⏳ Multi-Timer & Quick Presets

  • Simultaneous Countdown Timers: Run multiple timers concurrently with animated circular SVG progress rings.
  • Quick Presets: Pomodoro (25m), Tea & Coffee (5m), Power Nap (15m), Workout (45m).
  • Celebration Audio & Visuals: Synthesized completion chimes and confetti animations.

5. ⏱️ Millisecond Precision Stopwatch

  • High-Precision Timer: Millisecond accurate stopwatch counter (HH:MM:SS.ms).
  • Lap Analytics: Automatically highlights Fastest Lap (Emerald Green) and Slowest Lap (Rose Red).
  • CSV Data Export: One-click export of lap history tables into .csv spreadsheets.

6. 🎧 Focus Pomodoro Studio

  • Productivity Work/Break Cycles: Structured Work (25m), Short Break (5m), and Long Break (15m) phases.
  • Streak & Completed Counter: Real-time streak tracking with inspirational productivity quotes.
  • Procedural Ambient Soundscapes: Built-in Web Audio API noise generator (Rainstorm, Ocean Waves, Deep Space).

πŸ› οΈ Tech Stack


πŸš€ Getting Started

1. Clone the Repository

git clone https://github.com/CodeWithBasu/ZenithClock.git
cd ZenithClock

2. Install Dependencies

npm install

3. Configure MongoDB Atlas (Optional)

Create a .env.local file in the root directory:

MONGODB_URI=mongodb+srv://<username>:<password>@cluster.mongodb.net/chronopulse?retryWrites=true&w=majority

(Note: If MONGODB_URI is omitted, ChronoPulse will automatically operate using client-side LocalStorage persistence).

4. Run Development Server

npm run dev

Open http://localhost:3000 in your browser to experience ChronoPulse!


πŸ“œ License

Distributed under the MIT License. Built with πŸ’– for developers & time-management enthusiasts.

About

πŸ•’βš‘ ChronoPulse β€” A hyper-aesthetic Next.js Smart Clock suite featuring Interactive World Time maps, Alarms with wake-up challenges, Multi-Timers, Precision Stopwatch with lap analytics, Ambient Soundscapes, Focus Pomodoro, and MongoDB Atlas cloud sync.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages