Help me make gifbuddy better!

Need help with:
- Reducing memory usage and improving overall reliability
- Better hosting solution as Heroku is expensive
- Add GIPHY library for even more gifs
- Allow uploads for creatives like  nostr:npub1xsn2cx73w7837xhkqalzxr5f9prwn6cvnz4t0e60qa0luff7g4fq28nm65 who make their own gifs
- Ability to load more gifs if you want to go deeper in the search
- Gif counter for  nostr:npub1nxy4qpqnld6kmpphjykvx2lqwvxmuxluddwjamm4nc29ds3elyzsm5avr7 uploads to see how big we get
- Prettier Front End design
- Anything else you guys come up with that makes it better

Looking forward to making this app the best it can be with you all! 👊

 nostr:npub1vp8fdcyejd4pqjyrjk9sgz68vuhq7pyvnzk8j0ehlljvwgp8n6eqsrnpsw  nostr:npub137c5pd8gmhhe0njtsgwjgunc5xjr2vmzvglkgqs5sjeh972gqqxqjak37w  nostr:npub1r0rs5q2gk0e3dk3nlc7gnu378ec6cnlenqp8a3cjhyzu6f8k5sgs4sq9ac  nostr:npub1mgvwnpsqgrem7jfcwm7pdvdfz2h95mm04r23t8pau2uzxwsdnpgs0gpdjc
https://github.com/happylemonprogramming/gifbuddy


Onward 🫡


Glad I could help inspire ! https://v.nostr.build/0CIqxZz8r59uwTH4.mp4 #grownostr


Let's go 🚀


✊🏼REVOLTA.DIGNITY.RESPECT.✊🏼


Noice 👍


Very excited about this.  I've been making some welcome Nostrich gifs and have been trying to find a way to contribute to this project.


nostr:npub1hee433872q2gen90cqh2ypwcq9z7y5ugn23etrd2l2rrwpruss8qwmrsv6 file upload would be dead simple especially since you already have an endpoint to upload to nostr:npub1nxy4qpqnld6kmpphjykvx2lqwvxmuxluddwjamm4nc29ds3elyzsm5avr7. Just need to add an upload form somewhere to let the user enter some metadata.

It would help if you add a README with how to run the app in development.


Great post 👍


Working on it right now, big dog

Should have it implemented tonight

https://media.tenor.com/DcjXcSzny2EAAAAC/about-to-go-down-the-soul-man.gif


This is how we win. MOAR GIFs.
nostr:nevent1qqsr43r2sh8qtwnth8dmfa2mt6xc97c8yfskgkh7fz2klu845d986ucpzemhxue69uhhqatjwpkx2un9d3shjtnrdakj7q3qhee433872q2gen90cqh2ypwcq9z7y5ugn23etrd2l2rrwpruss8qxpqqqqqqz3dzyfm


One issue is that people might upload illegal content since there’s no login needed to upload an image. If that does happen, you can use my nostr-build library to upload the images client side. Users would need a nip-07 extension to do that.

https://www.npmjs.com/package/nostr-build


Suggestions:
- Replace gifs with nostr.build links after theyre uploaded
- Add NIP-98 auth so that gifs can be added to a user's nostr.build account automatically


Dang, you’re right

I was so focused on implementing I forgot about stopping bad guys

Good looking out, I’m definitely going to need your help with this one then

I’ll DM you my development build that I have going so we can get that implemented


Uploading to nostr-build takes a little while though. I do it a lot every day. I think the UX is good the way it is with the Tenor URL copied to the clipboard immediately. Been working great for me.


You could just launch it and see what happens. I think nostr:npub137c5pd8gmhhe0njtsgwjgunc5xjr2vmzvglkgqs5sjeh972gqqxqjak37w implemented some AI thing to auto-block CSAM.


how much is heroku costing, is it just domain/A plus content? Tuning something similar atm for ~58c/month in aws 🤷♂


AWS Lightsail? Heroku is $7/month

$0.58/month sounds great! How do I do that?


Yes, we scan for shit and also scan for safety and place ranking in the headers.


I’ll probably just make an endpoint that’ll proxy tenor gifs and add them to the list asynchronously. Will add posting of nip94 once it’s done. Should be an easy one weekend project.


I'll see about contributing to hosting support. No promises but I'll do my best to make some kind of contribution.


