Take ½ cup ghee in a karahi (wok) and heat it gently on low-medium heat. Add two cups whole wheat flour (atta) and stir it continuously with a spoon. Keep stirring it in a to and fro motion until the flour turns brown (25 minutes). Transfer the flour to a big bowl and wipe off the karahi with some kitchen paper so that it is ready for the next ingredient.
Add one tablespoon ghee to the karahi and heat it on low-medium heat. Add the semolina and stir it gently and continuously with a spoon until it is golden brown in color (10 minutes). Transfer the roasted semolina to the same bowl as above. Wipe off the excess semolina grains and oil from the karahi.
Roast the cashews in ½ teaspoon ghee until golden brown (1 minute) and keep aside.
Roast the almonds in ½ teaspoon ghee until golden brown (1 minute) and keep aside.
Roast the coconut flakes in ½ teaspoon ghee until golden brown (30 seconds) and keep aside.
Roast the melon seeds in ½ teaspoon ghee until golden brown (30 seconds) and keep aside.
Roast the edible gum crystals in ½ teaspoon ghee until they puff up and turn white (30 seconds) and keep aside.
Roast the fox nuts in 1 tablespoon ghee until golden brown (2 minutes)and keep aside.
Put the cashews, almonds, coconut flakes, edible gum, and fox nuts in a mortar and pestle and crush them into small pieces. Or use a food processor to pulse the ingredients into rough bits. Add these crushed nuts to the big bowl.
Tip in the melon seeds, powdered jaggery, cardamom and ginger powders to the bowl. Take a large spoon and combine all the ingredients until well mixed. Your panjeeri is now ready to be eaten.