Skip to content
Projets

À propos

A monorepo for prayer schedule Website

Développement web et applicatif

Comment ces chiffres sont mesurés

What you can do

  • Today's prayer times for your location, a countdown to the next prayer, the Hijri date and the full month, plus schedules and the Ramadan imsakiyah for 51 Indonesian cities
  • Adzan reminders: the adzan plays on the web while the homepage is open, alarms that ring with the app closed on Android
  • Al-Qur'an with audio from several reciters, transliteration, translation and tafsir, plus pages for well-known ayat such as Ayat Kursi
  • Hadith by book and number, the 99 names of Allah, and sunnah fasting days from the Puasa Sunnah API

Progression mesurée des étoiles

in 24h
0
in 7 days
+1
in 15 days
+1
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

Jadwal Sholat

Prayer times, Al-Qur'an, hadith, Asma'ul Husna and sunnah fasting, on the web and Android.

Open the website

Features

  • Today's prayer times for your location, a countdown to the next prayer, the Hijri date and the full month, plus schedules and the Ramadan imsakiyah for 51 Indonesian cities
  • Adzan reminders: the adzan plays on the web while the homepage is open, alarms that ring with the app closed on Android
  • Al-Qur'an with audio from several reciters, transliteration, translation and tafsir, plus pages for well-known ayat such as Ayat Kursi
  • Hadith by book and number, the 99 names of Allah, and sunnah fasting days from the Puasa Sunnah API
  • Share a surah, an ayah or a hadith, and see the last loaded schedule offline
  • Made for every age: adjustable text and Arabic sizes, light and dark themes, keyboard and screen reader support (targets WCAG 2.2 AA)

Screenshots

Prayer schedule Sunnah fasting Al-Qur'an library
Prayer schedule on desktop Sunnah fasting schedule on desktop Al-Qur'an library on desktop
Prayer schedule Sunnah fasting Al-Qur'an reading
Prayer schedule on mobile Sunnah fasting schedule on mobile Al-Qur'an reading on mobile

Tech

The website is Astro 7 with React islands, served as static files from Cloudflare Pages, styled with Tailwind CSS v4, shadcn/ui and ReUI. The Android app uses Expo, NativeWind and React Native Reusables. Both share the code in packages/core. The monorepo runs on Bun and moon.

Getting started

You need Bun, Node.js 22.23.4 or later, and moon (also installed in the workspace as @moonrepo/cli).

git clone https://github.com/haikelz/jadwal-sholat.git
cd jadwal-sholat
bun install
cp apps/web/.env.example apps/web/.env   # then fill in the API URLs
bun run dev:web                          # http://localhost:4321
Command What it does
bun run dev:web Website dev server
bun run build:web Static website build in apps/web/dist
bun run test:web Cypress tests, with bun run preview running in apps/web
bun run test:core Unit tests for packages/core
bun run dev:mobile Android app dev server for Expo Go or a development build
bun run lint:mobile Lint the Android app
bun run build:android Preview APK on EAS

Hadith detail pages and the sunnah fasting schedule need Cloudflare's _redirects and _worker.js, which astro dev and astro preview skip. To try them locally, build the site and run bunx wrangler pages dev dist in apps/web.

Deploy

Website on Cloudflare Pages

Setting Value
Root directory apps/web
Build command cd ../.. && bun install --frozen-lockfile && cd apps/web && bun run build
Build output directory dist
Build variables SKIP_DEPENDENCY_INSTALL=1, BUN_VERSION=1.4.4, NODE_VERSION=24
API URLs ASMAUL_HUSNA_API, HADITH_API, JADWAL_SHOLAT_API, NOMINATIM_API, QURAN_API and PUASA_SUNNAH_API, as in apps/web/.env.example
Optional GOATCOUNTER_URL (the GoatCounter …/count endpoint), PUBLIC_SENTRY_DSN, and SENTRY_AUTH_TOKEN, SENTRY_ORG, SENTRY_PROJECT to upload source maps
Build watch paths apps/web/*, packages/core/*, bun.lock

CI (.github/workflows/main.yaml) runs the core tests, the type checks and the Android lint on every push to master and every pull request. It reads ASMAUL_HUSNA_API, HADITH_API, JADWAL_SHOLAT_API, NOMINATIM_API and QURAN_API from the repository variables (Settings → Secrets and variables → Actions → Variables).

Android app

Copy apps/mobile/.env.example to apps/mobile/.env, fill in the API URLs, and send them to EAS once from apps/mobile:

bunx eas-cli env:push --environment development --environment preview --environment production --path .env

bun run dev:mobile previews the app in Expo Go. Adzan sounds and background tasks need a development build: bunx eas-cli build --platform android --profile development. Native code compiles on EAS, so you don't need Android Studio.

Project layout

Path Contents
apps/web The website
apps/mobile The Android app
packages/core Code both apps share: API schemas, prayer times, the adzan schedule, dates and bundled data
packages/typescript-config Shared TypeScript configs

Contributor rules are in AGENTS.md and the design rules in apps/web/DESIGN.md.

Activity

Support

Inspired by islamiah.vercel.app. Released under the MIT license.

Explorer des projets similaires

Chargement…