A beautiful Next.js application that displays a countdown timer to Iftar (the time to break fast during Ramadan) based on the user's location.
- ⏱️ Real-time countdown to Iftar (Maghrib prayer time)
- 🌃 Beautiful dark mode UI with animated elements
- 🌐 Works worldwide with accurate prayer times
- 📱 Fully responsive design for all devices
- Next.js 14 with App Router
- TypeScript
- Tailwind CSS for styling
- Luxon for date/time handling
- Axios for API requests
- IP Geolocation API (ipinfo.io)
- Prayer Times API (aladhan.com)
- Node.js 18.17 or later
- npm or yarn
-
Clone the repository:
git clone https://github.com/yourusername/iftar-countdown.git cd iftar-countdown
-
Install dependencies:
npm install # or yarn install
-
Run the development server:
npm run dev # or yarn dev
-
Open http://localhost:3000 in your browser to see the application.
This project is licensed under the MIT License - see the LICENSE file for details.
- Aladhan API for providing prayer times data
- ipinfo.io for IP geolocation services