tvl-depot/tools/website-blocker/rules.json
William Carroll 37bb04eb5d Start social-fasting app
I'd like to ensure that my /etc/hosts file blocks websites at certains times. I
use this to allow / disallow websites at various times of the day.

TODO:
- Add project README
- Add tests
- Publish
- Create a Nix derivation
- Run as a systemd timer unit
- Figure out if I can run this as a user rather than root
2020-03-28 19:36:13 +00:00

26 lines
384 B
JSON

[
{
"urls": [
"facebook.com",
"www.facebook.com",
"twitter.com",
"www.twitter.com",
"youtube.com"
"www.youtube.com"
"instagram.com"
"www.instagram.com"
],
"allowed": []
},
{
"urls": [
"chat.googleplex.com"
],
"allowed": [
{
"day": "Tuesday",
"timeslots": []
}
]
}
]