Diffuse
A music player that connects to your cloud & distributed storage
Return to the application
About
Adding Sources Using Query Parameter
JSON = encodeURIComponent(JSON.stringify({
// Object contents depends on type of source, see below.
kind: "ipfs",
data: {
name: "Music from IPFS",
// Source type specific
directoryHash: "Qm..."
}
}))
"https://diffuse.sh?source=JSON"
You can add multiple “source” query parameters, if you want to add multiple sources.
Amazon S3
# Required
accessKey
bucketName
region
secretKey
# Optional
directoryPath
host
Azure
# Required
accountName
accountKey
container
# Optional
directoryPath
BTFS
# Required
directoryHash
# Optional
gateway
Dropbox
# Required
accessToken
appKey
# Optional
directoryPath
# Required
authCode
clientId
clientSecret
# Optional
folderId
IPFS
# Required
directoryHash
# Optional
gateway
ipns ← boolean, `t` of `f`
local ← boolean, `t` of `f`
WebDAV
# Required
url
# Optional
directoryPath
password
username