Commit Graph
33 Commits
Author SHA1 Message Date
abdus 17c511f973 docs: Add minimal README 2026-10-08 21:29:11 +02:00
abdus cec7f1566e feat(api): Add Swagger UI for v1 endpoints
Serve interactive docs at /api, covering only the current /api/v1/*
endpoints. Deprecated /api/diyanet/* endpoints are left undocumented.
2026-10-08 21:29:07 +02:00
abdus c3bf3eca8d feat(docker): Preseed cities database and fix multi-arch builds
Bake the GeoNames cities database into the image at build time instead
of relying on host-mounted sqlite files, and fix the Go build stage to
cross-compile for the requested target platform instead of hardcoding
amd64 (was silently broken for arm64 builds).
2026-10-08 21:29:02 +02:00
abdus dc25633f61 feat(web): Add Cloudflare Workers geolocation fallback
Add a minimal cfgeo Cloudflare Worker that returns coarse location
from Cloudflare's edge geolocation data. Use it as a fast default
location on load, preferring browser geolocation or an explicit
search/URL selection whenever those are available.
2026-10-08 21:11:07 +02:00
abdus e295a997a1 fix(web): Fix mobile header padding and narrow-viewport table overflow
Restore vh-based top padding on the app bar at <=640px (previously
overridden by a fixed value), and collapse secondary-language prayer
name alternatives at <=480px so times never scroll off-screen.
2026-10-08 21:09:19 +02:00
abdus b5aecf4304 feat(web): Add geolocation button, clear location, i18n, and spacing fixes
Add a "use my current location" button next to the search box (shown
only when no location is selected), make clearing the search box reset
selected location, prayer times, and URL coords, rebalance vertical
spacing so the clock isn't flush against the viewport edge, and
translate all UI copy based on browser language.
2026-10-08 21:00:44 +02:00
abdus b55fc2333c feat(web): Give homepage a modern Islamic theme
Deep teal/gold palette, crescent + title combined into a single app
bar with the location search, and a no-scroll flex layout that fits
the clock/table/search in the viewport on both desktop and mobile.
2026-10-08 20:48:41 +02:00
abdus 612c6ebde5 refactor(api): Bind query params 2026-02-22 23:44:52 +03:00
abdus 8ab2de40e0 feat(api): Deprecate old endpoints 2026-02-22 23:44:36 +03:00
abdus ad1a9364b8 feat(api): Add compatibility layer for API v1 2026-02-22 18:39:14 +03:00
abdus 82f252f32f refactor(pkg/diyanetcalc): Encapsulate the algo + add adapter 2026-02-22 10:39:10 +03:00
abdus 9cfa7f2dcf fix: Use better algo (Meeus Ch.25) for estimating sun position when calculating prayer times 2026-02-22 00:47:14 +03:00
abdus 45100d4a68 ci: Add Docker support 2026-02-21 02:07:22 +03:00
abdus 960e6f713a feat: Sync location with query param / hash 2026-02-21 02:07:22 +03:00
abdus c106d57fe6 feat: Return location info and Hijri date from the prayer times endpoint 2026-02-21 02:07:22 +03:00
abdus 07a9703a89 feat: Update UI 2026-02-21 01:50:59 +03:00
abdus a53b200c21 feat: Add location search 2026-02-21 01:50:59 +03:00
abdus 26af8af8a9 feat: Add location search 2026-02-21 01:50:59 +03:00
abdus f520473ed3 feat: Add calculated prayer times provider 2026-02-21 01:50:59 +03:00
abdus 92568ad4e2 chore: Upgrade to Fiber v3 2026-02-21 01:50:59 +03:00
abdus 73316d4e62 feat: Rewrite to use the Diyanet API 2026-02-21 01:50:59 +03:00
abdus 43d4560fbb fix: Fix tests 2026-02-20 22:25:24 +03:00
abdus d102524146 fix(pkg/diyanet): Handle updates to the page structure 2023-04-06 12:22:17 +02:00
abdus 9530733291 fix: Use different names for providers 2023-04-06 12:00:23 +02:00
abdus b7cff25907 fix: Disable internal API for now 2023-04-06 11:53:42 +02:00
abdus ccc04dd9ee fix: Return date as a string instead of local time 2023-04-05 07:48:19 +02:00
abdus 64a4814eef fix: Fix typo in field name 2023-04-05 07:35:34 +02:00
abdus 93af84cef8 feat: Add Diyanet API provider
feat: Add UI
2023-03-05 14:41:38 +01:00
abdus d4ff42387f fix: Compare days at 00:00 o'clock 2023-03-05 14:38:30 +01:00
abdus c04edf7dc5 fix: Add API version 2023-03-04 23:35:30 +01:00
abdus 02175499da feat: Add healtcheck endpoint 2023-03-04 23:22:36 +01:00
abdus d1f67fbdb4 feat: Add API
feat: Add DB-backed time provider
2023-03-04 23:08:48 +01:00
abdus 415a6c8337 feat: Initial prototype 2023-03-04 18:56:03 +01:00