Soak the rice noodles in warm water for 20β25 minutes until pliable. Drain well.
In a bowl, whisk together fish sauce, soy sauce, tamarind paste, brown sugar, and chili.
Heat oil in a large wok over medium-high. Add garlic; stir 30 seconds until fragrant.
Add chicken or shrimp; stir-fry 4β5 minutes until cooked through.
Push to one side; pour in eggs and gently scramble.
Add drained noodles; pour the sauce over. Toss 1β2 minutes until evenly coated.
Add bean sprouts, carrot, and half the spring onions; cook 1 minute.
Off heat. Top with peanuts, remaining spring onions, coriander, and serve with lime.