4 releases
0.1.3 | Oct 5, 2024 |
---|---|
0.1.2 | Oct 4, 2024 |
0.1.1 | Oct 4, 2024 |
0.1.0 | Sep 23, 2024 |
#12 in #blocking
395 downloads per month
24KB
442 lines
Desktop App Blocker API
Desktop App Blocker API is a utility Rust crate for performing cross-platform "app blocking". Useful for productivity applications or parenting software.
This is a project I have built for my personal use. Therefore, I am being slightly selfish and putting more emphasis on the features that I need, even if that meant ignoring the greater good. 🍕
Features
- Support for Windows and macOS
- Detect/Block Task Manager or Activity Monitor
- Detect/Block terminal applications
- Detect/Block system settings
- Detect/Block installers (Windows)
- Block by window names
- Block executables (Windows)
- Block by bundle IDs (macOS)
- Structs include support for serde, bincode and specta
Usage
desktop-app-blocker-api = "0.1.0"
Features
serde
: Includes serdeSerialize
andDeserialize
derives for typesspecta
: IncludesType
derives for typesbincode
: IncludesEncode
andDecode
derives for types
Dependencies
~0–38MB
~582K SLoC