1 unstable release
new 0.1.0 | Feb 3, 2025 |
---|
#2 in #away
14KB
261 lines
Downtime for Windows
A simple version of macOS's Downtime, which allows you to block certain websites at certain times, built for Windows.
This crate works by editing the etc/hosts
file and closing your browser until the configured time. During that time any websites that you configure will be blocked.
To install:
cargo install downtime-rs
In the future I might make this work on other OS's, but since I only use Mac and Windows, and my Mac already has this feature built in ... probably not
See settings.toml
Todo
- Make it run at startup
- Prevent killing the app
- Allow it to be bypassed by swearing on your mother that you're not gonna regret turning it off
License
Downtime for Windows is distributed under the terms of the MIT license. See LICENSE
for details.
Dependencies
~2–25MB
~330K SLoC