I just watch YouTube signed out in Safari. It is very easy to build your algorithm from there. I don't mind the ads since I don't watch YouTube mainly on my phone and I occasionally clear cookies.
You can also install Orion Browser, made by Kagi creators of a privacy focused paid search engine, which supports Firefox extensions like uBLock but I don't think it is open source right now but It will be soon.
Love that you mentioned Libredirect! I don't like how maps redirects to OpenStreetMap though, why not just redirect to Duck Maps, which uses Apple Maps.