noteshare.space
noteshare.space copied to clipboard
[Feature] Receive and store embedded images from users
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?)
hello, How is the development of this feature progressing now? Can I join in to develop it together?
To avoid storage problems on th server side, maybe the image could be uploaded to imgur using its API.