aria2 / aria2

aria2 is a lightweight multi-protocol & multi-source, cross platform download utility operated in command-line. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink.
https://aria2.github.io/
GNU General Public License v2.0
35.44k stars 3.58k forks source link

Add more protocols #699

Open cdscs opened 8 years ago

cdscs commented 8 years ago

It's awesome that I can use aria2 to download from multiple protocols, but there many more P2P networks that would be nice to have support for. For example ipfs, gnunet, tor, i2p, freenet, or hyperboria.

Is this idea something that you would consider? PLEASE PLEASE PLEASE

tatsuhiro-t commented 8 years ago

At the moment, we have no plan to add another protocol.

rmg commented 7 years ago

FWIW, I found aria2 after looking for something wget-like that supports ipfs since ipget is ipfs-only.

commandline-be commented 4 years ago

At the moment, we have no plan to add another protocol.

IPFS does seem like a viable and interesting effort to endorse with Aria.

kadogo commented 4 years ago

Same question because I was looking about how Aria2 was build to see how we could add new protocoles but I didn't saw any information related to the source on readthedocs.

Did I miss some documentation about how the source is working, how it's structured in case a new protocol is added...

Cheers.

nikeee commented 3 years ago

IPFS does seem like a viable and interesting effort to endorse with Aria.

Could you elaborate?

Brave, a semi-mainstream browser, just released with native IPFS support: https://brave.com/ipfs-support/ https://github.com/brave/brave-browser/projects/32

They will also ship IPFS support on its android version. Maybe IPFS will get some traction due to this.

jnorthrup commented 2 years ago

as time passes, the networks get cheaper to run, and the margins on the network get bigger and bigger for the providers, but the end-user story improves only barely if at all while those profits increase.

net nuetrality is nothing new, in fact, it's almost nothing at all in 2022.

aria2 is a great tool. it occured to me to look for an ipfs issue and im surprised it is this old.

this issue should be bumped frequently.

fulldecent commented 1 year ago

@tatsuhiro-t Of the above, probably IPFS and tor are the most serious candidates.

Can you please say what kind of pull request from the community might be acceptable to add to aria2? Full support? Beta quality? Alpha quality? Complete project plan and stubs?

If what you said is still true "no new protocols" or there is some fundamental problem with IPFS or tor, please say so and close this issue. It could be helpful to add a "Project scope" section to readme that explains this decision, and it will help focus efforts on the parts of aria2 that will welcome contributions.

jnorthrup commented 1 year ago

I poked around and took a look at how I might adapt aria2 to the libcurl interfaces to make interoperability happen and it gave me a really thorough understanding of that statement "At the moment, we have no plan to add another protocol."

I'ts probably not a case of planning, but actually something akin to knot-physics research to add more code to the existing codebase.

off-hand, and I'm being serious, aria2c is doing a pretty good job of doing what it advertises, but MLDonkey probably has the protocols and the code clarity to better succeed at fitting to a commandline wrapper interface or a library and adding more protocols.