-
Notifications
You must be signed in to change notification settings - Fork 25
Open
0 / 10 of 1 issue completedOpen
feat: add
peersky://archive to list all published P2P content (IPFS, Hyper, ENS) for discoverability#590 / 10 of 1 issue completed
Copy link
Labels
UI/UXRelated to designRelated to designenhancementNew feature or requestNew feature or requesthyperRelated to hyper protocolRelated to hyper protocolipfs/ipnsRelated to ipfs protocolRelated to ipfs protocolpriority: highFor important issues that affect many users or major functionality of the projectFor important issues that affect many users or major functionality of the project
Description
Problem:
Currently, there is no way to access or discover previously published p2p data in PeerSky. This issue proposes adding an archive section to improve content discoverability.
TODOs:
-
Add archive section in
settings.htmlinpages/
(Copy the settings sidebar UI to list everything, including IPFS, Hyper, and ENS cached data.) -
For Hyper:
In each app, all data is stored in a Hyperdrive (e.g.,'drag-and-drop').- You can check each P2P app to find its Hyperdrive name in
pages/p2p/.
- You can check each P2P app to find its Hyperdrive name in
For the chat app specifically, the Hyperdrive name is defined in protocols/hyper-handler.js.
-
For IPFS:
- Although data is stored in the local
ipfsdirectory, there is no built-in index of stored CIDs. - Update each P2P app (
pages/p2p/) so that whenever a file is uploaded to IPFS, the returned CID (or URL) is also appended to a central JSON file (e.g.,ipfsCache.json). - This JSON file will act as an index, similar to how Hyperdrive names are tracked.
- Although data is stored in the local
-
For ENS:
The names and hashes are stored inensCache.json.
Sub-issues
Metadata
Metadata
Assignees
Labels
UI/UXRelated to designRelated to designenhancementNew feature or requestNew feature or requesthyperRelated to hyper protocolRelated to hyper protocolipfs/ipnsRelated to ipfs protocolRelated to ipfs protocolpriority: highFor important issues that affect many users or major functionality of the projectFor important issues that affect many users or major functionality of the project