Thanks for wanting to contribute! Earnify.cc is built with vanilla HTML, CSS, and JavaScript—no frameworks, no build steps, no npm.
Open a GitHub Issue. Please include:
- Your browser and OS.
- Steps to reproduce the bug.
- Console errors (if any).
Because Earnify handles browser compute, security is critical. We will reject any PR that includes:
eval(),new Function(), or dynamic script injection.- Access to
document.cookie,localStorage, orsessionStorage. - DOM manipulation from the mining script (Earnify must run silently).
- Outbound requests to anything other than the user-configured mining pool.
- Fork the repo.
- Create a branch (
git checkout -b feature/my-idea). - Make your changes (just edit the HTML/JS files).
- Test locally (just open
index.htmlin your browser). - Commit with a clear message.
- Open a Pull Request.
- Vanilla only. No jQuery, no React, no frameworks.
- ES6+ syntax. Use
const/let, arrow functions, and template literals. - Web Workers. Heavy compute logic goes in workers, never the main thread.
- Formatting. 2 spaces, single quotes, no trailing commas.
By contributing, you agree your code will be licensed under the MIT License.
For security vulnerabilities, please read SECURITY.md instead of opening a public issue.