-
Notifications
You must be signed in to change notification settings - Fork 324
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
Redirect .ipfs and .ipns files #641
Comments
Interesting idea, @hazae41 Is there a reason why separate file extension is used for IPNS? Note to self: if we add this to Companion, we should also look into registering OS-wide support for |
I think file extensions should be per protocol since it would tell the user what we are processing, exactly the same way as a URL like "/ipfs/Qm..." describes that we are dealing with an IPFS or IPNS hash In addition, it will make it easier to sort content and domain names in a file system, without having to look at what's inside. 🔨 I made an userscript for this: https://github.com/RHazDev/ipfs-files.user.js |
Fair enough. I am mostly living in terminal, so may not appreciate how useful this may be to regular users, but see how it makes more sense in the future where other namespaces are added, eg. to have @ipfs-shipyard/gui thoughts on this? tl;dr this is about adding support for The idea sounds similar to Adding support involves ipfs-desktop (registering filetype handler in OS that just redirects to ipfs:// or ipns://) and ipfs-webui ("symlink" support in Files) so I don't feel like it should be adopted without your feedback. |
I like this idea! |
Well, with this feature you could store named hashes into a file system
You could even translate URIs like file://myfile.ipfs to ipfs://Qm...
|
This was stale for a long time, and seems unlikely given that:
I'm closing this but can reopen if there is an interest in pursuing this. |
Hello, I recently added to Sweet IPFS a way to "export" an ipfs/ipns hash to a .ipfs/.ipns file (it is just a plain text file with the hash written)
Example:
https://ipfs.eternum.io/ipfs/QmRrNxz28cn4xm8kXHffMNqYqRh2JUPQPvaB3W8ietwrn6
Could you please add a way to redirect .ipfs/.ipns files when accessed from the browser, so IPFS Companion automatically redirect the URL to the hash content
This would be great in order to reference an IPFS content from another IPFS content without needing to download it or suggesting a certain gateway, or even in order to reference a mutable content via .ipns files
Sharing an IPFS content via .ipfs/.ipns files would be like sharing a Torrent via .torrent files
If possible, it would be great to also allow this redirect from any website, not just IPFS gateways. Examples:
And also, if it could support path to a certain file in an IPFS folder
Example: the content of my-cat.ipfs is "Qm.../cats/cat.png" so the browser redirect to /ipfs/Qm.../cats/cat.png
Thanks for your hard work on improving the world ;)
The text was updated successfully, but these errors were encountered: