Skip to content
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

Investigate Clipboard Pickling APIs #203

Open
lidel opened this issue Oct 20, 2022 · 0 comments
Open

Investigate Clipboard Pickling APIs #203

lidel opened this issue Oct 20, 2022 · 0 comments
Labels
need/analysis Needs further analysis before proceeding

Comments

@lidel
Copy link
Member

lidel commented Oct 20, 2022

Web Custom formats let websites read and write arbitrary unsanitized payloads using a standardized web custom format, as well as read and write a limited subset of OS-specific formats (for supporting legacy apps).

The name of the clipboard format is mangled by the browser in a standardized way to indicate that the content is from the web, which allows native applications to opt-in to accepting the unsanitized content.
https://chromestatus.com/feature/5649558757441536

Use in IPFS

It opens an interesting option for passing bytes on the web

Depending on low level limitations and permissions, this might be something we can leverage for:

  • signaling for things like exchanging SDP in WebRTC (Alternative to QR codes and ultrasound hacks)
  • light transport for exchanging IPFS blocks across tabs and apps
  • exchanging access tokens: IPFS Companion's access to Kubo RPC (if we add tokens), pinning services, maybe even user onboarding around UCAN use cases (extremely handwavey, just noting areas to explore)

References

@lidel lidel added the need/analysis Needs further analysis before proceeding label Oct 20, 2022
@galargh galargh moved this to To do in IPFS-GUI (PL EngRes) Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need/analysis Needs further analysis before proceeding
Projects
None yet
Development

No branches or pull requests

1 participant