pttai-next icon indicating copy to clipboard operation
pttai-next copied to clipboard

File sharing

Open poga opened this issue 4 years ago • 2 comments

Currently, we only support text-based(text, action) messages. Although we can easily support file sharing via putting files into hyperdrive. There're some concerns:

  • The performance impact of storing large binary blob in a merkle-log
  • Operation: Storing large file on local disk increases operation burden.
  • There're already many great platforms for sharing static files, such as BitTorrent, IPFS.

For simplicity sake, we can provide a simple "upload to BT/IPFS/S3" middleware and save the signed URL to the hyperdrive for now.

poga avatar Aug 06 '19 02:08 poga