1. Run cold water over mung beans in a colander. Drain and set aside.
2. Warm coconut oil or ghee in a large pot. Add onion, garlic, ginger and chile pepper and saute until fragrant. Add stock or water.
3. Add the mung beans and the squash, then add the rest of the vegetables and the spices. Stir well to combine all the ingredients and bring to a boil.
4. Reduce heat to a simmer and cook for 45 minutes to 1 hour, stirring occasionally, and adding more liquid if it becomes too thick. Remove from heat when everything is soft and cooked through.
5. Add optional coconut milk and stir well to combine and heat through. Add salt, taste, and adjust seasonings before serving.