Skip to content

feat: add peersky://archive to list all published P2P content (IPFS, Hyper, ENS) for discoverability #59

@akhileshthite

Description

@akhileshthite

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.html in pages/
    (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/.

For the chat app specifically, the Hyperdrive name is defined in protocols/hyper-handler.js.

  • For IPFS:

    • Although data is stored in the local ipfs directory, 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.
  • For ENS:
    The names and hashes are stored in ensCache.json.

Sub-issues

Metadata

Metadata

Assignees

Labels

UI/UXRelated to designenhancementNew feature or requesthyperRelated to hyper protocolipfs/ipnsRelated to ipfs protocolpriority: highFor important issues that affect many users or major functionality of the project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions