Twice this January, people light one lamp at sunset wherever they are, and this page counts them. Pick your city, wait for your own sunset, tap once. You get a lamp number and a picture to send to someone you would light a lamp with.
Lamps lit so far
…
Loading the count…
Pongal evening: 2027-01-15
Sunset in your city: calculated in your browser.
Lamps lit: …
Republic Day eve: 2027-01-25
Sunset in your city: calculated in your browser.
Lamps lit: …
How it works, and what it does not do
When. The button opens from 20 minutes before your city's sunset until four hours after it, on the evening of the event in your time zone. Sunset is calculated on your device with the same open engine as the Pongal timings page (astronomy-engine, city-centre coordinates from GeoNames), so it can differ from a local almanac by a minute or two (my engine's Sankranti moments ran about 2 minutes early against Drik Panchang; method on the timings page). Pongal evening is set as 15 January 2027: Thai Pongal falls on 14 or 15 January depending on where you are and which rule you follow, so I picked one date for the shared count and did not rule on the festival.
One lamp per device per evening. The server keeps a salted hash of your connection in memory only, to stop the same device lighting twice. The hash is lost when the server restarts, so now and then a repeat can slip through; the count is a good-faith count, not an audit. It is not meant to prove anything.
Nothing about you is kept. No IP address, name, city or time zone is stored or sent: the server receives an empty request and answers with a number. The city you pick stays in your browser. The only thing stored is the total per evening. Your lamp number is remembered on your own device so you can share it again.
Rate limit. 60 requests a minute per client. Software can call the /api/v1/diya/count JSON endpoint; there is no way to light a lamp except the button, and the server refuses any lamp outside a window that covers the two evenings anywhere on Earth (03:00 UTC on the date to 11:00 UTC the next day).
It does not replace the festival. A lamp here is a number. If you are in a city with no sunset (far north in January) the page says so and lets you pick another city.