diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 3ecdb37..a7b1919 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -6,7 +6,7 @@ - [ ] Docs only ### Checklist -- [ ] **I have read the [Contributing Guidelines](../CONTRIBUTING.md).** +- [ ] **I have read the [Contributing Guidelines](https://github.com/monochrome-music/monochrome/blob/main/CONTRIBUTING.md).** - [ ] **I understand every line of code I am submitting.** - [ ] I have tested these changes locally, and they work as expected. diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 59e8396..17177ef 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,6 +8,7 @@ on: permissions: contents: write + workflows: write jobs: lint: diff --git a/Dockerfile b/Dockerfile index d5ef27c..508dd58 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Node Alpine -- multi-arch (amd64 + arm64) -FROM node:lts-alpine +FROM oven/bun:1.3.10-alpine AS builder WORKDIR /app @@ -7,12 +7,6 @@ WORKDIR /app RUN apk add --no-cache wget curl bash RUN apk add --no-cache python3 make g++ && ln -sf python3 /usr/bin/python -# Install Bun -RUN curl -fsSL https://bun.sh/install | bash - -# Add Bun to PATH so it can be used in subsequent steps -ENV PATH="/root/.bun/bin:${PATH}" - # Copy package files first for caching COPY package.json package-lock.json ./ @@ -25,8 +19,14 @@ COPY . . # Build the project (Bun is now available for "bun x neu build") RUN bun run build -# Expose Vite preview port +# Serve with nginx +FROM nginx:1.28.2-alpine + +COPY --from=builder /app/dist /usr/share/nginx/html + +COPY nginx.conf /etc/nginx/conf.d/default.conf + +# Expose the nginx port EXPOSE 4173 -# Run the built project -CMD ["bun", "run", "preview", "--", "--host", "0.0.0.0"] +CMD ["nginx", "-g", "daemon off;"] diff --git a/README.md b/README.md index 1414647..1cc0c76 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ ## What is Monochrome? -**Monochrome** is an open-source, privacy-respecting, ad-free [TIDAL](https://tidal.com) web UI, built on top of [Hi-Fi](https://github.com/binimum/hifi-api). It provides a beautiful, minimalist interface for streaming high-quality music without the clutter of traditional streaming platforms. +**Monochrome** is an open-source, privacy-respecting, ad-free [TIDAL](https://tidal.com) web UI, built on top of Hi-Fi. It provides a beautiful, minimalist interface for streaming high-quality music without the clutter of traditional streaming platforms.

@@ -263,6 +263,12 @@ We welcome contributions from the community! Please see our [Contributing Guide]

+

+ + Developed by Humans + +

+

Made with ❤️ by the Monochrome team

diff --git a/docker-compose.yml b/docker-compose.yml index 02fe95e..bdf5a2c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,7 +18,7 @@ services: networks: - monochrome-network healthcheck: - test: ['CMD', 'wget', '--no-verbose', '--tries=1', '--spider', 'http://localhost:4173/health'] + test: ['CMD', 'wget', '--no-verbose', '--tries=1', '--spider', 'http://localhost:4173/'] interval: 30s timeout: 3s retries: 3 diff --git a/index.html b/index.html index ec355eb..03bac78 100644 --- a/index.html +++ b/index.html @@ -528,7 +528,6 @@ color: var(--foreground); cursor: pointer; padding: 0.25rem 0.5rem; - opacity: 0.7; " > CSV @@ -669,6 +668,22 @@ Make sure its headers are in English.

+ +
+
+ Strict Album Matching + + Album name should strictly match CSV metadata. Disable for better discovery. + +
+ +