Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which services should we integrate with? #12

Closed
13 of 16 tasks
icidasset opened this issue Jul 27, 2017 · 17 comments
Closed
13 of 16 tasks

Which services should we integrate with? #12

icidasset opened this issue Jul 27, 2017 · 17 comments

Comments

@icidasset
Copy link
Owner

icidasset commented Jul 27, 2017

💁 Suggestions are welcome!

Music storage

Maybe someday (if possible):

Cannot implement:

  • One Drive
    Too much of a hassle, requires use of an iframe and doesn't allow CORS with the code flow (refresh-token flow). Using an iframe is currently impossible and would mean rewriting a large part of the app.

Authentication / Information storage

  • Blockstack
  • IndexedDB
  • IPFS (v2)
  • RemoteStorage
  • Solid (postponed, not enough tooling yet)
  • Textile (v2)
@icidasset icidasset changed the title Which services should integrate with? Which services should we integrate with? Jul 27, 2017
This was referenced Aug 27, 2017
@happybeing
Copy link

I want to note here that if you support RemoteStorage using remoteStorage.js, it should become trivial to extend your support to SAFEnetwork (a decentralised secure autonomous Internet - see MaidSafe.net) using my fork of RS.js which is under development but working with the current SAFE Alpha2 network.

icidasset added a commit that referenced this issue Feb 23, 2018
@jcmrva
Copy link

jcmrva commented Mar 25, 2018

What about Azure blob storage?

@icidasset
Copy link
Owner Author

@jcmrva Thanks for the great suggestion! Will try to add that. Would you suggest https://azure.microsoft.com/en-us/services/storage/files/ as well then?

@jcmrva
Copy link

jcmrva commented Mar 27, 2018

I hadn't considered it, but... maybe.

What about setting up a poll for these + priority?

@icidasset
Copy link
Owner Author

@jcmrva Sure thing!

In order of importance, more important -> less important:



@icidasset
Copy link
Owner Author

@jcmrva Do you by any chance have any experience with the Azure APIs? I did most of the integration work, but I keep getting an authorization error. See #90 for more info (in case you're interested).

@jcmrva
Copy link

jcmrva commented Mar 31, 2018

A little... I'll look into it when I get home next week if it's still open.

@icidasset
Copy link
Owner Author

@jcmrva Never mind, found the issue. Support for 'Azure Blob Storage' has been added 👍I'm going to add the 'Azure File Storage' integration later, because that one is a bit more difficult. The file storage API doesn't support recursive listing of "shares" so I will have to build my own strategy for this.

@sunjam
Copy link

sunjam commented Jun 9, 2018

Youshark uses WebTorrent and aplayer for music as mentioned here and here

Here is a hosted demo you can try out.

Archive.org public domain audio player support
Sia storage

@sunjam
Copy link

sunjam commented Jun 9, 2018

It would be fun to federate to other instances of Diffuse using ActivityPub.
You could also federate with Funkwhale (similar to Grooveshark) which is also working on federation on their Gitlab.

Activitypub is what Nextcloud uses to federate with other instances afaik. Peertube video platform as well. Checkout this video of Peertube federating with Mastodon social platform.

@icidasset
Copy link
Owner Author

@sunjam Thanks again! 🙏

I will look into WebTorrent when I have time, cool to see that is possible!
Added Sia to the list.

Could you explain your reason for suggesting ActivityPub?
Is there a specific feature you are looking for?

I was thinking to do something with multiple instances.
For example, one thing I had in mind was that you could crossfade to a different instance.
Would be cool for DJ-ing.

That said, I'm not entirely getting this "federate" thing yet.
I'll have to look more into ActivityPub first I assume.

@dma-b
Copy link

dma-b commented Jul 6, 2018

Any love for simple OneDrive?

@icidasset
Copy link
Owner Author

@ciperyon Thanks for the suggestion, added it to the todo list.

@sunjam
Copy link

sunjam commented Jul 30, 2018

Could you explain your reason for suggesting ActivityPub?
Is there a specific feature you are looking for?

ActivityPub is a common protocol used for communicating between different decentralized servers, known as federation. It is what allows users on Server A to find & communicate with users on Server B.

Example: Nextcloud uses ActivityPub to federate (connect) with other servers running Nextcloud, Owncloud, or Pydio. Diffuse could use ActivityPub to connect with other Diffuse instances.
activitypub

ActivityPub is a very common protocol for decentralized apps, so you could develop it to share playlists and activity with not only other Diffuse instances, but also connect with a great number of other ActivityPub-supported services such as Mastodon (micro-blogging), PixelFed (photo hosting) and Hubzilla (social network). This series of federated services that all interconnect is known as the fediverse... here is an animation from Mastodon that illustrates how ActivityPub works.
activitypub

Edit: dev chat is at irc://irc.w3.org:6665/#activitypub

@icidasset
Copy link
Owner Author

Update on One Drive:
Currently not able to implement as the "code flow" authentication procedure does not support CORS. They suggest using an iframe as an alternative, but I'm not going anywhere near an iframe.

@sunjam
Copy link

sunjam commented Oct 25, 2018

Oauth2 support would be nice. Then I could log into Diffuse directly from Nextcloud or even this Github account.

@icidasset
Copy link
Owner Author

@sunjam Thanks for the suggestion! Sorry for the late reply. I'm not sure how that would work, since you have to register oauth applications, right? I'd like the application to be completely independent of other services.

@icidasset icidasset pinned this issue May 17, 2019
@icidasset icidasset unpinned this issue May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants