Skip to content

Modern Shabbat times viewer for any location - available as both a web app and Chrome extension.

License

Notifications You must be signed in to change notification settings

Dor-sketch/shabbat-times

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🕯️ Shabbat Times App

Website GitHub license GitHub stars Chrome Web Store Version Chrome Web Store Users Chrome Web Store Rating

A modern, responsive web application for checking Shabbat times in Israeli cities. Available as both a web app and a Chrome extension.

App Screenshot

✨ Features

  • 🌍 Real-time Shabbat times for Israeli cities
  • 🔍 Smart city autocomplete with Hebrew and English support
  • 📍 Automatic location detection
  • 🎨 Beautiful, responsive design with dark mode
  • ⚡ Fast and lightweight
  • 🌐 Fully localized in Hebrew
  • 🔄 Automatic weekly updates

🚀 Demo

Try it live at https://dorpascal.com/shabbat-times/

🛠️ Installation

Web Version

git clone https://github.com/Dor-sketch/shabbat-times.git
cd shabbat-times
# Open index.html in your browser

Chrome Extension

  1. Visit the Chrome Web Store
  2. Click "Add to Chrome"
  3. Enjoy easy access to Shabbat times!

💻 Technologies Used

🌟 Key Features Explained

City Autocomplete

const commonCities = [
    { name: 'Tel Aviv', id: 293397, hebrew: 'תל אביב' },
    { name: 'Jerusalem', id: 281184, hebrew: 'ירושלים' },
    // ... more cities
];

Geolocation Support

if ("geolocation" in navigator) {
    navigator.geolocation.getCurrentPosition(
        (position) => {
            const { latitude, longitude } = position.coords;
            fetchCityName(latitude, longitude);
        }
    );
}

Time Calculations

function getNextFriday(date) {
    const dayOfWeek = date.getDay();
    const daysUntilFriday = (5 - dayOfWeek + 7) % 7;
    const nextFriday = new Date(date);
    nextFriday.setDate(date.getDate() + daysUntilFriday);
    return nextFriday;
}

📱 Responsive Design

The app is fully responsive and works seamlessly on:

  • 📱 Mobile phones
  • 💻 Tablets
  • 🖥️ Desktop computers

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

  • Hebcal for their excellent API
  • All contributors and users of the app
  • Special thanks to the Israeli tech community

📞 Contact

Dor Pascal - @DorPascal

Project Link: https://github.com/Dor-sketch/shabbat-times


Made with ❤️ in Israel