Giter Site home page Giter Site logo

nullclick's Introduction

nullclick

Tool for blocking Click-Bait sites via system specific host file.

Depends on Python 2.7.* No third party libraries required.

Supported:

  • Linux, OSX, Windows

Installation:

Usage:

usage: nullclick [-h] [-a DOMAIN [DOMAIN ...]] [-r DOMAIN [DOMAIN ...]] [-t DOMAIN] [-l FILE] [-p] [-d] [-i] [-u] [-s]

Tool for blocking click-bait sites via system host file.

optional arguments:
-h, --help    show this help message and exit
-a DOMAIN [DOMAIN ...], --add DOMAIN [DOMAIN ...]    Add domain name(s) to block list.
-r DOMAIN [DOMAIN ...], --remove DOMAIN [DOMAIN ...]    Remove domain name(s) from block list.
-t DOMAIN, --toggle DOMAIN    Toggle access to single domain.
-l FILE, --list FILE    Add domain names from file to block list.
-p, --print-list    Print block list or block list after current actions.
-d, --update    Update block list from project repository.
-i, --install    Install block list into system host file.
-u, --uninstall    Remove block list from system host file.
-s, --shell    Enter interactive shell.

nullclick's People

Contributors

eoa avatar themson avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

maznika nullffff

nullclick's Issues

Move block list class object.

Given that multiple functions rebuiled structure or reaccess data it would more correct to create a blocklist object to manipulate thoughout use.

No check for block list presence in add_site()

Allows user to attemp to add a site when list isnt present. Does not push to host file, but does not indicate to user lack of list presense.

./nullbait.py

  1. Add site to block list.
  2. Remove site from block list.
  3. Toggle site state.
  4. Update block list.
  5. Print all block list.
  6. Exit
  7. Install/Uninstall block list.

: 0

  • Uninstall block list?
    yes/no ?: yes
  • Block list removed.
  1. Add site to block list.
  2. Remove site from block list.
  3. Toggle site state.
  4. Update block list.
  5. Print all block list.
  6. Exit
  7. Install/Uninstall block list.

: 1

Domain name?: test.com

  • Added to block list:
    test.com
  1. Add site to block list.
  2. Remove site from block list.
  3. Toggle site state.
  4. Update block list.
  5. Print all block list.
  6. Exit
  7. Install/Uninstall block list.

: 5

*** Current Block List ***

  • Block list not found.

Per user custom site block list.

Need custom list for per user sites added to block list. Should be prepended after list installs and can be used for user site submissions to project.

User submission of sites.

Project needs means for users to submit potential sites to block list. Pull request is not effecient or correct.

Command Line Arg

  1. Add command line arguments
  2. Add Help Menu
  3. Modify main to only enter interactive mode if args not passed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.