Skip to content

yani2298/salat-now

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

510 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ•Œ Salat Now

Professional macOS menu bar application for Islamic prayer times

macOS Swift License: MIT NPM Package GitHub Package Registry

Salat Now Icon

Discreet, accurate, and beautiful prayer times in your macOS menu bar

CleanShot 2025-07-30 at 20 51 46 CleanShot 2025-07-30 at 20 52 02

Download Latest Release โ€ข View Documentation โ€ข Report Issue


๐Ÿ“‹ About

Salat Now is a professional macOS menu bar application designed for Muslim professionals who need quick, discreet access to accurate prayer times without leaving their workflow.

Built specifically for macOS, it integrates seamlessly into your menu bar, providing prayer times, weather information, and Hijri calendar data at a glance.

๐ŸŽฏ Key Features

  • ๐Ÿ–ฅ๏ธ Native macOS Menu Bar Integration - Quick access without interrupting your work
  • ๐Ÿ•ฐ๏ธ Accurate Prayer Times - Multiple calculation methods (ISNA, MWL, Karachi, etc.)
  • ๐ŸŒ Global Location Support - Automatic city detection or manual selection
  • ๐ŸŒค๏ธ Weather Integration - Current conditions alongside prayer times
  • ๐ŸŒ™ Hijri Calendar - Islamic date display with important events
  • ๐Ÿ”” Smart Notifications - Customizable prayer reminders
  • โš™๏ธ Professional Interface - Clean, minimal design that respects your workflow
  • ๐Ÿ”’ Privacy First - No data collection, works offline
  • ๐Ÿ†“ Completely Free - No subscriptions, no ads, open source

๐Ÿš€ Installation

Download for macOS

  1. Download the latest release from GitHub Releases
  2. Unzip the downloaded file
  3. Move Salat Now.app to your /Applications folder
  4. Launch the app - it will appear in your menu bar
  5. Grant location permission for automatic prayer times (optional)

System Requirements

  • macOS 10.15 (Catalina) or later
  • Location Services (optional, for automatic city detection)

๐Ÿ“ฆ NPM Package

The prayer calculation engine is also available as a standalone npm package for developers building Islamic applications.

Installation

# Public npm registry
npm install salat-times-calculator

# GitHub Package Registry  
npm install @yani2298/salat-times-calculator

Quick Usage

import { SalatTimesCalculator, CalculationMethod } from 'salat-times-calculator';

const calculator = new SalatTimesCalculator();

// Get prayer times for any city
const prayerTimes = await calculator.getPrayerTimes({
  city: 'Paris',
  country: 'France',
  calculationMethod: CalculationMethod.ISNA
});

console.log('Next prayer:', calculator.getCurrentPrayer(prayerTimes));

๐Ÿ“š Documentation: View npm package โ€ข View GitHub package


๐Ÿ› ๏ธ Development

Prerequisites

  • Node.js 18.0+
  • macOS development environment
  • Xcode Command Line Tools

Setup

# Clone the repository
git clone https://github.com/yani2298/salat-now.git
cd salat-now

# Install dependencies
npm install

# Start development server
npm run electron:dev

# Build for production
npm run electron:build

Project Structure

salat-now/
โ”œโ”€โ”€ src/                    # React application source
โ”‚   โ”œโ”€โ”€ components/         # UI components
โ”‚   โ”œโ”€โ”€ services/          # Prayer times, weather, location services
โ”‚   โ””โ”€โ”€ types/             # TypeScript definitions
โ”œโ”€โ”€ electron/              # Electron main process
โ”œโ”€โ”€ public/                # Static assets
โ””โ”€โ”€ build/                 # Production builds

๐Ÿ—๏ธ Architecture

Salat Now follows a clean, modular architecture optimized for menu bar applications:

  • Frontend: React 19 with TypeScript for type safety and modern UI patterns
  • Backend: Electron for native macOS integration and menu bar functionality
  • API Integration: Aladhan API for accurate prayer calculations
  • State Management: React hooks with local storage persistence
  • Styling: Tailwind CSS for consistent, maintainable design

๐Ÿ”ง Technologies

Category Technology
Framework Electron + React 19
Language TypeScript
Styling Tailwind CSS
APIs Aladhan Prayer Times API
Build System Vite
Testing Jest (planned)

๐ŸŒ Internationalization

Current Language: French ๐Ÿ‡ซ๐Ÿ‡ท

Seeking Contributors for translation to:

  • Arabic ๐Ÿ‡ธ๐Ÿ‡ฆ (ุนุฑุจูŠ)
  • English ๐Ÿ‡บ๐Ÿ‡ธ
  • Urdu ๐Ÿ‡ต๐Ÿ‡ฐ (ุงุฑุฏูˆ)
  • Indonesian ๐Ÿ‡ฎ๐Ÿ‡ฉ (Bahasa Indonesia)
  • Turkish ๐Ÿ‡น๐Ÿ‡ท (Tรผrkรงe)
  • Malay ๐Ÿ‡ฒ๐Ÿ‡พ (Bahasa Melayu)

Request Translation โ€ข Translation Guide


๐Ÿค Contributing

We welcome contributions from the global Muslim developer community!

Ways to Contribute

  • ๐Ÿ› Report bugs using our issue templates
  • ๐Ÿ’ก Suggest features for improving the user experience
  • ๐ŸŒ Add translations to make the app accessible globally
  • ๐Ÿ“ Improve documentation for better developer experience
  • ๐Ÿ”ง Submit pull requests for bug fixes or enhancements

Development Guidelines

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

Please read our Contributing Guide for detailed information.


๐Ÿ“„ License

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


๐Ÿ‘จโ€๐Ÿ’ป Author

Anis Mosbah (@yani2298)


๐Ÿ™ Acknowledgments

  • Aladhan API - Reliable Islamic prayer times calculations
  • Islamic Network - Open source Islamic software inspiration
  • macOS Developer Community - Menu bar app best practices
  • Global Muslim Developers - Feature requests and testing

๐Ÿ—บ๏ธ Roadmap

๐ŸŽฏ Short Term (Q1 2025)

  • English translation completion
  • Arabic RTL support implementation
  • Advanced notification customization
  • Prayer time adjustments UI enhancement

๐Ÿš€ Medium Term (Q2-Q3 2025)

  • Multiple location support for travelers
  • Qibla direction indicator
  • Islamic calendar events integration
  • Community prayer times sharing

๐ŸŒŸ Long Term (Q4 2025+)

  • iOS companion app for seamless sync
  • Widget support for macOS Big Sur+
  • Apple Watch complications
  • Mosque finder integration

Made with โค๏ธ for the global Muslim community

โญ Star this repository if it helps you in your daily prayers

Report Bug โ€ข Request Feature โ€ข Join Discussion

// Updated: 2025-07-29T19:15:49.072Z

// Updated: 2025-07-29T19:15:51.545Z