Skip to content

Commit 60e880f

Browse files
committed
Merge branch 'refs/heads/develop'
# Conflicts: # docsite/docs/configuration/configuration.md
2 parents e5dd473 + 16cef0a commit 60e880f

40 files changed

+2620
-1814
lines changed

.dockerignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ config/*.p8
1515
/docs
1616
/logs
1717
.flatpak-builder
18-
flatpak/generated-sources.json
18+
**/generated-sources.*
1919
flatpak/.flatpak-builder
2020
docsite/build
2121
docsite/node_modules

.github/workflows/docsDeploy.yml

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
env:
2828
ANALYTICS: ${{ vars.ANALYTICS }}
2929
ANALYTICS_DOMAIN: ${{ vars.ANALYTICS_DOMAIN }}
30+
DOCS_BASE: '/multi-scrobbler'
3031
run: npm run build
3132
working-directory: ./docsite
3233

.github/workflows/publishImage.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ on:
1010
- '*.*.*'
1111
# don't trigger if just updating docs
1212
paths-ignore:
13-
- '**.md'
13+
- 'README.md'
1414
- '.github/**'
15-
- 'docsite/**'
1615
- 'flatpak/**'
1716
# use release instead of tags once version is correctly parsed
1817
# https://github.com/docker/metadata-action/issues/422

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,4 @@ flatpak/generated-sources.json
132132

133133
build
134134
!setupProxy.js
135+
**/generated-sources.*

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,15 @@ COPY --chown=abc:abc . /app
8484
# need to set before build so server/client build is optimized and has constants (if needed)
8585
ENV NODE_ENV=production
8686

87-
RUN npm run build && rm -rf node_modules
87+
RUN npm run docs:install && npm run build && rm -rf node_modules && rm -rf docsite/node_modules
8888

8989
FROM base as app
9090

9191
COPY --chown=abc:abc package*.json ./
9292
COPY --chown=abc:abc patches ./patches
9393
COPY --from=build --chown=abc:abc /app/dist /app/dist
9494
COPY --from=build --chown=abc:abc /app/src /app/src
95+
COPY --from=build --chown=abc:abc /app/docsite /app/docsite
9596
COPY --from=base /usr/bin /usr/bin
9697
COPY --from=base /usr/lib /usr/lib
9798

README.md

