From 704e47601f6d200aaf67d3a406e2353dc6142456 Mon Sep 17 00:00:00 2001
From: Mehdi <46635765+MehdiMamas@users.noreply.github.com>
Date: Sat, 14 Nov 2026 01:50:23 -0600
Subject: [PATCH 1/2] Add Scorecard and REUSE checks with README badges
Before: no supply-chain scorecard, no machine-checked licensing, no badges.
Now: Scorecard publishes weekly and on main, REUSE lint runs on every PR, README shows both badges.
---
.github/workflows/reuse.yml | 17 ++++++++++++++++
.github/workflows/scorecard.yml | 35 +++++++++++++++++++++++++++++++++
LICENSES/MIT.txt | 18 +++++++++++++++++
README.md | 3 +++
REUSE.toml | 7 +++++++
5 files changed, 80 insertions(+)
create mode 100644 .github/workflows/reuse.yml
create mode 100644 .github/workflows/scorecard.yml
create mode 100644 LICENSES/MIT.txt
create mode 100644 REUSE.toml
diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml
new file mode 100644
index 0000000..3aef5fd
--- /dev/null
+++ b/.github/workflows/reuse.yml
@@ -0,0 +1,17 @@
+name: REUSE
+on:
+ push:
+ branches: [main]
+ pull_request:
+
+permissions:
+ contents: read
+
+jobs:
+ reuse:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
+ with:
+ persist-credentials: false
+ - uses: fsfe/reuse-action@676e2d560c9a403aa252096d99fcab3e1132b0f5 # v6.0.0
diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml
new file mode 100644
index 0000000..08dd33a
--- /dev/null
+++ b/.github/workflows/scorecard.yml
@@ -0,0 +1,35 @@
+name: Scorecard supply-chain security
+on:
+ push:
+ branches: [main]
+ schedule:
+ - cron: '23 4 * * 1'
+ workflow_dispatch:
+
+permissions: read-all
+
+jobs:
+ analysis:
+ runs-on: ubuntu-latest
+ permissions:
+ security-events: write
+ id-token: write
+ contents: read
+ actions: read
+ steps:
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
+ with:
+ persist-credentials: false
+ - uses: ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e # v2.5.0
+ with:
+ results_file: results.sarif
+ results_format: sarif
+ publish_results: true
+ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
+ with:
+ name: scorecard-sarif
+ path: results.sarif
+ retention-days: 5
+ - uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
+ with:
+ sarif_file: results.sarif
diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt
new file mode 100644
index 0000000..d817195
--- /dev/null
+++ b/LICENSES/MIT.txt
@@ -0,0 +1,18 @@
+MIT License
+
+Copyright (c)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
+associated documentation files (the "Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
+following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial
+portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
+LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
+EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/README.md b/README.md
index 74a658b..ad3c666 100644
--- a/README.md
+++ b/README.md
@@ -21,6 +21,9 @@
+[](https://scorecard.dev/viewer/?uri=github.com/MehdiMamas/claude-sync)
+[](https://github.com/MehdiMamas/claude-sync/actions/workflows/reuse.yml)
+
claude-sync is a small desktop app that shares a Claude Code setup with a group of friends. The group shares settings, `CLAUDE.md` instructions, skills, subagents, slash commands, output styles and plugin marketplaces. Everything lives in a private GitHub repo that one member of the group owns.
The app sits in the tray and starts when you log in. When someone in the group changes a shared file, the change reaches everyone's machines within about a minute. When you edit a shared file yourself, the app asks whether to share the change with the group or keep it on your machine.
diff --git a/REUSE.toml b/REUSE.toml
new file mode 100644
index 0000000..d70eaab
--- /dev/null
+++ b/REUSE.toml
@@ -0,0 +1,7 @@
+version = 1
+
+[[annotations]]
+path = "**"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2026 El Mehdi Mamas"
+SPDX-License-Identifier = "MIT"
From 5fe6c43ebbb3de31602f4556c7ed4a41eb6cb189 Mon Sep 17 00:00:00 2001
From: Mehdi <46635765+MehdiMamas@users.noreply.github.com>
Date: Sat, 14 Nov 2026 02:01:18 -0600
Subject: [PATCH 2/2] Put the Scorecard and REUSE badges in the badge row
Before: badges sat below the demo GIF.
Now: they join the badge row at the top.
---
README.md | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index ad3c666..df9bc5c 100644
--- a/README.md
+++ b/README.md
@@ -15,15 +15,14 @@
+
+
-[](https://scorecard.dev/viewer/?uri=github.com/MehdiMamas/claude-sync)
-[](https://github.com/MehdiMamas/claude-sync/actions/workflows/reuse.yml)
-
claude-sync is a small desktop app that shares a Claude Code setup with a group of friends. The group shares settings, `CLAUDE.md` instructions, skills, subagents, slash commands, output styles and plugin marketplaces. Everything lives in a private GitHub repo that one member of the group owns.
The app sits in the tray and starts when you log in. When someone in the group changes a shared file, the change reaches everyone's machines within about a minute. When you edit a shared file yourself, the app asks whether to share the change with the group or keep it on your machine.