Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.
JavaScript apple-watchbodyweightdockerfitnessfitness-trackergymhealthiosmcpnodejspasskeysprogressive-web-applicationspwareactself-hostedself-hostingvitewebauthnweightliftingworkout-tracker
Contributor License Agreement
Duarte Santosbadb8f295e4d
diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.ymlnew file mode 100644index 000000000..13e6bb60f--- /dev/null+++ b/.github/workflows/cla.yml@@ -0,0 +1,36 @@+# CLA check on every pull request (draft for .github/workflows/cla.yml).+# A first-time contributor is asked once to comment the sign phrase; the signature is stored in+# the repository (signatures/cla.json on the cla-signatures branch), no third-party service.+name: CLA++on:+ issue_comment:+ types: [created]+ pull_request_target:+ types: [opened, closed, synchronize]++permissions:+ actions: write+ contents: write+ pull-requests: write+ statuses: write++jobs:+ cla:+ runs-on: ubuntu-latest+ steps:+ - if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'+ uses: contributor-assistant/[email protected]+ env:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ with:+ path-to-signatures: signatures/cla.json+ path-to-document: https://github.com/DuarteSantos8/openGym/blob/main/CLA.md+ branch: cla-signatures+ allowlist: DuarteSantos8,dependabot[bot],renovate[bot]+ custom-notsigned-prcomment: >+ Thanks for your pull request! Before it can be merged, please read the+ [Contributor License Agreement](https://github.com/DuarteSantos8/openGym/blob/main/CLA.md)+ and sign it by commenting the sentence below. It takes a second and covers all your+ past and future contributions.+ custom-allsigned-prcomment: All contributors have signed the CLA. Thank you!diff --git a/CLA.md b/CLA.mdnew file mode 100644index 000000000..6de38a4e7--- /dev/null+++ b/CLA.md@@ -0,0 +1,67 @@+# openGym Contributor License Agreement++Thank you for contributing to openGym. This agreement makes clear what rights you give the+project when you contribute, so that openGym can keep being developed, published (including in+app stores) and supported over the long term. Please read it once; signing takes a comment on+your pull request.++"We" and "us" means Duarte Santos, the maintainer of openGym, and any legal entity he forms or+controls to continue the openGym project. "You" means the person signing this agreement.+"Contribution" means any code, text, translation, documentation, design or other material you+submit to the openGym project (for example by pull request, merge request, patch or issue), now,+in the past or in the future.++## 1. You keep your rights++You keep the copyright in your Contributions. Nothing in this agreement stops you from using your+own work however you like.++## 2. The licence you give us++You grant us a perpetual, worldwide, non-exclusive, royalty-free, irrevocable licence to use,+reproduce, modify, adapt, translate, publish, distribute, sublicense and sell your Contributions+and works based on them, in any form and through any channel (including app stores), and to+license them to others **under any terms, including the GNU AGPL v3, other open-source licences+and proprietary or commercial licences**. We may also remove or replace your Contributions at any+time.++We may transfer this licence to a successor of the openGym project, for example a buyer of the+project or a company that continues it.++## 3. Patents++You grant us and everyone who receives openGym from us a perpetual, worldwide, non-exclusive,+royalty-free, irrevocable licence under any patents you hold that are necessarily infringed by+your Contributions, to make, use, sell and distribute them as part of openGym.++## 4. Our promise++Every version of openGym that we publish under the GNU AGPL v3 stays available under it. Your+Contributions in those versions stay open for everyone, whatever else we do later.++## 5. What you confirm++- The Contribution is your own work, or you have the right to submit it under this agreement+ (for example, your employer allows it).+- You have not copied it from somewhere whose terms forbid this agreement.+- If you used AI tools, you reviewed the result and you are entitled to submit it.++## 6. Credit++You may be named as a contributor in the project. Your moral rights as an author are not affected.++## 7. No warranty++You provide your Contributions as they are, without warranty of any kind.++## 8. Law++This agreement is governed by Swiss law.++---++**To sign**, comment on your pull request:++> I have read the CLA Document and I hereby sign the CLA++This covers all your past and future Contributions to openGym.diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex f62e32105..206d9a337 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -112,5 +112,10 @@ Open an issue with what you did, what you expected, what happened, and your browlogin or passkey problems, include your `RP_ID` and `ORIGIN` (not the contents of `data/`); mostlogin issues are an origin mismatch.-By contributing you agree that your work is licensed under the project's-[GNU AGPL v3.0](LICENSE).+## Contributor License Agreement++Before your first pull request is merged, you sign the [Contributor License Agreement](CLA.md) once,+by commenting the sentence the CLA check asks for on your pull request. It covers all your past and+future contributions. You keep the copyright in your work; openGym may use and relicense it, which+is what keeps the app possible in the App Store and Google Play long term. Every version released+under the [GNU AGPL v3.0](LICENSE) stays available under it.diff --git a/README.md b/README.mdindex 95080cd20..87eeacfa4 100644--- a/README.md+++ b/README.md@@ -352,4 +352,8 @@ version's source under the same license.> non-commercial fork may keep them unmodified with the notice; anything else needs your own licence> from gymvisual.com. The exercise text in `catalogue/` is openGym's and open to contributions.+**Contributing:** pull requests are signed off once with the [Contributor License Agreement](CLA.md):+you keep the copyright in your work, openGym may use and relicense it (so the app can stay in the+App Store and Google Play long term), and every version released under the AGPL stays AGPL.+Full third-party notices, including the body-diagram geometry, are in [NOTICE.md](NOTICE.md).