Gifbuddy.lol is a much needed service for nostr. Zap this dude
nostr:nevent1qqsr43r2sh8qtwnth8dmfa2mt6xc97c8yfskgkh7fz2klu845d986ucpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsyg97wdvvfljszjxvet7q963qtkqpgh398zy65w2cm2h6scmsglyypcpsgqqqqqqssyrqup


I just sent you and nostr:npub1vp8fdcyejd4pqjyrjk9sgz68vuhq7pyvnzk8j0ehlljvwgp8n6eqsrnpsw a development build over DM

Try it out and let me know what you think


I tried uploading this and got an endless spinner. Also, the upload form auto zooms on mobile when you click into the input. Think it would be better if it didn’t do that. https://i.nostr.build/onKooARh3NNYIeNO.gif


https://github.com/aws-samples/aws-cdk-examples/tree/main/typescript/static-site

Let me know if you want a hand, I can probably PR something for you in a few hours


Onward 🫡


Help me make gifbuddy better!

Need help with:
- Reducing memory usage and improving overall reliability
- Better hosting solution as Heroku is expensive
- Add GIPHY library for even more gifs
- Allow uploads for creatives like  nostr:npub1xsn2cx73w7837xhkqalzxr5f9prwn6cvnz4t0e60qa0luff7g4fq28nm65 who make their own gifs
- Ability to load more gifs if you want to go deeper in the search
- Gif counter for  nostr:npub1nxy4qpqnld6kmpphjykvx2lqwvxmuxluddwjamm4nc29ds3elyzsm5avr7 uploads to see how big we get
- Prettier Front End design
- Anything else you guys come up with that makes it better

Looking forward to making this app the best it can be with you all! 👊

 nostr:npub1vp8fdcyejd4pqjyrjk9sgz68vuhq7pyvnzk8j0ehlljvwgp8n6eqsrnpsw  nostr:npub137c5pd8gmhhe0njtsgwjgunc5xjr2vmzvglkgqs5sjeh972gqqxqjak37w  nostr:npub1r0rs5q2gk0e3dk3nlc7gnu378ec6cnlenqp8a3cjhyzu6f8k5sgs4sq9ac  nostr:npub1mgvwnpsqgrem7jfcwm7pdvdfz2h95mm04r23t8pau2uzxwsdnpgs0gpdjc
https://github.com/happylemonprogramming/gifbuddy


Great post 👍


😭 Python sorry, convert to apigw Lambdas and another template for that 👍 I’m running is PWA and apigw for .. now 61c/month, mostly DNS charges so far so plus traffic but it’s sooo cheap


I see, so it's a static website hosted on AWS S3 server; makes sense why it's so cheap

I've used S3 buckets for file storage, but not for web hosting

It says it's best for websites without server-side scripting; I have some python scripts running server side with each "click to copy" action

Do you think that'll be a problem?


nostr:npub137c5pd8gmhhe0njtsgwjgunc5xjr2vmzvglkgqs5sjeh972gqqxqjak37w I just pushed a bunch of updates to the dev link

A few updates:
- uploads should work now
- added “load more”
- gifs should load faster on search

Let me know if you guys have any feedback before I push it or if you have any more ideas

Thank you both for all your help!

https://media.tenor.com/eRYxuSS0LjMAAAAC/keanu-reeves-marketmove.gif


Ship it 🚀


🫡🔥

https://media.tenor.com/3CYBa0JhU7gAAAAC/sheep-it-shaun-the-sheep.gif


Check if uploading still works, I did not see new files after testing dev link


I was able to upload the nostr:npub1nw5vdz8sj89y3h3tp7dunx8rhsm2qzfpf8ujq9m8mfvjsjth0uwqs9n2gn fire gif


GIFBUDDY UPDATE!

- Add your own gifs with uploads
- Load more gifs to find what you want
- Faster gif loading
- Less memory intensive on the server

MORE GIFS, YOUR GIFS, FASTER
https://media.tenor.com/2nIE5QDDMkoAAAAC/austin-powers-yeah.gif

nostr:note18tzx4pwwqkaxhwwmkn64kh5dstaswgnpv3d0ujy4dlc0tg6204es037rjj


Yeah sorry I didn’t realise it was Python! Need to run that code as an API via Lambda, give it a static UI - easy if js/ts


I meant the uploads when link is copied