Skip to content

Suno-style web UI for a self-hosted MiniMax-Music3 inference server

ci: test workflow; release workflow publishing ghcr image + GitHub release; readme badges and demo link

Adam Benhassenafb2d6207cd4
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..899e835
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,18 @@
+name: ci
+
+on:
+ push:
+ branches: [main]
+ pull_request:
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v7
+ - uses: actions/setup-node@v7
+ with: { node-version: 22, cache: npm }
+ - run: npm ci
+ - run: npm test
+ - run: npm run typecheck
+ - run: npm run build
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..04a34bb
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,67 @@
+name: release
+
+on:
+ push:
+ tags: ['v*']
+
+permissions:
+ contents: write
+ packages: write
+
+env:
+ IMAGE: ghcr.io/${{ github.repository }}
+
+jobs:
+ image:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v7
+ - uses: docker/setup-qemu-action@v4
+ - uses: docker/setup-buildx-action@v4
+ - uses: docker/login-action@v4
+ with:
+ registry: ghcr.io
+ username: ${{ github.actor }}
+ password: ${{ secrets.GITHUB_TOKEN }}
+ - id: meta
+ uses: docker/metadata-action@v6
+ with:
+ images: ${{ env.IMAGE }}
+ tags: |
+ type=semver,pattern={{version}}
+ type=semver,pattern={{major}}.{{minor}}
+ type=raw,value=latest
+ - uses: docker/build-push-action@v7
+ with:
+ context: .
+ platforms: linux/amd64,linux/arm64
+ push: true
+ tags: ${{ steps.meta.outputs.tags }}
+ labels: ${{ steps.meta.outputs.labels }}
+ cache-from: type=gha
+ cache-to: type=gha,mode=max
+
+ release:
+ needs: image
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v7
+ with: { fetch-depth: 0 }
+ - name: Release notes
+ run: |
+ prev=$(git describe --tags --abbrev=0 "${GITHUB_REF_NAME}^" 2>/dev/null || true)
+ {
+ echo "## Docker image"
+ echo
+ echo '```bash'
+ echo "docker run -d -p 8787:8787 -v \$PWD/data:/data -e MUSIC_API=http://<inference-host>:8000 ${IMAGE}:${GITHUB_REF_NAME#v}"
+ echo '```'
+ echo
+ echo "## Changes"
+ echo
+ if [ -n "$prev" ]; then git log --no-merges --format='- %s' "$prev..${GITHUB_REF_NAME}"; else git log --no-merges --format='- %s' "${GITHUB_REF_NAME}"; fi
+ } > notes.md
+ - uses: softprops/action-gh-release@v3
+ with:
+ body_path: notes.md
+ generate_release_notes: false
diff --git a/README.md b/README.md
index acfa5f8..ffff7c1 100644
--- a/README.md
+++ b/README.md
@@ -9,6 +9,9 @@
</p>
<p align="center">
+ <a href="https://demo-minimax-music.adambh.dev"><img alt="Live demo" src="https://img.shields.io/badge/live%20demo-demo--minimax--music.adambh.dev-ff5c8a?logo=cloudflare&logoColor=white"></a>
+ <a href="https://github.com/adambenhassen/minimax-music-ui/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/adambenhassen/minimax-music-ui/actions/workflows/ci.yml/badge.svg"></a>
+ <a href="https://github.com/adambenhassen/minimax-music-ui/pkgs/container/minimax-music-ui"><img alt="GHCR" src="https://img.shields.io/badge/ghcr.io-minimax--music--ui-2496ed?logo=docker&logoColor=white"></a>
<a href="LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-ff5c8a.svg"></a>
<img alt="Node 20+" src="https://img.shields.io/badge/node-%E2%89%A520-339933?logo=node.js&logoColor=white">
<img alt="React 19" src="https://img.shields.io/badge/react-19-149eca?logo=react&logoColor=white">
@@ -16,6 +19,10 @@
<img alt="Tailwind CSS 4" src="https://img.shields.io/badge/tailwind-4-06b6d4?logo=tailwindcss&logoColor=white">
</p>
+<p align="center">
+ <b>Try it:</b> <a href="https://demo-minimax-music.adambh.dev">demo-minimax-music.adambh.dev</a> — a read-only demo with pre-rendered songs (Create simulates a render).
+</p>
+
<p align="center">
<img src="docs/assets/screenshot.png" alt="MiniMax Music UI — create panel, track feed and player" width="100%">
</p>
@@ -72,6 +79,14 @@ Then open **Settings** in the sidebar and enter the inference server URL — or
### Docker
+Prebuilt multi-arch images (amd64 + arm64) are published to GitHub Container Registry on every release:
+
+```bash
+docker run -d -p 8787:8787 -v "$PWD/data:/data" -e MUSIC_API=http://<inference-host>:8000 ghcr.io/adambenhassen/minimax-music-ui:latest
+```
+
+Or build locally:
+
```bash
docker compose up -d --build # → http://localhost:8787, library persisted in ./data
# or