Socket
Book a DemoInstallSign in
Socket

snark-cli

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snark-cli

Forward and unforward websites to a placeholder site

latest
npmnpm
Version
1.0.0
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Snark

Companion CLI to snark.qnzl.co, a site as a placeholder for blocked sites. Snark helps you realize that you are going to sites you've deemed wasteful and suggest activities away from the computer, in a somewhat snarky way.

Pre-requisites

If you have node already installed:

Note: snark needs sudo permissions to edit the hosts file which is why sudo is needed when installing the CLI

npm install
sudo npm link

If you not:

./bin/install

This will link packaged binaries to the required folder so it can be ran like any other command

Usage

snark -h

Note: Currently snark only sets records to 140.82.3.56

To block site:

snark block <site>

To unblock site:

snark unblock <site>

To show all sites blocked:

snark list

FAQs

Package last updated on 05 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts