What is a good Cookies/GDPR solution that have a consent registry tool ?

I'm trying to compare saas solutions to handle cookies consent, specifically the consent registry part (storing the proof of consent, in a GDPR compliant way). I found Iubenda and Axeptio for saas solutions, but I am looking for open source scripts or cheaper alternatives. What do you all use mainly for cookies management ?