aniketpanjwani / chomper

Internet blocker for the Linux desktop.
https://addictedto.tech/chomper/
GNU General Public License v3.0
354 stars 43 forks source link

Progressive block #50

Open snorkel123 opened 5 years ago

snorkel123 commented 5 years ago

Note: for support questions, please use Gitter. This repository's issues are reserved for feature requests and bug reports.

aniketpanjwani commented 5 years ago

This would be tricky to implement with the block lists stored in a YAML file (as they are now), since if you can edit the YAML file, you can both add sites and remove sites.

If all block lists were stored in a local SQLite database, this would be possible. While a block is "on", you could prevent delete queries, but allow insert queries. There could be some subcommands to do these queries, e.g. "chomper add listname url" and "chomper remove listname url".