All Projects β†’ papachristoumarios β†’ Dnd.py

papachristoumarios / Dnd.py

Licence: mit
πŸ‘Œ Do not get distracted with social media by blockading them via /etc/hosts

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Dnd.py

Mern Social
A MERN stack based social media application [Full-Stack React Projects]
Stars: ✭ 288 (+1340%)
Mutual labels:  social-media
Bookwyrm
Social reading and reviewing, decentralized with ActivityPub
Stars: ✭ 483 (+2315%)
Mutual labels:  social-media
Snax
Decentralized Social Media Overlay
Stars: ✭ 18 (-10%)
Mutual labels:  social-media
Embedo
Embeds third party content to DOM with perks πŸ§™β€β™€οΈ (7kb gzip / standalone)
Stars: ✭ 327 (+1535%)
Mutual labels:  social-media
Snscrape
A social networking service scraper in Python
Stars: ✭ 433 (+2065%)
Mutual labels:  social-media
Socialscan
Python library and CLI for accurately querying username and email usage on online platforms
Stars: ✭ 538 (+2590%)
Mutual labels:  social-media
Twitter Cleanup
πŸ› Clean-up inactive accounts and bots from your Twitter
Stars: ✭ 275 (+1275%)
Mutual labels:  social-media
Nltweets
"Our corpus is tweets."
Stars: ✭ 12 (-40%)
Mutual labels:  social-media
Socioboard 4.0
Socioboard is world's first and open source Social Technology Enabler. Socioboard Core is our flagship product.
Stars: ✭ 475 (+2275%)
Mutual labels:  social-media
Socialmanagertools Igbot
πŸ€– πŸ“· Instagram Bot made with love and nodejs
Stars: ✭ 699 (+3395%)
Mutual labels:  social-media
Socialreaper
Social media scraping / data collection library for Facebook, Twitter, Reddit, YouTube, Pinterest, and Tumblr APIs
Stars: ✭ 338 (+1590%)
Mutual labels:  social-media
Aardwolf
Powering connected social communities with open software.
Stars: ✭ 379 (+1795%)
Mutual labels:  social-media
Cyphon
Open source incident management and response platform.
Stars: ✭ 543 (+2615%)
Mutual labels:  social-media
Providers
A Collection of Providers for Laravel Socialite
Stars: ✭ 301 (+1405%)
Mutual labels:  social-media
React Login Modal Sm
Customizable React Social Media login modal
Stars: ✭ 23 (+15%)
Mutual labels:  social-media
Socialhome
A federated social home
Stars: ✭ 282 (+1310%)
Mutual labels:  social-media
Twtxt
πŸ“• twtxt is a Self-Hosted, Twitterβ„’-like Decentralised microBlogging platform. No ads, no tracking, your content, your data!
Stars: ✭ 486 (+2330%)
Mutual labels:  social-media
Shrinktome
πŸ“˜Shrink facebook by 5% every 10th second. You're welcome!
Stars: ✭ 15 (-25%)
Mutual labels:  social-media
Subnode.org
SubNode: Social Media App
Stars: ✭ 25 (+25%)
Mutual labels:  social-media
Social Amnesia
Forget the past. Social Amnesia makes sure your social media accounts only show your posts from recent history, not from "that phase" 5 years ago.
Stars: ✭ 656 (+3180%)
Mutual labels:  social-media

dnd.py

Do not disturb yourself again by social media and other distracting websites.

This self-explanatory command line tool aims to put all of these websites in a corner in order to work without distractions!

It works by simply putting all these websites to /etc/hosts and redirecting them to 127.0.0.1.

Authors

  • Marios Papachristou

We accept contributions to the project under the form of pull requests.

Setup

In order to setup the script use the setup.py file provided by the project

python setup.py install

Usage

In order to block the distracting websites type in (with sudo)

sudo dnd.py -e 

You can also specify a time interval that the blockade is activated via

sudo dnd.py -e -t 1 # Interval Specified in Minutes

After one minute, you can get distracted again!

To remove the blockade use the -d flag

sudo dnd.py -d	

In case you want to experiment further, please backup /etc/hosts via

sudo dnd.py -b

And restore it anytime you want with

sudo dnd.py -r

Customization

In order to customize dnd.py for your needs you can change the following variables in dnd.py

''' Here you put the distractive websites '''
distractions = [
    'a website',
    'another website'
]

''' Here you put the redirection url '''
redirect = '127.0.0.1'

License

This tool is licensed under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].