<p>Here's a python-only miner.  Not sure if it still functions:</p>

<ul>
<li><a href="https://github.com/jgarzik/pyminer" rel="nofollow">https://github.com/jgarzik/pyminer</a></li>
</ul>

CC BY-SA 3.0
2012-06-04T17:09:57.527Z
2012-06-04T17:09:57.527Z
Stephen Gornick
<p>You should look into webminers - <a href="https://bitcoin.stackexchange.com/questions/1520/what-is-the-status-on-webminers">What is the status on webminers?</a></p>

<p>But generally, it's not really worth it. Unless you get a lot of high-end-graphic-card-owning users to stay on your website for a long while, you won't earn much. You can try running some of the webminers on your own machine and see how much you can earn for example by using my <a href="http://tpbitcalc.appspot.com/" rel="nofollow noreferrer">Mining Calculator</a>. Having someone with a 100MHash/s graphic card (fairly decent for a non-dedicated miner) on for 24 hours would give you about a cent of revenue.</p>

<p>All in all, you're probably better off with adding some ads to your website.</p>

CC BY-SA 3.0
2013-12-27T06:27:36.213Z
@Erik was asking about server-side miners, not client-side miners.
Druska
CC BY-SA 3.0
2012-06-04T22:37:10.637Z
2012-06-04T22:37:10.637Z
2017-04-13T12:47:36.647Z
ThePiachu
<p>Is there a miner written to be run on webspace, e.g. in ruby, php or python?</p>

<p>I know, it will be to slow and its not worth it, but I want to see it though :)</p>

CC BY-SA 3.0
2012-06-04T17:14:05.787Z
If you are thinking of doing this on a hosted system, know that all hosting companies are aware of bitcoin mining and starting long ago specifically will look for high cpu usage and kill of those instances.
Stephen Gornick
<cpu-mining><webminer>
Is there a mining software that I can run on my webspace (php, ruby, python)?
Erik
# Is there a mining software that I can run on my webspace (php, ruby, python)?

(Asked by: username_0 on 2012-06-04)

Is there a miner written to be run on webspace, e.g. in ruby, php or python?

I know, it will be to slow and its not worth it, but I want to see it though :)

**Tags:** cpu-mining, webminer

> **Comments:**
> **username_1**: If you are thinking of doing this on a hosted system, know that all hosting companies are aware of bitcoin mining and starting long ago specifically will look for high cpu usage and kill of those instances.  

---

## 2 answers

### Answer by username_2 on 2012-06-04. Score: 4 | Accepted answer

You should look into webminers - [What is the status on webminers?](https://bitcoin.stackexchange.com/questions/1520/what-is-the-status-on-webminers)

But generally, it's not really worth it. Unless you get a lot of high-end-graphic-card-owning users to stay on your website for a long while, you won't earn much. You can try running some of the webminers on your own machine and see how much you can earn for example by using my [Mining Calculator](http://tpbitcalc.appspot.com/). Having someone with a 100MHash/s graphic card (fairly decent for a non-dedicated miner) on for 24 hours would give you about a cent of revenue.

All in all, you're probably better off with adding some ads to your website.

> **Comments:**
> **username_3**: @username_0 was asking about server-side miners, not client-side miners.  

---

### Answer by username_1 on 2012-06-04. Score: 0

Here's a python-only miner. Not sure if it still functions:

* <https://github.com/jgarzik/pyminer>


---

