From 212953938d84b6fca07112dcac759eea060a8393 Mon Sep 17 00:00:00 2001 From: soryu Date: Mon, 23 Feb 2026 00:30:44 +0000 Subject: feat: publish makima to public repo with sync, GHCR, and install updates (#79) * feat: soryu-co/soryu - makima: Update install.sh to point at public makima repo * feat: soryu-co/soryu - makima: Update daemons page download links to use public makima releases * feat: soryu-co/soryu - makima: Research Cloudflare Containers for running full makima daemon * feat: soryu-co/soryu - makima: Push container image to ghcr.io/soryu-co/makima namespace * feat: soryu-co/soryu - makima: Add workflow to sync public files to soryu-co/makima repo --- .github/workflows/daemon-image.yml | 5 +- .github/workflows/release.yml | 44 +++++------- .github/workflows/sync-public-repo.yml | 124 +++++++++++++++++++++++++++++++++ 3 files changed, 146 insertions(+), 27 deletions(-) create mode 100644 .github/workflows/sync-public-repo.yml (limited to '.github') diff --git a/.github/workflows/daemon-image.yml b/.github/workflows/daemon-image.yml index 2501dab..8b4a059 100644 --- a/.github/workflows/daemon-image.yml +++ b/.github/workflows/daemon-image.yml @@ -16,6 +16,7 @@ on: env: REGISTRY: ghcr.io IMAGE_NAME: soryu-co/makima-daemon + IMAGE_NAME_PUBLIC: soryu-co/makima jobs: build-and-push: @@ -43,7 +44,9 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + images: | + ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_PUBLIC }} tags: | type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fbf5e13..218205a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -157,27 +157,23 @@ jobs: ```bash # Linux x86_64 - curl -fsSL https://api.makima.jp/api/v1/daemon/download/linux-x86_64 -o makima - chmod +x makima - sudo mv makima /usr/local/bin/ + curl -fsSL https://github.com/soryu-co/makima/releases/download/${{ github.ref_name }}/makima-${{ github.ref_name }}-linux-x86_64.tar.gz | tar xzf - + chmod +x makima && sudo mv makima /usr/local/bin/ # Linux ARM64 - curl -fsSL https://api.makima.jp/api/v1/daemon/download/linux-arm64 -o makima - chmod +x makima - sudo mv makima /usr/local/bin/ + curl -fsSL https://github.com/soryu-co/makima/releases/download/${{ github.ref_name }}/makima-${{ github.ref_name }}-linux-arm64.tar.gz | tar xzf - + chmod +x makima && sudo mv makima /usr/local/bin/ # macOS Intel - curl -fsSL https://api.makima.jp/api/v1/daemon/download/macos-x86_64 -o makima - chmod +x makima - sudo mv makima /usr/local/bin/ + curl -fsSL https://github.com/soryu-co/makima/releases/download/${{ github.ref_name }}/makima-${{ github.ref_name }}-macos-x86_64.tar.gz | tar xzf - + chmod +x makima && sudo mv makima /usr/local/bin/ # macOS Apple Silicon - curl -fsSL https://api.makima.jp/api/v1/daemon/download/macos-arm64 -o makima - chmod +x makima - sudo mv makima /usr/local/bin/ + curl -fsSL https://github.com/soryu-co/makima/releases/download/${{ github.ref_name }}/makima-${{ github.ref_name }}-macos-arm64.tar.gz | tar xzf - + chmod +x makima && sudo mv makima /usr/local/bin/ # Or use the install script (auto-detects platform): - curl -fsSL https://raw.githubusercontent.com/soryu-co/soryu/master/install.sh | bash + curl -fsSL https://raw.githubusercontent.com/soryu-co/makima/master/install.sh | bash ``` ### Verification @@ -212,27 +208,23 @@ jobs: ```bash # Linux x86_64 - curl -fsSL https://api.makima.jp/api/v1/daemon/download/linux-x86_64 -o makima - chmod +x makima - sudo mv makima /usr/local/bin/ + curl -fsSL https://github.com/soryu-co/makima/releases/download/${{ github.ref_name }}/makima-${{ github.ref_name }}-linux-x86_64.tar.gz | tar xzf - + chmod +x makima && sudo mv makima /usr/local/bin/ # Linux ARM64 - curl -fsSL https://api.makima.jp/api/v1/daemon/download/linux-arm64 -o makima - chmod +x makima - sudo mv makima /usr/local/bin/ + curl -fsSL https://github.com/soryu-co/makima/releases/download/${{ github.ref_name }}/makima-${{ github.ref_name }}-linux-arm64.tar.gz | tar xzf - + chmod +x makima && sudo mv makima /usr/local/bin/ # macOS Intel - curl -fsSL https://api.makima.jp/api/v1/daemon/download/macos-x86_64 -o makima - chmod +x makima - sudo mv makima /usr/local/bin/ + curl -fsSL https://github.com/soryu-co/makima/releases/download/${{ github.ref_name }}/makima-${{ github.ref_name }}-macos-x86_64.tar.gz | tar xzf - + chmod +x makima && sudo mv makima /usr/local/bin/ # macOS Apple Silicon - curl -fsSL https://api.makima.jp/api/v1/daemon/download/macos-arm64 -o makima - chmod +x makima - sudo mv makima /usr/local/bin/ + curl -fsSL https://github.com/soryu-co/makima/releases/download/${{ github.ref_name }}/makima-${{ github.ref_name }}-macos-arm64.tar.gz | tar xzf - + chmod +x makima && sudo mv makima /usr/local/bin/ # Or use the install script (auto-detects platform): - curl -fsSL https://raw.githubusercontent.com/soryu-co/soryu/master/install.sh | bash + curl -fsSL https://raw.githubusercontent.com/soryu-co/makima/master/install.sh | bash ``` ### Verification diff --git a/.github/workflows/sync-public-repo.yml b/.github/workflows/sync-public-repo.yml new file mode 100644 index 0000000..72549a4 --- /dev/null +++ b/.github/workflows/sync-public-repo.yml @@ -0,0 +1,124 @@ +name: Sync Public Repo + +on: + push: + tags: + - 'v*' + branches: + - main + paths: + - 'install.sh' + - 'k8s/daemon/**' + - 'makima/cloudflare-agent/README.md' + workflow_dispatch: + +jobs: + sync: + name: Sync to soryu-co/makima + runs-on: ubuntu-latest + + steps: + - name: Checkout soryu repo + uses: actions/checkout@v4 + + - name: Checkout makima public repo + uses: actions/checkout@v4 + with: + repository: soryu-co/makima + token: ${{ secrets.MAKIMA_RELEASE_TOKEN }} + path: makima-public + + - name: Sync files + run: | + mkdir -p makima-public/k8s/daemon makima-public/docs + + cp install.sh makima-public/install.sh + cp k8s/daemon/* makima-public/k8s/daemon/ + cp makima/cloudflare-agent/README.md makima-public/docs/cloudflare-agent.md + + - name: Generate README + shell: bash + run: | + cat > makima-public/README.md <<'READMEEOF' + # Makima + + **Distributed task orchestration for AI coding agents.** + + Makima coordinates work across multiple AI coding agents, enabling parallel task execution, contract-based workflows, and seamless integration with tools like Claude Code. + + ## Installation + + ### Quick Install (recommended) + + ```bash + curl -fsSL https://raw.githubusercontent.com/soryu-co/makima/master/install.sh | bash + ``` + + The install script auto-detects your platform and downloads the latest release. + + ### Manual Download + + Download the latest release for your platform from the [Releases page](https://github.com/soryu-co/makima/releases). + + ### Supported Platforms + + | Platform | Architecture | + |-------------------|-------------| + | Linux | x86_64 | + | Linux | ARM64 | + | macOS | x86_64 | + | macOS | ARM64 (Apple Silicon) | + + After downloading, extract and install: + + ```bash + tar xzf makima-*.tar.gz + chmod +x makima + sudo mv makima /usr/local/bin/ + ``` + + ### Verify Installation + + ```bash + makima --version + ``` + + ## Kubernetes Deployment + + Makima can run as a daemon in Kubernetes for persistent task execution. Manifests are provided in [`k8s/daemon/`](k8s/daemon/). + + The daemon container image is available at: + + ``` + ghcr.io/soryu-co/makima-daemon:latest + ``` + + Apply the manifests with kustomize: + + ```bash + kubectl apply -k k8s/daemon/ + ``` + + See [`k8s/daemon/README.md`](k8s/daemon/README.md) for full deployment instructions. + + ## Documentation + + - [Cloudflare Edge Agent](docs/cloudflare-agent.md) — Deploy a WebSocket relay on Cloudflare Workers for edge-based task dispatch + + ## License & Info + + Makima is developed by [soryu-co](https://github.com/soryu-co). For more information, visit the [soryu-co GitHub organization](https://github.com/soryu-co). + READMEEOF + + - name: Commit and push + working-directory: makima-public + run: | + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + git add -A + if ! git diff --cached --quiet; then + git commit -m "sync: update public files from soryu repo" + git push + else + echo "No changes to sync" + fi -- cgit v1.2.3