npm install Flarp/Distri-JS
Distributed computing for your browser!
Distri-JS is a client for Distri servers that serve out numbers and equations to those who wish to participate in distributed computing.
- Uses Web Workers, so the webpage will not be slowed down during computation.
- All files are verified from a public database of trusted sources, with the links and checksums of each file, so if a file is tampered with, it will not be executed on the client-side.
- Very nice menu thing. Looks pretty cool.
To generate the files, simply run webpack
. Webpack will do all the hard stuff for you.
Using it is a lot simpler than Distri-Node, just put all the generated files into the browser directory, add the script (distri.min.js
) into the main HTML page, and make a button somewhere that when clicked, runs Distri.settings()
. That's it. If you want more information on what Distri is, check here.
Another note, if you want to set a default starting point other than Collatz Conjecture
, go into the webpack config and change the value in the webpack.DefinePlugin
where it says distriDefault: JSON.stringify('Collatz Conjecture')
to whatever you want. (Note, the value must be still inside the JSON.stringify
)
Thank you Emily Doyle for helping spread the word for this!
Uses components from Bootstrap. You can find it https://github.com/twbs/bootstrap/blob/v4-dev/dist/css/bootstrap.css. Bootstrap is under the MIT license.