<p>You probably want this:</p>

<p><a href="http://pastebin.com/ZYMNFAXt" rel="nofollow">http://pastebin.com/ZYMNFAXt</a></p>

<p>It is a BTC miner that works in JS.  I took it from bitcoinplus.com</p>

<p>I don't think that this is economically feasible though - cpu mining is a total waste - unless you're looking to do something malicious with the code like having others use your tools that also happen to utilize CPU power to mine for btc underneath - which by the way is a sure fire way to get your software banned and shunned at large.  What you describe sounds like something deployed in a botnet or malware scheme - perhaps a bad android modded rom.  </p>

CC BY-SA 3.0
2014-04-02T14:49:57.043Z
2014-04-02T14:49:57.043Z
Frankenmint
<p>You can try Javaminer online. But its very slow and you're probably not going to be looking at much profit. But maybe profits aren't your main source of inspiration....
But ya you're gonna want Javaminer. If you have no client you're going to be mining with Java of some kind, I highly doubt you'd need any PHP</p>

CC BY-SA 3.0
2014-08-01T10:02:16.387Z
Thanks, could you provide a link so that I can check it out?
Ram G Athreya
CC BY-SA 3.0
2014-08-01T04:30:23.040Z
2016-04-25T22:20:08.723Z
2016-04-25T22:20:08.723Z
user18826
<p>You can mine for Mining Pools, which doesn't require you to have a client running. You just enter the mining pool address in your mining program. </p>

CC BY-SA 3.0
2014-01-02T10:48:19.007Z
no I dont mean mining pools I mean is there a programmatic way of doing it???
Ram G Athreya
CC BY-SA 3.0
2014-01-02T10:15:48.043Z
2014-01-02T10:15:48.043Z
Steven Roose
<p>You will have to use some sort of program or script to do this. There are several ways, I have used <code>cgminer</code>for my mining. You can grab it from here: <a href="https://github.com/ckolivas/cgminer" rel="nofollow">https://github.com/ckolivas/cgminer</a></p>

<p>Version <code>3.7.2</code> is the last to support GPU mining if your into that sort of thing.</p>

<p>I have not tested these but I found this one for Node.js:
<a href="https://npmjs.org/package/bitcoinjs" rel="nofollow">https://npmjs.org/package/bitcoinjs</a></p>

<p>Hope this helps.</p>

CC BY-SA 3.0
2014-01-02T12:02:29.967Z
cgminer is a program i need to install that is exactly what i dont want to do, bitcoinjs is a package that allows you to create a dashboard UI to manage your portfolio etc, both dont help in what I want
Ram G Athreya
CC BY-SA 3.0
2014-01-02T10:59:11.970Z
2014-01-02T10:59:11.970Z
Bjarte
<p>Is there a way to mine bitcoins without installing a client, that is can I do it in PHP or Node.js by adding some libraries etc which replicate what the bitcoin client would do(more or less)?</p>

<mining-software><webminer>
Mining without using client
Ram G Athreya
# Mining without using client

(Asked by: username_0 on 2014-01-02)

Is there a way to mine bitcoins without installing a client, that is can I do it in PHP or Node.js by adding some libraries etc which replicate what the bitcoin client would do(more or less)?

**Tags:** mining-software, webminer


---

## 4 answers

### Answer by username_1 on 2014-04-02. Score: 1

You probably want this:

<http://pastebin.com/ZYMNFAXt>

It is a BTC miner that works in JS. I took it from bitcoinplus.com

I don't think that this is economically feasible though - cpu mining is a total waste - unless you're looking to do something malicious with the code like having others use your tools that also happen to utilize CPU power to mine for btc underneath - which by the way is a sure fire way to get your software banned and shunned at large. What you describe sounds like something deployed in a botnet or malware scheme - perhaps a bad android modded rom.


---

### Answer by username_2 on 2014-08-01. Score: 0

You can try Javaminer online. But its very slow and you're probably not going to be looking at much profit. But maybe profits aren't your main source of inspiration....
But ya you're gonna want Javaminer. If you have no client you're going to be mining with Java of some kind, I highly doubt you'd need any PHP

> **Comments:**
> **username_0**: Thanks, could you provide a link so that I can check it out?  

---

### Answer by username_3 on 2014-01-02. Score: 0

You can mine for Mining Pools, which doesn't require you to have a client running. You just enter the mining pool address in your mining program.

> **Comments:**
> **username_0**: no I dont mean mining pools I mean is there a programmatic way of doing it???  

---

### Answer by username_4 on 2014-01-02. Score: 0

You will have to use some sort of program or script to do this. There are several ways, I have used `cgminer`for my mining. You can grab it from here: <https://github.com/ckolivas/cgminer>

Version `3.7.2` is the last to support GPU mining if your into that sort of thing.

I have not tested these but I found this one for Node.js:
<https://npmjs.org/package/bitcoinjs>

Hope this helps.

> **Comments:**
> **username_0**: cgminer is a program i need to install that is exactly what i dont want to do, bitcoinjs is a package that allows you to create a dashboard UI to manage your portfolio etc, both dont help in what I want  

---

