I have NextDNS profiles on my phone and PC that block problematic sites, as well as the settings dashboard itself to stop me touching it unless I'm on my tablet.
+1 for NextDNS.
Last week I experimented with building a Brick[0]-like solution from my Android phone, by using an old badge I had lying around acting as an NFC trigger to launch a Tasker automation that enables/disables filtering profiles in NextDNS via REST API.
It's working nicely, although it takes a while to effectively enable/disable filtering, I assume because of DNS caching on the phone.
Also sometimes I actually need YouTube/Reddit/Instagram/etc. to look up something, so for now I settled on the slightly less nuclear option of using ScreenZen[1] to make my app opening a tad bit more mindful. I sometimes found myself going around the restricted app opening count/time limits by using my iPad, but overall my mindless screen time is decreasing, so I don't stress it too much.
I don't have any issues with notifications really as I usually set them up to only receive what I deem important from the get go when I install a new app, and I also have Do Not Disturb and Routines enabled most of the time, plus a smartwatch to take a quick glimpse at messages if needed.
0xf3ffff|5 months ago
[0] https://getbrick.app/ [1] https://www.screenzen.co/