remexre / flubber

A multi-service chat bouncer.
https://foundry.remexre.xyz/docs/flubber/
Apache License 2.0
0 stars 0 forks source link

Add file/image upload. #1

Open remexre opened 4 years ago

remexre commented 4 years ago
19:13 <michael> Re: flubber handle file upload?
19:13 <michael> Esp image upload for mobile clients
19:13 <michael> I think each backend should have an option
19:14 <michael> And then like a fallback that's just file->url
19:15 <remexre> sgtm
19:18 <michael> This is all extensions tho
19:18 <michael> Wanna open issues for these
19:18 <remexre> I'd make them optional-but-specified
19:18 <michael> Ye
19:18 <remexre> tho ig the backend needs to communicate whether it supports imgs or not
remexre commented 4 years ago

This'd probably require blob storage alongside the DB; I like content-addressed storage for this, i.e. store files as $db_path/blobs/$hash, possibly storing the MIME type in the DB.