IPFS Companion has the beginnings of the your proxy2ipfs. If you’re running a local node and IPFS Companion browser extension, you can import any webpage into your local node by selecting that option in the alt-button click in your browser.
However, IPFS Companion does not download all supporting links in the page nor change the HTML to reflect a local IPFS storage of any page materials. There’s a reader mode or print page to file in some browsers which could probably be repurposed for obtaining the images or other materials linked in the page. Then it’s a matter of storing the original link and the new local IPFS link in a table, probably sqlite.
Keep in mind that you don’t have a license to redistribute random webpages due to copyright laws. They’ll contain different copyrighted materials, and you’d be making copies available to others through IPFS without the express permission of the intellectual property rights owners.
It’s quite possible to configure an IPFS node to not have any connections beyond localhost. In fact, I have several nodes running as single nodes without any connections to any other nodes. IPFS is an convenient storage method (especially with the newest de-duplication in v0.12) … and if one opens the gateway to the LAN, it’s easy to grab items from the storage using just a browser.
From OP’s description, the proxy2ipfs would function as a local only storage of material and not a WAN accessible distribution point of material - copyrighted or otherwise.
de-duplication & increasing availability are really neat features.
Our community is acting as a solarpunk civilisaton demonstration.
We are collecting and using educational and informative materials (web site, video, sound) used in courses, workshops or different artistic mashups. Our network is mainly offgrid and made by unconnected LAN.
Every one is bringing its own material or need access to it, connected (this is where proxy2ipfs would be useful). Or unconnected. For now we are experimenting a “friend of a friend” ipfs storage where every stations publishes on self IPNS a webpage containing own published resources plus the one from their friends (they keep a copy in case it goes offline). This maintains this chaotic storage area almost available.
@da2w about copyright concern, I think all this actual web is illegal because it is full of caching, proxing methods to keep performance and speed. Even google is feeding its search engine with billions of copyrighted stuff…
No, they’re not. There’s a caching exception in US and other national copyright laws for caches. However, IPFS doesn’t meet the requirements for the exception. Specifically, it lacks a mechanism for the content owner to set an expiration date, request removal, or exempt their content from being cached.
In my opinion a central control over p2p storage is impossible to obtain.
And if it was established by law, it would be a great brake for spontaneous creativity.
It seems to me that NFT are discreetly preparing this new “hashed linked crypto web space”…
It is best that data manage it’s rights by its own.
In our prototype we have clear ipfs address published or ipns (pointing to html) forcing a step before accessing. There any can put the best suitable “contract” to execute. A kind of meta protocol on how data is written and published over ipfs.
Publishers have tried to discourage copying materials ever since the printing press was invented.
A single human with a flat bed scanner is a modern publishers nightmare. Almost all copyright laws are in place to protect the profit margins for the publisher rather than the author. In the US, Congress somehow enacted RETROACTIVE extension of copyright… this is crazy… since the whole premise of copyright is a limited exclusive right to publish in exchange for publishing the creative work. In essence if a given Copyright length was acceptable to the author at the time of creation of the work, the Copyright law at the time was an acceptable and fair agreement to the author.
So, the government stole from the Public Domain and gave the profits to large Publishers.
After stating the ideological and practical limitations, I strongly encourage everyone to respect Big Publishing Houses and their lobbyists in governments world-wide… and not put anything protected by Copyright into public IPFS nodes.