hey good morning
who are you people
hey good morning
who are you people
Good morning, we are a bunch of friendly plebs who will help you if needed! ๐ถ๐พ๐ซกโ๏ธ๐ซ๐
๐ ๐ฐ๐๐๐๐๐
#[2]โ your pfp is not loading! Too big! Youโll need to optimize it. If you need help, let me know! ๐ถ๐พ๐ซก

#[3]โ , how are you shrinking gifs?
What do you use?
On a Mac I use image optimizer ! For the service, there are few things you can use. If you want to know more, let me know and Iโll dig something up! I assume you are asking for nostr.build and php! ๐ถ๐พ๐ซก
Yeah, something I can use on the backend, 70% of my storage is probably oversize gifs ๐
Ok, let me DM you with info and tech details! ๐ถ๐พ๐ซก
So you can probably start here: https://imageoptim.com/versions.html and https://trimage.org
Longer term, assuming you use AWS, you should look into Lambda to do that for you. You basically upload file to S3 and then trigger a lambda to optimize the file. If you want me to help you with that, do not hesitate to DM me. Otherwise this should be a good start for your current setup! ๐ถ๐พ๐ซก
Can AWS lamda do Gifs, I thought just videos? Interesting, thank you, let me look into it. Iโm likely moving to S3 soon, so that could work..
Lambda is just a docker on steroids! Again, if you need help or want to converse about it, let me know in DM! ๐ถ๐พ๐ซก
Recommend against AWS S3. You'll have better performance and lower costs (no egress fees) using Cloudflare R2 bucket instead , which is also S3 API compliant.
Yeah, I already suggested it but in his current situation S3 makes sense. He has a startup grant from AWS! ๐ถ๐พ๐ซก
Ah nice, yes that make sense then. At least it'll be easy to migrate to Cloudflare R2 when the time comes ๐
Yep, that is the right way! CF also has some startup programs but I think it can be easier to get going in AWS! ๐ถ๐พ๐ซก
It's also easy to add a non-AWS-CloudFront domain for CDN to the S3 bucket. So, with a CNAME record at Cloudflare could be used (ex: files.nostr.build) and with the $20/m Pro plan to enable the Lossy image optimisation from the edge, rather than server-side. That would also deliver WebP to help speed up delivery for web-based nostr clients.
Thinking this AWS grant will last 6-8 months, will likely move platforms after..
Iโve been using ezgif.com and I can usually chop my gif sizes by 50-75% and they still look pretty good.
They have a GitHub api hack that could work, but once I put content on the S3, it will basically do it for my automagically at the edge
This is the way.
There is a next level of scale after that, but for now get the server out of the read path. Not just for cost but for sanity of operating with such a small team.
The write path you can switch to APIGW and a bit of lambda and eliminate the โrunning computersโ thing there. Use cost savings plans.
Good morning! Iโm Stack! Nice to meet you! ๐ โ๏ธ