What I would do is a harissa hot sauce. Get your pH right and it will last as long as regular hot sauce, not 4 days. And just avoid oil. Vinegar, lemon, lime... all flavors in harissa and sambal anyway. Just a little more sharp since you are making it into sauce, which you can round out with bolder flavors and a tad more sugar.
Also, the canning recipe I linked to does not contain oil.
Or, make traditional with oil and refrigerate immediately (not after opening). These could also be gifts the same as people make chili or pasta sauce for friends just make sure they know to refrigerate immediately.
So you still have many options!