+35-27
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,45 @@
33
[![Latest Release](https://img.shields.io/github/v/release/foxxmd/multi-scrobbler)](https://github.com/FoxxMD/multi-scrobbler/releases)
44
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
55
[![Docker Pulls](https://img.shields.io/docker/pulls/foxxmd/multi-scrobbler)](https://hub.docker.com/r/foxxmd/multi-scrobbler)
6+
[![Docs](https://img.shields.io/badge/Read%20The%20Docs-1082c2)](https://foxxmd.github.io/multi-scrobbler/)
7+
68

79
<img src="/assets/icon.png" align="right"
810
alt="multi-scrobbler logo" width="180" height="180">
911

1012
A javascript app to scrobble music you listened to, to [Maloja](https://github.com/krateng/maloja), [Last.fm](https://www.last.fm), and [ListenBrainz](https://listenbrainz.org)
1113

1214
* Supports scrobbling from many **Sources**
13-
* [Spotify](/docsite/docs/configuration/configuration.md#spotify)
14-
* [Plex](/docsite/docs/configuration/configuration.md#plex) or [Tautulli](/docsite/docs/configuration/configuration.md#tautulli)
15-
* [Subsonic-compatible APIs](/docsite/docs/configuration/configuration.md#subsonic) (like [Airsonic](https://airsonic.github.io/) and [Navidrome](https://www.navidrome.org/))
16-
* [Jellyfin](/docsite/docs/configuration/configuration.md#jellyfin)
17-
* [WebScrobbler](/docsite/docs/configuration/configuration.md#webscrobbler)
18-
* [Youtube Music](/docsite/docs/configuration/configuration.md#youtube-music)
19-
* [Last.fm](/docsite/docs/configuration/configuration.md#lastfm-source)
20-
* [ListenBrainz](/docsite/docs/configuration/configuration.md#listenbrainz--source-)
21-
* [Deezer](/docsite/docs/configuration/configuration.md#deezer)
22-
* [MPRIS (Linux Desktop)](/docsite/docs/configuration/configuration.md#mpris)
23-
* [Mopidy](/docsite/docs/configuration/configuration.md#mopidy)
24-
* [JRiver](/docsite/docs/configuration/configuration.md#jriver)
25-
* [Kodi](/docsite/docs/configuration/configuration.md#kodi)
26-
* [Google Cast (Chromecast)](/docsite/docs/configuration/configuration.md#google-cast--chromecast-)
27-
* [Musikcube](/docsite/docs/configuration/configuration.md#muikcube)
15+
* [Spotify](https://foxxmd.github.io/multi-scrobbler/docs/configuration#spotify)
16+
* [Plex](https://foxxmd.github.io/multi-scrobbler/docs/configuration#plex) or [Tautulli](https://foxxmd.github.io/multi-scrobbler/docs/configuration#tautulli)
17+
* [Subsonic-compatible APIs](https://foxxmd.github.io/multi-scrobbler/docs/configuration#subsonic) (like [Airsonic](https://airsonic.github.io/) and [Navidrome](https://www.navidrome.org/))
18+
* [Jellyfin](https://foxxmd.github.io/multi-scrobbler/docs/configuration#jellyfin)
19+
* [WebScrobbler](https://foxxmd.github.io/multi-scrobbler/docs/configuration#webscrobbler)
20+
* [Youtube Music](https://foxxmd.github.io/multi-scrobbler/docs/configuration#youtube-music)
21+
* [Last.fm](https://foxxmd.github.io/multi-scrobbler/docs/configuration#lastfm-source)
22+
* [ListenBrainz](https://foxxmd.github.io/multi-scrobbler/docs/configuration#listenbrainz-source)
23+
* [Deezer](https://foxxmd.github.io/multi-scrobbler/docs/configuration#deezer)
24+
* [MPRIS (Linux Desktop)](https://foxxmd.github.io/multi-scrobbler/docs/configuration#mpris)
25+
* [Mopidy](https://foxxmd.github.io/multi-scrobbler/docs/configuration#mopidy)
26+
* [JRiver](https://foxxmd.github.io/multi-scrobbler/docs/configuration#jriver)
27+
* [Kodi](https://foxxmd.github.io/multi-scrobbler/docs/configuration#kodi)
28+
* [Google Cast (Chromecast)](https://foxxmd.github.io/multi-scrobbler/docs/configuration#google-cast-chromecast)
29+
* [Musikcube](https://foxxmd.github.io/multi-scrobbler/docs/configuration#muikcube)
2830
* Supports scrobbling to many **Clients**
29-
* [Maloja](/docsite/docs/configuration/configuration.md#maloja)
30-
* [Last.fm](/docsite/docs/configuration/configuration.md#lastfm)
31-
* [ListenBrainz](/docsite/docs/configuration/configuration.md#listenbrainz)
32-
* Monitor status of Sources and Clients using [webhooks (Gotify, Ntfy, Apprise)](/docsite/docs/configuration/configuration.md#webhook-configurations) or [healthcheck endpoint](/docsite/docs/configuration/configuration.md#health-endpoint)
31+
* [Maloja](https://foxxmd.github.io/multi-scrobbler/docs/configuration#maloja)
32+
* [Last.fm](https://foxxmd.github.io/multi-scrobbler/docs/configuration#lastfm)
33+
* [ListenBrainz](https://foxxmd.github.io/multi-scrobbler/docs/configuration#listenbrainz)
34+
* Monitor status of Sources and Clients using [webhooks (Gotify, Ntfy, Apprise)](https://foxxmd.github.io/multi-scrobbler/docs/configuration#webhook-configurations) or [healthcheck endpoint](https://foxxmd.github.io/multi-scrobbler/docs/configuration#health-endpoint)
3335
* Supports configuring for single or multiple users (scrobbling for your friends and family!)
3436
* Web server interface for stats, basic control, and detailed logs
3537
* Graceful network and client failure handling (queued scrobbles that auto-retry)
3638
* Smart handling of credentials (persistent, authorization through app)
3739
* Easy configuration through ENVs or JSON
38-
* Install using [Docker images for x86/ARM](/docsite/docs/installation/installation.md#docker), [flatpak](/docsite/docs/installation/installation.md#flatpak), or [locally with NodeJS](/docsite/docs/installation/installation.md#nodejs)
40+
* Install using [Docker images for x86/ARM](https://foxxmd.github.io/multi-scrobbler/docs/installation#docker#docker), [flatpak](https://foxxmd.github.io/multi-scrobbler/docs/installation#docker#flatpak), or [locally with NodeJS](https://foxxmd.github.io/multi-scrobbler/docs/installation#docker#nodejs)
41+
42+
[**Quick Start Guide**](https://foxxmd.github.io/multi-scrobbler/docs/quickstart)
43+
44+
<img src="/assets/status-ui.png" width="800">
3945

4046
**Why should I use this over a browser extension and/or mobile app scrobbler?**
4147

@@ -46,9 +52,7 @@ A javascript app to scrobble music you listened to, to [Maloja](https://github.c
4652

4753
**But I already scrobble my music to Last.fm/ListenBrainz, is multi-scrobbler for me?**
4854

49-
Yes! You can use [Last.fm as a **Source**](/docsite/docs/configuration/configuration.md#lastfm--source-) or [Listenbrainz as a **Source**](/docsite/docs/configuration/configuration.md#listenbrainz--source-) to forward scrobbles from your profile to any other Client! That way you can keep your current scrobble setup as-is but still get the benefit of capturing your data to a self-hosted location.
50-
51-
<img src="/assets/status-ui.png" width="800">
55+
Yes! You can use [Last.fm as a **Source**](https://foxxmd.github.io/multi-scrobbler/docs/configuration#lastfm-source) or [Listenbrainz as a **Source**](https://foxxmd.github.io/multi-scrobbler/docs/configuration#listenbrainz-source) to forward scrobbles from your profile to any other Client! That way you can keep your current scrobble setup as-is but still get the benefit of capturing your data to a self-hosted location.
5256

5357
## How Does multi-scrobbler (MS) Work?
5458

@@ -73,13 +77,17 @@ Client configurations consist of:
7377
* A friendly name.
7478
* Any data needed to communicate or authenticate with the Client.
7579

80+
## Quick Start
81+
82+
[See the **Quick Start Guide**](https://foxxmd.github.io/multi-scrobbler/docs/quickstart)
83+
7684
## Installation
7785

78-
[See the **Installation** documentation](/docsite/docs/installation/installation.md)
86+
[See the **Installation** documentation](https://foxxmd.github.io/multi-scrobbler/docs/installation)
7987

8088
## Configuration
8189

82-
[See the **Configuration** documentation](/docsite/docs/configuration/configuration.md)
90+
[See the **Configuration** documentation](https://foxxmd.github.io/multi-scrobbler/docs/configuration)
8391

8492
## Usage
8593

@@ -94,11 +102,11 @@ On first startup you may need to authorize Spotify and/or Last.fm by visiting th
94102

95103
## Help/FAQ
96104

97-
Having issues with connections or configuration? Check the [FAQ](/docsite/docs/FAQ.md) before creating an issue!
105+
Having issues with connections or configuration? Check the [FAQ](https://foxxmd.github.io/multi-scrobbler/docs/FAQ) before creating an issue!
98106

99107
## Development
100108

101-
[Detailed architecture and development guides for Sources/Clients](/docsite/docs/development/dev-common.md)
109+
[Detailed architecture and development guides for Sources/Clients](https://foxxmd.github.io/multi-scrobbler/docs/development/dev-common)
102110

103111
## License
104112

alpine.Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ COPY --chown=abc:abc . /app
4040
# need to set before build so server/client build is optimized and has constants (if needed)
4141
ENV NODE_ENV=production
4242

43-
RUN npm run build && rm -rf node_modules
43+
RUN npm run docs:install && npm run build && rm -rf node_modules && rm -rf docsite/node_modules
4444

4545
FROM base as app
4646

@@ -49,6 +49,7 @@ COPY --chown=abc:abc package*.json ./
4949
COPY --chown=abc:abc patches ./patches
5050
COPY --from=build --chown=abc:abc /app/dist /app/dist
5151
COPY --from=build --chown=abc:abc /app/src /app/src
52+
COPY --from=build --chown=abc:abc /app/docsite /app/docsite
5253
COPY --from=base /usr/local/bin /usr/local/bin
5354
COPY --from=base /usr/local/lib /usr/local/lib
5455

codeshift/transform.ts

-217
This file was deleted.

0 commit comments

Comments
 (0)