# cazala/coin-hive

CoinHive cryptocurrency miner for node.js

Repository: https://github.com/cazala/coin-hive
Canonical: https://ross.abutalabs.com/products/coin-hive
Homepage: https://www.npmjs.com/package/coin-hive
Language: JavaScript
License: MIT
License Family: permissive
Topics: coinhive, monero, cyptocurrency, miner, xmr, nodejs, electroneum
Last push: 2026-07-09T01:00:12+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 91, release rhythm 8, longevity 100
- inputs: {"age_days": 3274, "days_push": 56, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2023, forks 393 (observed 2026-08-28T04:06:06.609154+00:00)

## What it is
A Node.js library and CLI that mines Monero (XMR) and Electroneum (ETN) using the CoinHive JavaScript miner, driven via Puppeteer. It supports custom stratum pools, proxies, and configurable threads/throttle.

## Use cases
- mine monero from node.js
- run a coinhive miner on a stratum pool
- mine electroneum from the command line
- embed a cryptocurrency miner in a node app
- mine xmr through a socks proxy

## When to choose
- you specifically need the legacy CoinHive miner API from Node.js
- you want a simple CLI to mine XMR or ETN on stratum pools

## When to avoid
- you need an actively maintained miner - CoinHive shut down and the package hasn't been published in years
- you want efficient native CPU/GPU mining rather than a browser-based Puppeteer miner
- you need modern Monero mining software like XMRig

## Facets
- artifact type: library
- maturity: abandoned
- function: cli, developer-tools
- domain: blockchain
- platform: cli, cross-platform
- tags: coinhive, monero, cryptocurrency-mining, xmr, electroneum, stratum-pool, puppeteer, cryptocurrency, command-line, nodejs

## Member repositories
- cazala/coin-hive (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:06.609154+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:00:00.490068+00:00, confidence not recorded.
  - readme: https://github.com/cazala/coin-hive (fetched 2026-08-28T04:06:06.609154+00:00, sha 44c00a81e491)
  - homepage: https://www.npmjs.com/package/coin-hive (fetched 2026-08-29T10:40:13.742994+00:00, sha e7eb56e9dc05)
  - registry_npm: https://registry.npmjs.org/coin-hive (fetched 2026-08-29T10:40:13.752364+00:00, sha da3ef531293f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
