Help with Auto-delegating to validator

At the moment I’m successfully validating on the gaia-9002 testnet.


I am still manually delegating the validating rewards or inflation to the validator. I’m not sure how to automate this. Is there already a shared repo or example shared ? If not would someone be willing to help me out.