ulysse
Version:
A simple CLI tool for blocking your distracting apps and websites
84 lines (61 loc) • 3.19 kB
Markdown
# Ulysse
[](https://www.npmjs.com/package/ulysse)
[](https://raw.githubusercontent.com/johackim/ulysse/master/LICENSE.txt)
Ulysse is a simple CLI tool for blocking your distracting apps and websites.
Prevent distractions by blocking your most distracting apps and websites, even if you are the administrator of your computer.
> [!WARNING]
> The shield mode block root access to your computer and can block you from disabling Ulysse.
>
> Make sure to remember your password.
>
> If you are blocked, you can still disable Ulysse by running the following commands from a live USB:
>
> ```bash
> rm /etc/sudoers.d/ulysse
> usermod -s /bin/bash root # Or edit /etc/passwd file
> echo 'nameserver 9.9.9.9' | tee /etc/resolv.conf
> ```
## 📋 Requirements
- X11
- Linux
- Systemd
- Node.js >= 14.0.0
## ✨ Features
- [x] Block your distracting apps and websites
- [x] Shield mode (no way to bypass)
## 📦 Installation
```bash
npm i -g ulysse
```
## 📖 Usage
```txt
Usage: ulysse [options] [command]
A simple CLI tool for blocking your distracting apps and websites.
Options:
-v, --version Show the version and exit
-h, --help Show this help message and exit
Commands:
daemon Start the Ulysse daemon
blocklist Manage the blocklist
whitelist Manage the whitelist
shield Enable or disable the shield mode
help [command] display help for command
Examples:
ulysse daemon start
ulysse blocklist add --app firefox
ulysse whitelist add --website wikipedia.org
ulysse blocklist add --website youtube.com -t 8h-20h
ulysse shield enable
```
## 🎁 Support me
Please support me with a one-time or a monthly donation and help me continue my activities.
[](https://github.com/sponsors/johackim/)
[](https://ko-fi.com/johackim)
[](https://www.buymeacoffee.com/johackim)
[](https://liberapay.com/johackim/donate)
[](https://github.com/johackim)
[](https://mastodon.ethibox.fr/@johackim)
[](https://twitter.com/_johackim)
## 📜 License
This project is licensed under the GNU GPL v3.0 - see the [LICENSE.txt](https://raw.githubusercontent.com/johackim/ulysse/master/LICENSE.txt) file for details
**Free Software, Hell Yeah!**