Grill the whole eggplant on the stove top burner or if you want in the oven, but it will not have the same smokey taste.
With a fork or the tip of a knife peel the skin on the eggplant then smashed it into a purée.
Finely chopped the onion and chili.
Smash the chili, salt and onion with a mortar and pestle.
In a bowl mixm the chili & onion mix with the eggplant puree, then add the oil and the vinegar or the lemon juice.
Serve over rice with green onion and cilantro on top.