···1313### Integrations
14141515Music layer for music storage.
1616-User layer for user-data storage.
1616+User layer for user-data storage.
17171818#### Music layer
1919···41414242### Hosting on your own server
43434444-Diffuse is a static web application, which means it's just HTML, CSS and Javascript. No REST API, database, or anything backend-related involved. The app uses a hash, aka. fragment, based routing system, so you don't need any special server rules for routing. You can download a pre-build web-only version of Diffuse on the [releases](https://github.com/icidasset/diffuse/releases) page. Diffuse uses service workers, so you may need HTTPS for it to work smoothly in certain browsers.
4444+Diffuse is a static web application, which means it's just HTML, CSS, and Javascript. No REST API, database, or anything backend-related involved. The app uses a hash (aka. fragment-based) routing system, so you don't need any special server rules for routing. You can download a pre-build web-only version of Diffuse on the [releases](https://github.com/icidasset/diffuse/releases) page. Diffuse uses service workers, so you may need HTTPS for it to work smoothly in certain browsers.
45454646-I should also note that some source services use OAuth, so you'll need to use your own application credentials (eg. google drive client id + secret). That said, if you're working locally you can use `http://localhost:8000` or `http://127.0.0.1:44999` to use the default ones, that's what the old Electron app was using.
4646+I should also note that some source services use OAuth, so you'll need to use your own application credentials (eg. Google Drive client ID + secret). That said, if you're working locally, you can use `http://localhost:8000` or `http://127.0.0.1:44999` to use the default ones, that's what the old Electron app was using.
47474848In short:
4949-- Diffuse is a static, serverless, web application
4949+- Diffuse is a static, serverless web application
5050- Routing is done using hashes/fragments (eg. `diffuse.sh/#/sources`)
5151- Download a web build on the [releases](https://github.com/icidasset/diffuse/releases) page
5252- Uses service workers (use HTTPS if possible)
···6666```shell
6767# 🍱
68686969-# 1. Setup Nix environment
6969+# 0. Install the Nix package manager
7070# https://nixos.org/download.html
7171+7272+# 1. Setup environment
7373+nix develop
71747275# 2. Install js dependencies
7376just install-deps