awesome-ipfs
awesome-ipfs copied to clipboard
Added solid-ipfs
solid-ipfs - Using Solid to store IPFS Hash privately or publicly
Can this be accepted as soon as possible ?
I am not able to test this that is why I am not able to merge this and verify how it works.
Can you give more info about how it works? What is the meaning behind "Using Solid to store IPFS Hash"?
@koalalorenzo You can click here to learn more about Solid.
solid-ipfs can privatize the hash of the IPFS file, which prevents the hash value from being leaked (this is useful if the user doesn't want to expose the hash)
Solid is part of the Semantic web and its purpose is to give data ownership to the user. If the user wants to privatize the file to the IPFS network, then storing the Hash in the Solid network (with permission control, WAC, web access control) is a very good measure.
Solid uses RDF (Resource Definition Framework) to define all real-world resources, including but not limited to folders, files, chats, code, and more. So we think of the hash of an IPFS file as a file resource stored in RDF. This adds Solid's semantic calculations (in fact, a graph calculation) and WAC (Web Access Control) to implement privatized storage of hashes.
So It works as IPNS / DNSLINK alternative? How do you ensure WAC / private content on IPFS when the hashes are public? are you encrypting those? Do you have any suggestion on how to test it?
- Can be understood as an alternative to IPNS / DNSLINK.
- WAC is a very strict privilege control specification and generally cannot cause a leak.
- This version does not encrypt the hash, but encryption is really necessary.
- Are the tests you refer to as automated tests or human tests?
I want to test this later this evening, how can I open the app and use it? Do I need a Solid Pod?
@koalalorenzo Yes, you need a Solid Pod, please click here to register. Then follow the steps below to test:
- Clone solid-ipfs
- Get a Solid Pod and login
- Change the url parameter of line 20 of this file to your address after registration, which is to replace
alicea
with your solid pod username. - Start http-server at the root of project
solid-ipfs
and visit <YOUR_URL>/example - Open the browser console, if the output "保存成功" means successful execution
- Visit
https://<YOUR_USERNAME>.solid.authing.com/inbox/
to check if the folder has the/ipfs/hash/
directory and the corresponding file in the directory (test stored hash isxxxxxxaaaaaa
). Or visithttps://<YOUR_USERNAME>.solid.authing.cn/inbox/ipfs/hash/xxxxxxaaaaaa.txt
to see if it can be opened.
hello, @koalalorenzo, have you tested it ?
oh my god
Hi, I am sorry for the delay. No I have not tested it yet as it takes a lot of time and I am not a support/getting paid for this. I am reviewing PRs to help the community and the ecosystem, so please be patient. I am going to drop this and hopefully somebody else will review it.
Please, please, please. Understand that I am doing this for free and I am very busy! Don't treat me badly for it! 😢
small note: Read the README how to update, I see you modified just the README itself and this change will be removed on the next PR if you don't do it properly!
@koalalorenzo I got it, thank you!
Closing. This PR should be re-opened and the entry should modify the appropriate file in the data
folder only.
pinging @leinue for visibility.