Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including dcpc with all npm packages installed. Try it out:

var dcpc = require("dcpc")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

dcpc v0.1.4

A DNSCrypt-Proxy Client via Node.js

dcpc

A dnscrypt-proxy client for Node.js which enables blocking annoying ads at DNS level.

This project is currently being developed on MacOS X Mojave and Ubuntu 18.10.

Installation

$ yarn global install dcpc

Usage

Start dnscrypt-proxy by the following command.

$ sudo dcpc start

Stop dnscrypt-proxy by the following command.

$ sudo dcpc stop

Libraries

This project uses the following libraries and ad-block lists.

  • dnscrypt-proxy: https://github.com/jedisct1/dnscrypt-proxy

  • Domain list of 280 blocker: https://280blocker.net/files/280blocker_domain.txt

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free