Compare commits

...

No commits in common. "turquoise" and "main" have entirely different histories.

210 changed files with 1712 additions and 2194 deletions

View file

@ -1,47 +0,0 @@
# Dependencies
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Development files
*.md
.git/
.gitignore
# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# Editor files
.vscode/
.idea/
*.swp
*.swo
# Logs
logs
*.log
# Environment files
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
# CI/CD
.forgejo/
.github/
# Other
coverage/
.nyc_output/
# Built files (will be built inside Docker)
dist/

10
.editorconfig Normal file
View file

@ -0,0 +1,10 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
[*.{js,json,.yml}]
charset = utf-8
indent_style = space
indent_size = 2

View file

@ -1,8 +0,0 @@
# Copy to .env and fill in your secrets
# These are used by the Bun/Elysia server to fetch your current/last played track from Last.fm
LASTFM_API_KEY=
LASTFM_USERNAME=
# Optional
PORT=3000
NODE_ENV=development

View file

@ -3,7 +3,7 @@ name: Build and Push Docker Image
on:
push:
branches:
- turquoise
- main # Adjust if your main branch is different
tags:
- 'v*.*.*' # Trigger on version tags
@ -26,6 +26,14 @@ jobs:
with:
fetch-depth: 0 # Recommended for metadata action
- name: Install pnpm dependencies
run: pnpm i
shell: sh
- name: Build project
run: pnpm run build
shell: sh
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
@ -47,7 +55,7 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_BASE_NAME }}
tags: |
# Use 'github.ref' for branch/tag detection
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'turquoise') }}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }} # Adjust 'main' if needed
type=ref,event=branch
type=ref,event=tag
type=sha,format=short # Tag with short Git SHA
@ -57,11 +65,11 @@ jobs:
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.ref.name=${{ github.ref_name }}
- name: Build and push minimal Docker image
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile # Uses the Alpine-based minimal container
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }} # Use tags from metadata step
labels: ${{ steps.meta.outputs.labels }} # Use labels from metadata step

1
.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
/.yarn/** linguist-vendored

28
.gitignore vendored
View file

@ -1,27 +1,5 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist
dist-ssr
*.local
docker-compose.yml
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# Environment variables
.env
www/extra
www/css/style.css

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show more