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

a APP for Nextcloud #1779

Open
blackcrack opened this issue Nov 14, 2019 · 5 comments
Open

a APP for Nextcloud #1779

blackcrack opened this issue Nov 14, 2019 · 5 comments

Comments

@blackcrack
Copy link

@blackcrack blackcrack commented Nov 14, 2019

A Application for Nextcloud or Owncloud

What problem do you want to solve?
Torrent downloading behind a cloud

What do you think is the correct solution to this problem?
there exist not a good torrent downloader for Nextcloud

this could also use to stream a Movy like in the Headpage
of webtorrent, via link moviename.wto or download name.torrent to the downloadfolder of ocdownloader what already exist and can work together with webtorrent as Cloud-app.
create a "webtorrent"-folder and push the torrentfiles in this folder where be automagically download the torrentpacks between a time "from"-"up to" and if not works moves the *torrent-file into subfolder "deactivate" or "damaged" or something.. or something..
how ever, i have give you are the idea :) could be a cool possible to have some cloudapp :) 👍

best regards
Blacky

@beppe9000

This comment has been minimized.

Copy link

@beppe9000 beppe9000 commented Dec 11, 2019

What do you think is the correct solution to this problem?
there exist not a good torrent downloader for Nextcloud

*cloud is written in php. I don't think it plays well with js. This may be the wrong library to use server-side. Adding node dependency to a php project is redundant as there are entire php torrent clients out there. https://www.google.com/search?q=php+torrent+client+library

I think the best way to make use of webtorrent might be only on the browser as media viewing page, but I'm not sure if the what the overhead breakpoint of doing torrent vs direct streaming becomes an advantage.

It might be worth it if downloading a torrent and then using the *cloud server as a super seeder with some setting to give priority to your current ip address and streaming the same torrent from browser.
The only thing is that you would still be in the same swarm so I think it defeats the purpose of having the cloud download the torrent for privacy.

Maybe a web player could be coded that adapts to the download status of the torrent and uses normal streaming if your server is at 100%..

The optimal way would be to have the web client tell the server what pieces to download to maximize aggregate speed.


I still think you should bring this to a PHP project and then use webtorrent in the client-side part.
@blackcrack

This comment has been minimized.

Copy link
Author

@blackcrack blackcrack commented Dec 11, 2019

*cloud is written in php. I don't think it plays well with js.

and ?? sorry, you have no clue..
it's maybe better to let decide the members if they want something to build or not...
and js is supported in in Webapplications ..

You don't even know what's behind this "webtorrent", so,
let it stick... a german expression for don't speak so an junk..

let decide it the members of this project..
or some who want make this ..

best regards
Blacky

@beppe9000

This comment has been minimized.

Copy link

@beppe9000 beppe9000 commented Dec 11, 2019

a more reasonable way to do that... 😅

  • fork voltage (or similar php clients) to make it an app for *cloud
  • use webtorrent for the player as described above
@blackcrack

This comment has been minimized.

Copy link
Author

@blackcrack blackcrack commented Dec 12, 2019

  1. you don't know Nextcloud or do not admin by self OwnCloud / Nextcloud ( because you should know something about an downloader )
  2. (oh he have looking on the Homepage) exactly the Playing of Video and Sound is exactly this what makes specially ! Therewith it is possible to have a player directly out from a torrent way ..
    and it self as a downloader in a own webdownloadfolder inside/behind of Next/OwnCloud
    and therewith directly inside of an Useraccount.

so, make you're self not important and try to bring in a blabla without an clue ..

@feross , It is maybe possible to make a App for NC/OC ( maybe WebTorrentApp )
where all supports around Torrent wheres put&store the loaded files in a own folder by caching
and opening .. and so on..
Therewith could you make also really many advertising for you're engine in the Cloud Community
with some app for OC/NC ;)

@beppe9000

This comment has been minimized.

Copy link

@beppe9000 beppe9000 commented Dec 12, 2019

This could be another example on how to get that functionality rather than re-inventing the wheel.

It looks like swizzin does support nextcloud to some extent. Once that is done it is a matter of passing the torrent magnet link to a self-hosted mirror of http://instant.io .

So all the app needs to do is to:

  • require swizzin
  • host a static copy of player page with some js addition like preloading the server ip in the peers
  • add a play button for media files in the standard interface for swizzin directory that links to
    //your.server/player.html#torrent-hash

you don't know Nextcloud or do not admin by self OwnCloud / Nextcloud ( because you should know something about an downloader )

so, make you're self not important and try to bring in a blabla without an clue ..

Chill dude! You are being unconstructive. Don't talk in riddles: just share the knowledge, if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.