尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
A Progressive Web App (PWA) that shows daily Muslim prayer (namaz) times for cities in Bulgaria, following the Bulgarian Grand Mufti's calendar and calculation method (based on the Diyanet convention).檢視完整 README ↗A Progressive Web App (PWA) that shows daily Muslim prayer (namaz) times for cities in Bulgaria, following the Bulgarian Grand Mufti's calendar and calculation method (based on the Diyanet convention).
RAMADAN_PERIODS in app.js.localStorage.index.html Main page markup
app.js App logic (city selection, rendering prayer slides, themes, PWA install, consent)
style.css Styles, including light/dark themes and color presets
service-worker.js PWA offline caching (network-first app shell, stale-while-revalidate data)
manifest.json PWA manifest (icons, theme, etc.)
fallback.html Offline fallback page
privacy-policy.html Privacy policy page
time-table/ Per-city JSON files with yearly prayer times (e.g. sofia-time.json)
images/, images-rounded/ App icons and image assets
.claude/launch.json Dev server config for local preview
This is a static site with no build step or dependencies. Serve the project root with any static file server, for example:
npx serve .
or
python3 -m http.server 8000
Then open the served URL in your browser.
Each city has its own JSON file in time-table (e.g. sofia-time.json). To update times for a new year, add/update the corresponding entries in these files. The JSON is keyed by month and day only (no year), so it's treated as reusable from year to year.
Ramadan and Eid al-Fitr depend on moon sighting and are confirmed by the Bulgarian Grand Mufti's office (via the government) shortly before each year. Add the next year's dates to the RAMADAN_PERIODS array near the top of app.js once officially announced — the app simply stops marking Ramadan/Eid once the last known year in that list has passed.
Google Analytics (GA4) is wired up in app.js (GA_MEASUREMENT_ID), but the tracking script is only loaded after a visitor accepts the cookie consent banner shown on first visit. Declining means the script never loads.
This project uses Prettier for formatting (see .prettierrc).