···77- Allows you to make playlists public when using Fission/ODD SDK.
88- Fixes issue with Safari where reloading after a search caused the loader to be shown indefinitely.
99- Fixes syncing issues with Fission/ODD SDK (was called Webnative before)
1010-- Removes support for older browsers
1010+- Made the project easier to build.
1111+- Removes support for older browsers.
111212131314## 3.3.0
+10-11
Justfile
···11export NODE_NO_WARNINGS := "1"
223344-BUILD_DIR := "./build"
44+BUILD_DIR := "./dist"
55NPM_DIR := "./node_modules"
66SRC_DIR := "./src"
77SYSTEM_DIR := "./system"
···67676868@elm:
6969 echo "> Compiling Elm application"
7070- elm make {{SRC_DIR}}/Applications/Brain.elm --output {{BUILD_DIR}}/js/brain.elm.js
7171- elm make {{SRC_DIR}}/Applications/UI.elm --output {{BUILD_DIR}}/js/ui.elm.js
7070+ {{NPM_DIR}}/.bin/elm make {{SRC_DIR}}/Applications/Brain.elm --output {{BUILD_DIR}}/js/brain.elm.js
7171+ {{NPM_DIR}}/.bin/elm make {{SRC_DIR}}/Applications/UI.elm --output {{BUILD_DIR}}/js/ui.elm.js
727273737474@elm-prod:
7575 echo "> Compiling Elm application (optimised)"
7676- elm make {{SRC_DIR}}/Applications/Brain.elm --output {{BUILD_DIR}}/js/brain.elm.js --optimize
7777- elm make {{SRC_DIR}}/Applications/UI.elm --output {{BUILD_DIR}}/js/ui.elm.js --optimize
7676+ {{NPM_DIR}}/.bin/elm make {{SRC_DIR}}/Applications/Brain.elm --output {{BUILD_DIR}}/js/brain.elm.js --optimize
7777+ {{NPM_DIR}}/.bin/elm make {{SRC_DIR}}/Applications/UI.elm --output {{BUILD_DIR}}/js/ui.elm.js --optimize
78787979 {{NPM_DIR}}/.bin/esbuild {{BUILD_DIR}}/js/brain.elm.js \
8080 --minify --outfile={{BUILD_DIR}}/js/brain.elm.tmp.js
···151151152152@system:
153153 echo "> Compiling system"
154154- stack build --fast 2>&1 | sed '/^Warning:/,/Invalid magic: e49ceb0f$/d' | sed '/^Inferring license/d' && stack exec build --silent
154154+ {{NPM_DIR}}/.bin/gren make system/Build/Build.gren
155155+ node app
156156+ rm app
157157+155158156159157160#
···177180 elm-format {{SRC_DIR}} --yes
178181179182180180-@install-deps:
181181- npm install
182182-183183-184183@quality: check-versions
185184 echo "> Running es-lint"
186185 {{NPM_DIR}}/.bin/eslint src/Javascript/**/*
···190189191190@server:
192191 echo "> Booting up web server on port 8000"
193193- miniserve --spa --index index.html --port 8000 {{BUILD_DIR}}
192192+ {{NPM_DIR}}/.bin/serve {{BUILD_DIR}} -p 8000 --no-request-logging
194193195194196195@test: doc-tests
+6-13
README.md
···11<img src="https://diffuse.sh/images/diffuse-dark.svg" alt="Diffuse" width="158" />
2233-_A music player that connects to your cloud/distributed storage,
33+_A music player that connects to your cloud/distributed storage,
44in the form of a static, serverless, web application._
5566📍 Available at [diffuse.sh](https://diffuse.sh/) and for [download](https://github.com/icidasset/diffuse/releases).
···60606161### Building it yourself
62626363-This project uses [Nix](https://nixos.org/features.html) to manage the project's environment. If you'd like to build this project without Nix, check out the dependencies in the `nix/shell.nix` file (most are available through Homebrew as well).
6464-6363+This project can be built with [Node.js](https://nodejs.org/).
65646665```shell
6766# 🍱
68676969-# 0. Install the Nix package manager
7070-# https://nixos.org/download.html
6868+# 1. Install dependencies
6969+npm install
71707272-# 1. Setup environment
7373-nix develop
7474-7575-# 2. Install js dependencies
7676-just install-deps
7777-7878-# 3. Build, start server & watch for changes
7979-just
7171+# 2. Build, start server & watch for changes
7272+npx just
8073```
···11-> A music player that connects to your cloud & distributed storage
11+> A music player that connects to your cloud & distributed storage
2233-[Return to the application](../../)
44-[About](../)
33+[Return to the application](../../)<br />
44+[About](../)
556677···43434444#### BTFS
45454646-Add the domain of the app, with the protocol, to the __list of allowed origins__.
4646+Add the domain of the app, with the protocol, to the __list of allowed origins__.
47474848```shell
4949btfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["https://diffuse.sh", "http://diffuse.sh.ipns.localhost:8080", "http://127.0.0.1:44999"]'
···83838484#### IPFS
85858686-Add the domain of the app, with the protocol, to the __list of allowed origins__.
8686+Add the domain of the app, with the protocol, to the __list of allowed origins__.
87878888```shell
8989ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["https://diffuse.sh", "http://diffuse.sh.ipns.localhost:8080", "http://127.0.0.1:44999"]'
···111111112112#### Microsoft Azure Storage
113113114114-You can find the CORS configuration under the "Settings -> CORS".
114114+You can find the CORS configuration under the "Settings -> CORS".
115115Then fill in the following in the input boxes (left to right):
116116117117```
···126126127127#### WebDAV
128128129129-__Depends on your WebDAV server.__
129129+__Depends on your WebDAV server.__
130130Example setup for Henrique Dias's [WebDAV server](https://github.com/hacdias/webdav):
131131132132```yaml
···11-> A music player that connects to your cloud & distributed storage
11+> A music player that connects to your cloud & distributed storage
2233-[Return to the application](../)
44-[CORS instructions](cors/)
55-[Developers](dev/)
33+[Return to the application](../)<br />
44+[CORS instructions](cors/)<br />
55+[Developers](dev/)
667788···5252- WAV
5353- WEBM
54545555-<small><em>Note, support may vary depending on your <a href="https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Containers#Index_of_media_container_formats_file_types">browser</a>.</em></small>
5555+*<small>Note, support may vary depending on your <a href="https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Containers#Index_of_media_container_formats_file_types">browser</a>.</small>*
565657575858