A music player that connects to your cloud/distributed storage.
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

Document how to add sources using query param

+121
+10
src/Css/About.css
··· 83 83 } 84 84 } 85 85 86 + .hljs-comment, 87 + .language-shell .hljs-meta, 88 + .language-shell .hljs-meta + .bash { 89 + opacity: 0.5; 90 + } 91 + 92 + .hljs-string { 93 + @apply text-base0b; 94 + } 95 + 86 96 87 97 88 98 /* Links
+108
src/Static/About/Dev.md
··· 1 + > A music player that connects to your cloud & distributed storage 2 + 3 + [Return to the application](../../) 4 + [About](../) 5 + 6 + 7 + 8 + ## Adding Sources Using Query Parameter 9 + 10 + ```js 11 + JSON = encodeURIComponent(JSON.stringify({ 12 + // Object contents depends on type of source, see below. 13 + kind: "ipfs", 14 + data: { 15 + name: "Music from IPFS", 16 + 17 + // Source type specific 18 + directoryHash: "Qm..." 19 + } 20 + })) 21 + 22 + "https://diffuse.sh?source=JSON" 23 + ``` 24 + 25 + You can add multiple "source" query parameters, if you want to add multiple sources. 26 + 27 + ### Amazon S3 28 + 29 + ```shell 30 + # Required 31 + accessKey 32 + bucketName 33 + region 34 + secretKey 35 + 36 + # Optional 37 + directoryPath 38 + host 39 + ``` 40 + 41 + ### Azure 42 + 43 + ```shell 44 + # Required 45 + accountName 46 + accountKey 47 + container 48 + 49 + # Optional 50 + directoryPath 51 + ``` 52 + 53 + ### BTFS 54 + 55 + ```shell 56 + # Required 57 + directoryHash 58 + 59 + # Optional 60 + gateway 61 + ``` 62 + 63 + ### Dropbox 64 + 65 + ```shell 66 + # Required 67 + accessToken 68 + appKey 69 + 70 + # Optional 71 + directoryPath 72 + ``` 73 + 74 + ### Google 75 + 76 + ```shell 77 + # Required 78 + authCode 79 + clientId 80 + clientSecret 81 + 82 + # Optional 83 + folderId 84 + ``` 85 + 86 + ### IPFS 87 + 88 + ```shell 89 + # Required 90 + directoryHash 91 + 92 + # Optional 93 + gateway 94 + ipns ← boolean, `t` of `f` 95 + local ← boolean, `t` of `f` 96 + ``` 97 + 98 + ### WebDAV 99 + 100 + ```shell 101 + # Required 102 + url 103 + 104 + # Optional 105 + directoryPath 106 + password 107 + username 108 + ```
+1
src/Static/About/Index.md
··· 2 2 3 3 [Return to the application](../) 4 4 [CORS instructions](cors/) 5 + [Developers](dev/) 5 6 6 7 7 8
+2
src/Static/About/Layout.html
··· 36 36 37 37 38 38 <!-- Service worker --> 39 + <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.3.2/highlight.min.js"></script> 40 + <script>hljs.initHighlightingOnLoad()</script> 39 41 <script> 40 42 if ("serviceWorker" in navigator) { 41 43 navigator.serviceWorker.register("{{pathToRoot}}service-worker.js")