concentration apps

Hi all,

I was wondering if you know of any packages for linux that block distracting social networks during the work day,while re-enabling them after hours. is that a thing?

I find them kind of ridiculous..
buuut I know they exist in the world. I cant think of any specific linux/OS ones .. but I can pretty easily imagine repurposing one of those 'parental' softwares or even using hosts/iptables/script.

get steven black's hosts file off github. it ought to do the trick. you can write a cronjob to toggle it