My implementation use 1 thread max with 35% of the CPU max.
I've done it this way because it is what I'm ready to give as an user
Also it does not start (and show a Paypal donate instead) if:
- you are on a mobile device (tested with user agent)
- you are on battery (tested with the browser.getBattery API)
If the miner starts: you get an info box at the bottom of the page,
with an user accessible explanation (should be understandable by anyone)
and a STOP button (that stop it for 90 days)
Also before using the miner I took some time to communicate about it,
even if I did not get much user feedback (I use my project twitter account to do so)
If you get the Paypal donate box it means that the script decided not to start the miner for some reason.
I made this new service called Thread Reader that given a first tweet from a twitter thread will return a carefully designed web page with the full Tweetstorm unrolled.
It comes with two "bots"
- one that answer people who mention "@tttthreads unroll" replying to the first tweet of a threads and give them a link to the unrolled story
- the second that search twitter for "#threads" and check if it is a valid thread (> 5 tweets) and if so post a unrolled version back to the author (limited to a few post per hour to avoid to be too spammy)
The stack is good old LAMP using the PHP silex micro framework and of course Twitter API
This is how I implemented it on my side project Thread Reader. See an example on: https://tttthreads.com/t/907445479826448385 bottom of the page
My implementation use 1 thread max with 35% of the CPU max. I've done it this way because it is what I'm ready to give as an user
Also it does not start (and show a Paypal donate instead) if:
- you are on a mobile device (tested with user agent)
- you are on battery (tested with the browser.getBattery API)
If the miner starts: you get an info box at the bottom of the page, with an user accessible explanation (should be understandable by anyone) and a STOP button (that stop it for 90 days)
Also before using the miner I took some time to communicate about it, even if I did not get much user feedback (I use my project twitter account to do so)
If you get the Paypal donate box it means that the script decided not to start the miner for some reason.