I don't have a recipe but checked the ingredients on a jar I bought. They are: chili, garlic, vinegar, salt, sugar, corn starch, MSG, and sodium benzoate added as a preservative. If you have lots of chilies to play with I'd suggest just mixing the first three items to taste and then adding a little salt and sugar at a time until it tastes right. The cornstarch (I think) is probably for texture more than taste so I'd get the flavor right before playing with that. I'd also ignore the last two items; with the vinegar and salt and proper refrigeration this stuff should keep fine for a while. Oh, and it's best to work with small batches when experimenting, and measure (and document) everything. Then when you're satisfied with the mix you can increase everything in proportion for the big batch.
Also, depending on the kind of chilies you're using you might want to roast and/or seed them before you chop them. Good luck, and please let us know how it comes out! I love chilies and I put garlic in just about everything but ice cream. (Haven't tried that yet....)