Salaty is a clean, modern, and responsive web application designed to help Muslims easily track prayer-related times. It automatically detects your location to provide accurate timings and offers a beautiful, user-friendly interface with both light and dark modes.
- 📍 Automatic & Manual Location: Automatically detects your location on load or allows you to search for any city worldwide.
- 🕌 Essential Timings: Calculates and displays key Islamic times:
- Sunrise (الشروق)
- Sunset (الغروب)
- Midnight (منتصف الليل)
- Last Third of the Night (الثلث الأخير من الليل)
- 📅 Dual Calendars: Shows the current date in both Gregorian and Hijri formats.
- 🕰️ Live Clock: A digital clock that updates every minute.
- 🎨 Dual Themes: A beautiful and easy-on-the-eyes interface with a toggle for Light and Dark modes.
- 🌐 Multi-Language Support: Fully functional in both English and Arabic (العربية), with an easy toggle.
- 📱 Responsive Design: Looks and works great on desktops, tablets, and mobile phones.
- ⚙️ Persistent Settings: Your preferred language and theme are saved in your browser for your next visit.
- 💨 Lightweight & Fast: Built with vanilla HTML, CSS, and JavaScript for a quick and smooth experience.
Click here to view the live application!
- Nominatim (OpenStreetMap): For forward and reverse geocoding (finding coordinates from city names and vice-versa).
- Sunrise-Sunset.org API: To get sunrise and sunset times based on geographic coordinates.
- TimeAPI.io: To accurately determine the local timezone from coordinates.
- Browser
Intl
API: For robust date, time, and number formatting, including the Hijri calendar (u-ca-islamic
). -->
Contributions, issues, and feature requests are welcome! Feel free to check the issues page if you want to contribute.
This project is licensed under the MIT License. See the LICENSE.md file for details.