Karanji is Maharashtra's crisp, half-moon pastry with a sweet filling of dry coconut, poppy seeds, nuts and sugar. It is a fixed part of the Diwali faral, the tray of homemade snacks and sweets, and is also made for Ganesh Chaturthi. North India knows its cousin as gujiya, which is usually filled with khoya.
At home it is a stiff maida dough, a dry roasted filling and some patient frying on a low flame. Because the filling has no khoya, karanji keep well for days, which is why they are made in big batches before a festival. This is Hebbar's Kitchen's traditional coconut version. The same page also shows a layered karanji, but the list here is for the classic one.