Dry roast the lentils:Heat a pan on medium flame, add chana dal and urad dal, and roast until golden brown. Transfer to a plate and let it cool.
Roast red chilies and curry leaves:In the same pan, add a few drops of oil, roast the dried red chilies until crispy, and then add curry leaves for a few seconds until they turn slightly crisp. Remove and set aside.
Roast the dry coconut:Now add the grated dry coconut to the pan and roast on low flame until it turns light golden and aromatic. Be careful not to burn it. Set aside to cool.
Tempering with garlic and mustard seeds:Heat the remaining oil in the pan, add mustard seeds and let them splutter. Then, add garlic (if using) and fry until golden. Add asafoetida and switch off the flame.
Combine all ingredients:Once everything cools, combine the roasted lentils, coconut, red chilies, curry leaves, tamarind, jaggery, and salt in a blender. Pulse to make a coarse powder. Avoid grinding it too fine—chutney pudi is meant to have some texture.
Store:Transfer the chutney pudi to an airtight container. It stays fresh for a few weeks at room temperature and longer if refrigerated