noteshare.space icon indicating copy to clipboard operation
noteshare.space copied to clipboard

[Feature] Receive and store embedded images from users

Open mcndt opened this issue 3 years ago • 2 comments

Plugin

  • [ ] Check per-embed size before POST
  • [ ] Check total payload size before POST
  • [ ] GZIP json before POST

Server

  • [ ] Accept GZIP’ed JSON (+ unit test)
  • [ ] On WRITE NOTE event, log embed count & total size
  • [ ] on WRITE EMBED event, log embed size
  • [ ] Test storage of embeds up to 2MB
  • [ ] Test receiving of notes up to 8MB

Web

  • [ ] Generate list of embeds to find (+ unit test)
  • [ ] Generate embed_id from embed name (+ unit test)
  • [ ] Fetch embed ciphertext
  • [ ] Decrypt embed ciphertext (+ unit test)
  • [ ] Render image embeds (+ unit test?)

mcndt avatar Aug 06 '22 15:08 mcndt

hello, How is the development of this feature progressing now? Can I join in to develop it together?

9527dong avatar Aug 03 '23 10:08 9527dong

To avoid storage problems on th server side, maybe the image could be uploaded to imgur using its API.

lnatero avatar Sep 15 '23 00:09 lnatero