Grate the coconut and take it along with salt, red chilies, shallots, ginger, and tamarind in a mixer jar.
Add little water and grind. Adjust and add more water as required to get a smooth paste.
Transfer to a serving bowl.
For the Tempering
Heat a small pan with oil.
Add curry leaves and mustard seeds. When the mustard seeds splutter, add the chopped shallots, hing, and saute until it browns.
Pour this over the ground chutney and combine well.
Adjust seasoning and consistency by adding as required.
Serve this with Dosa or Idli.