Me, too. I hate the big "presents" the neighborhood cats leave. Why couldn't they fixate on my compost heap?
I bought a bag of cheap, hot "pizza peppers" - Thai chili peppers? Small, bright red, hot.
Then I ground them up with a coffee grinder and sprinkled hevaily. That worked ... until rain. I thoguht I might get volunteer peppers, but either the seeds were chopped or its much too cool here.
I hear that cayenne pepper can be cheap.
Only one thing I know stands up to rain: chicken wire!