BlockBoard

BlockBoard

Decentralized universal clipboard

The problem BlockBoard solves

  • Seamless connectivity between devices of different platforms has become essential in today's digital world.

  • Apple's Universal Clipboard feature allows for easy copy and paste between Apple devices, but is not available for other devices.

Solution:

  • We designed an application with IPFS and javascript to tackle this problem which enables seamless data transfer between devices running on different platforms.
  • We also added an extra layer of security to the clipboard by encrypting the data and using a token-based mechanism with Filecoin.

How we implemented:

  • Our implementation involves executing various scripts depending on changes in the clipboard.
  • Whenever a user copies new text, we retrieve the newly copied text and add it to the web3 storage, which is a cloud-based storage solution.
  • This ensures that the latest text is available to all devices connected to the blockchain network.
  • When another device connected to the same blockchain network copies new text, we detect the update in the web3 storage and automatically update the clipboard on all connected devices with the latest text.
  • This ensures that all devices connected to the blockchain network have access to the most up-to-date information.

Challenges we ran into

The problem of synchronization of different devices copying at the same time.

  • It is a common issue that arises when multiple users or devices need to access and modify the same set of files.

  • In order to ensure that all devices have access to the most up-to-date versions of the files, a synchronization process is required.

  • We solved this problem is by implementing a synchronization tool that manages the transfer of files between devices. It detects changes in clipboard, and then synchronize the files across all devices based on a set of rules.

Getting images from the clipboard and pasting it was difficult to do

  • we can't directly access the image pasted in the clipboard
  • we had to take a different approach of pushing the image thorugh it's path

Requests from/to IPFS require some time to complete,hence the clipboard will get updated after a small delay

  • Requests from/to IPFS took some time to complete, which can cause a delay in updating the clipboard.
    *We solved this by implementing a callback function that triggers once the IPFS request is complete. This function can then update the clipboard with the new data.

Tracks Applied (2)

Filecoin

used filecoin to store the clipboard data, we have used web3storage to leverage the use of ipfs. we found slight delay i...Read More

Filecoin

Replit

Used it to develop, collab and publish the repository . It was very useful in helping our team mates . we have utilized ...Read More

Replit

Discussion