FoldingAtHome / fah-nacl-client

Folding@home NaCl Client
GNU General Public License v2.0
40 stars 8 forks source link

Folding@home Google NaCl Client

This project contains the source code for the Open-Source frontend of the Folding@home NaCl Client. This client requires the Google Chrome browser which can be downloaded here: https://google.com/chrome/. You can run the client either from the Chrome Web Store: https://chrome.google.com/webstore or by going directly to https://nacl.foldingathome.org/.

Team URLs

You can now recruit team members with URLs like this: https://nacl.foldingathome.org/?team=1234.

If the user does not already have a team then it will set their team automatically. If they do have a team set then it will ask them first.

Embedding

This section describes how to embed the new Folding@home micro widget in your Web page.

The simplest way is to just add the following HTML code to your page:

<iframe src="https://nacl.foldingathome.org/micro.html"
  scrolling="no" frameBorder="0" width="132" height="52"></iframe>

Note that this wont work for https pages on some browsers.

You can also add some configuration options:

These options can be added as URL parameters. For example:

<iframe src="https://nacl.foldingathome.org/micro.html?team=1&power=full"
  scrolling="no" frameBorder="0" width="132" height="68"></iframe>

Note that if you specify a team the height should be 68 rather than 52 to make room for the team points display.

You may also want to move the widget out of the way by adding a style attribute like this:

<iframe src="https://nacl.foldingathome.org/micro.html?team=1&power=full"
  scrolling="no" frameBorder="0" width="132" height="68"
  style="float:right"></iframe>

See also: example.html

Contact

Email joseph@cauldrondevelopment.com for more info.