Wash the chillies, tomatoes and onions.
Remove the chilli stems but keep the seeds for heat; quarter the tomatoes and halve the onions.
Pack everything into a clean, large jar.
Cover with water, then pour the water off into a bowl and weigh it.
Dissolve 2% of the water's weight in salt to make the brine.
Pour the brine back over the vegetables so everything is submerged, and weigh it down.
Cover with a cloth or loose lid and ferment at 18–24 °C (65–75 °F) for 1 week, checking daily.
Strain the vegetables, keeping the brine.
Blend until smooth, adding brine little by little until it's as thick as you like.
Pour into sterilised bottles, leaving a little headspace, and seal.