P2P support for infrastructure Topic is solved

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
User avatar
Schimon
Apollo supporter
Apollo supporter
Posts: 41
Joined: 2024-12-09, 14:01

P2P support for infrastructure

Post by Schimon » 2024-12-11, 19:36

Greetings!

I suggest to consider to utilize a P2P protocol (BitTorrent, ED2K, Gnutella, IPFS, Pears etc.) for Palemoon infrastructure, namely for extensions.

The repository of RealityRipple Software can be also available via P2P or both, and thereby reduce the costs of RealityRipple Software.

I think that an installer based on P2P would also be useful.

I share (i.e. seed, so called) over 50K torrents and I would be delighted to seed all of the extensions and themes of Palemoon and other XUL projects.

Related topics: Decentralised internet protocol support.

User avatar
RealityRipple
Keeps coming back
Keeps coming back
Posts: 894
Joined: 2018-05-17, 02:34
Location: Los Berros Canyon, California

Re: P2P support for infrastructure

Post by RealityRipple » 2024-12-11, 19:50

My website has unlimited file storage and bandwidth. Whether one byte or one terabyte is downloaded, my monthly bill remains the same.

User avatar
Schimon
Apollo supporter
Apollo supporter
Posts: 41
Joined: 2024-12-09, 14:01

Re: P2P support for infrastructure

Post by Schimon » 2024-12-11, 19:54

There may be other constrains such as censorship.

For instance, if you would have an IP address of Iran, GttLab would be blocked to you due to "legal" restrictions by Washington D.C.

P2P solves such arbitrary restrictions.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38398
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: P2P support for infrastructure

Post by Moonchild » 2024-12-11, 20:34

So you want Pale Moon to also become a torrent client?
:problem:
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Schimon
Apollo supporter
Apollo supporter
Posts: 41
Joined: 2024-12-09, 14:01

Re: P2P support for infrastructure

Post by Schimon » 2024-12-11, 22:59

I prefer ED2K or Gnutella with DHT support.

I think, that it would be of a great benefit to distribute Pale Moon data.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38398
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: P2P support for infrastructure

Post by Moonchild » 2024-12-11, 23:56

So the answer is "let's add a complex peer-to-peer chunked protocol to a web browser because http downloads are so pedestrian"

No. just no.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5689
Joined: 2015-12-09, 15:45

Re: P2P support for infrastructure

Post by moonbat » 2024-12-12, 05:17

Schimon wrote:
2024-12-11, 19:54
There may be other constrains such as censorship.

For instance, if you would have an IP address of Iran
What gave you the impression that RealityRipple or anyone else here was from Iran or any other restricted country? Solution looking for a problem much?
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

User avatar
Schimon
Apollo supporter
Apollo supporter
Posts: 41
Joined: 2024-12-09, 14:01

Re: P2P support for infrastructure

Post by Schimon » 2024-12-12, 07:13

Iran was an example because I have heard of it from a friend.

I have no intention to propose needless complexity.

I genuinely think, that a decentralized communication mean would be of a good value to Pale Moom and other projects.

User avatar
RoestVrijStaal
Moon lover
Moon lover
Posts: 82
Joined: 2019-06-19, 19:18
Location: Dependency Hell

Re: P2P support for infrastructure

Post by RoestVrijStaal » 2024-12-18, 01:49

In theory the possibilities for addons delivered by XUL are endless.

There is/was an addon which implements an complete IRC client with even DCC file sending support.

So you could write an addon implementing any P2P-client.

But why would you when there is a thing like WebTorrent? :)

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38398
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: P2P support for infrastructure

Post by Moonchild » 2024-12-18, 03:33

RoestVrijStaal wrote:
2024-12-18, 01:49
But why would you when there is a thing like WebTorrent? :)
Because it's broken. It can only connect to other WebTorrent browser peers. ;P
Note: WebTorrent does not support UDP/TCP peers in browser.
Also, it uses WebRTC, so it's not even implementing P2P itself but rather misusing a chat protocol:
In the browser, WebTorrent uses WebRTC (data channels) for peer-to-peer transport. It can be used without browser plugins, extensions, or installations. It's Just JavaScript™.
Now, using XUL and access to all the platform APIs, it could, actually, implement a full-fat BitTorrent client. "Torrent Tornado" is one such thing. Of note: Firefox no longer supports this kind of client because WebExtensions simply don't have the functionality available to them for this kind of client. We, however, do.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite