Slice Tempe into finger stick, fry til golden brown
In a food processor, mix onion, garlic water and oil, until they become a fine paste
Remove stems and seeds from chilies
Rub soaked tamarind between fingers, strain to get the juice only
Pour onion paste into a pot, followed with seeded chilies, hard shrimp paste, kafir and salam leaves, and tamarind juice. Saute to boil
Season with bouillon, galangal, brown sugar and sweet soy sauce, then stir in fried shallots
Lastly, stir in fried Tempe and roasted peanuts, coat well
Cook until liquid soaked up
Serve with rice