Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bishwas-py/host-manager
host-manager is a script that deals with /etc/hosts
https://github.com/bishwas-py/host-manager
distraction-free education productivity python
Last synced: 11 days ago
JSON representation
host-manager is a script that deals with /etc/hosts
- Host: GitHub
- URL: https://github.com/bishwas-py/host-manager
- Owner: Bishwas-py
- Created: 2022-07-14T12:46:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-14T12:46:52.000Z (over 2 years ago)
- Last Synced: 2024-12-14T21:35:44.062Z (2 months ago)
- Topics: distraction-free, education, productivity, python
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Host Manager
This is host manager, written in Python langauge. A `/etc/hosts` scripter. This helps you to ban **distracting** websites
like `facebook.com`, `p*.com` or `instagram.com`.## Installation
Here's how you can install it...First, download it...
```shell
cd ~/username/MyApps
# or any_other_pathgit clone https://github.com/bishwas-py/host-manager.git
cd ./host-manager
```After downloading, copy it to `/bin/` or we can say "Bin it"...
```shell
sudo cp do-host.py /bin/dost
```Now, use it...
```shell
sudo dost 'www.messenger.com' -b
or
sudo dost 'www.facebook.com' --ban-domain
# give sudo privilege if required
```Those, distracting sites are now banned.