downtime-rs

Crates.iodowntime-rs
lib.rsdowntime-rs
version
sourcesrc
created_at2025-02-03 00:50:21.726817
updated_at2025-02-03 00:50:21.726817
descriptionDowntime for Windows allows you to set a schedule for time away from the screen. During downtime, blocked websites and will be completely inaccessible
homepage
repositoryhttps://github.com/NotAFlyingGoose/downtime-rs
max_upload_size
id1539987
Cargo.toml error:TOML parse error at line 22, column 1 | 22 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
goose++ (NotAFlyingGoose)

documentation

README

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.

Commit count: 3

cargo fmt