Oddbean new post about | logout
 With client support, any user can contribute to the repository, so a group of friends could build their own. You can also use third party repositories 
 If I build a script that takes common meme searches (like “lol”, “angry”, “wtf”, etc) and associates the search term with a Tenor gif result and then posts it as a Kind 1063, would that help to get this going? 
 I took your advice and built a gif nostr companion app:
https://gifbuddy.lol/

You can download the PWA to your home screen, search for your gif, copy the address and paste it into your client

On the back end, for every gif that gets copied/clicked, an API request is made to upload to  @nostr.build by  @The Fishcake🐶🐾

From there a nip94 request is done so that the content can be accessed by any client in the future

Now, anyone who searches for gifs using this tool is also helping to build the gif repository for nip94 and adding fallback urls to nostr.build

And all they did was click to copy #gifs

https://media.tenor.com/VrufNvHPA1QAAAAC/i-hope-you-guys-are-proud-of-me-chris-c.gif 
 👀 
 nice!! 
 nostr:nprofile1qqstuu6ccnl9q9yvejhuqt4zqhvqz30z2wyf4gu43k404p3hq37ggrspz3mhxue69uhhyetvv9ujuerpd46hxtnfduqs6amnwvaz7tmwdaejumr0dsq32amnwvaz7tm9v3jkutnwdaehgu3wd3skueq4kymtq you've got me scrolling rapidly specifically looking for notes I want to respond to via gif 
 https://media.tenor.com/ML7YGU1mYDgAAAAC/jim-carrey-dance.gif
nostr:nevent1qqsvas2npjq035eqzh5qx76rg5uhy0ahc938gn27gducv0xw60xjvlspzemhxue69uhk2er9dchxummnw3ezumrpdejz7q3qhee433872q2gen90cqh2ypwcq9z7y5ugn23etrd2l2rrwpruss8qxpqqqqqqz59ahvy 
 Legend
nostr:nevent1qqsvas2npjq035eqzh5qx76rg5uhy0ahc938gn27gducv0xw60xjvlspzamhxue69uhhyetvv9ujumn0wd68ytnzv9hxgtczyzl8xkxylegpfrxv4lqzags9mqq5tcjn3zd289vd4tagvdcy0jzquqcyqqqqqqgr7pdl7 
 Huge fan of yours and everything you’re building with Cashu

I’ve learned a ton from your podcasts and see a bright future for ecash 

Looking forward to growing my developer skills building with Cashu

https://media.tenor.com/Mcy8op0ePt0AAAAC/you-the-man-proud.gif 
 Appreciate you. Keep going! 
 Testing

https://media.tenor.com/eh4coYfNJG0AAAAC/nice.gif

Hmm now i have a link to tenor? 
 It gives tenor link and does upload async after that. 
 And just like that we have giphy 🤯  wow 


nostr:nevent1qqsvas2npjq035eqzh5qx76rg5uhy0ahc938gn27gducv0xw60xjvlsppemhxue69uhkummn9ekx7mp0qgstuu6ccnl9q9yvejhuqt4zqhvqz30z2wyf4gu43k404p3hq37ggrsrqsqqqqqpmg0ym7 
 Nice and useful work!
I would suggest reflecting the research as permalinks, to make it easily shareable. 
 The copy gif url on touch feature is nice!
https://media.tenor.com/EEsGwHVPdFgAAAAC/dog-smirk-dog.gif 
 And it also uploads it to nostr.build in the background. 
 Nice work! 

It's hustle like this that I think is so interesting when it comes to the power of open protocol's 

It's in everyone's interest to improve things... VERY powerful network effect long term

Now I need to work out how to do what you're saying! 
 This is incredible and you accidentally made my new favourite gif search in the process. Ty

https://media.tenor.com/31MJQhL6sM8AAAAC/joe-rogan-surprised.gif 
 Does anyone know what fight this is from?  I would love to see what he's seeing. 
 Me entering the arena after @lemon gave this new gif super power.
Lfg!
https://m.primal.net/KVGx.jpg 
 https://media.tenor.com/FYLC3YCrAjIAAAAC/applause.gif

nostr:nevent1qqsvas2npjq035eqzh5qx76rg5uhy0ahc938gn27gducv0xw60xjvlspz9mhxue69uhkummnw3ezuamfdejj7q3qhee433872q2gen90cqh2ypwcq9z7y5ugn23etrd2l2rrwpruss8qxpqqqqqqzdlpq0e 
 Our developers are the best developers. gifbuddy.lol is so much easier and faster than using tenor or giphy too. 
https://media.tenor.com/9aORQvb_wxsAAAAC/bo-katan-this-is-the-way.gif

nostr:nevent1qqsvas2npjq035eqzh5qx76rg5uhy0ahc938gn27gducv0xw60xjvlspz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsyg97wdvvfljszjxvet7q963qtkqpgh398zy65w2cm2h6scmsglyypcpsgqqqqqqspdwynw 
 I'm a little confused about how this all works. Can I use it on the #Fediverse end of the network? 
 Sure. The backend stuff will still happen. 
 oooooo this is what I need!! 
 Easy to use GIFs are how we win. 
  https://i.nostr.build/v9wYkheQZVhqCQdK.gif  
 https://media.tenor.com/RntBtHb9jTQAAAAC/mmhmm-okay.gif 
 The speed at which new apps and integrations keep coming floors me sometimes. Almost everyone of them is a banger too 🚀 
 Absolutely. It's very fun to watch it all unfold. 
 It so is 
 Lemon deserves the nearly 100k zaps he's gotten too. GIF #V4V is near incalculable.
https://media.tenor.com/aNgmdRRAeAgAAAAC/boromir-calculate.gif 
 Also, you can insert a GIF into your zap comment as well... This Nostr thing is getting nutty. https://image.nostr.build/e2a6d7a22d9d1f94ea99d3713778d6ae98afcad8d209d20d3451d793665abbe3.jpg 
 Amazing work - well done and thank you 🫂 
 Wow! It's so fast too! Any way to keep scrolling down to see more gifs?

https://media.tenor.com/BvEzvCWWaM8AAAAC/billmurray-kingpin.gif 
 If I can’t find a specific gif, is there a way for me to add it? 
 Looks like it's grabbing from tenor. You can create an account there and upload 
 That makes a lot of sense. I think I have some from giphy too. Thanks man! 
 https://media.tenor.com/MP1nZ9-GiE0AAAAC/anakin-its.gif
nostr:nevent1qqsvas2npjq035eqzh5qx76rg5uhy0ahc938gn27gducv0xw60xjvlspz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsyg97wdvvfljszjxvet7q963qtkqpgh398zy65w2cm2h6scmsglyypcpsgqqqqqqspdwynw 
 Very proud!!!! 
 Nice! https://media.tenor.com/uLaUQ1PR-FIAAAAC/anonymous-anonymous-bites-back.gif 
 it's not copying the new URL. Only taking the tenor one. It says it is copied but isn't maybe you need a prompt for brave to ask permissions to use the clipboard? Brave on Linux Mint. If it showed the full url in the pop up it could also manually be copied.  
 The copied link is a Tenor link by intent

When you click a gif, a separate API call is made on the back end to upload to nostr.build

That process takes time that would really hinder the user experience if you had to wait for the new url to be generated in order copy it; it’s several seconds 
 I could potentially make a separate API that will return URL instantly, and will redirect to Tenor while upload is prepared, and then serve local copy. If you are interested, let me know. 
 There have been a couple comments in my feed from people expecting to paste a nostr.build address so that could be cool

Your API is fast already, it's mostly that nip98 AUTH requires me to publish a Kind 27235 note, which takes time to broadcast with my current library

Were you thinking this API would be separate from nip98? 
 Nip98 does not require anything, just a signed header. You are talking about nip94, that can be pushed async. 
 I would probably need that for user uploaded gifs actually now that I think about it more 
 Pleasant surprise!
https://media.tenor.com/grdRU5J6qqkAAAAC/cat-vaccum-curious.gif
nostr:nevent1qqsvas2npjq035eqzh5qx76rg5uhy0ahc938gn27gducv0xw60xjvlspz9mhxue69uhkummnw3ezuamfdejj7q3qhee433872q2gen90cqh2ypwcq9z7y5ugn23etrd2l2rrwpruss8qxpqqqqqqzdlpq0e 
 Hello is this the comment section that sucks your data plans balls dry? 
 Lo pedís, lo tenés, #nostr
nostr:nevent1qqsvas2npjq035eqzh5qx76rg5uhy0ahc938gn27gducv0xw60xjvlspr4mhxue69uhkummnw3ezucnfw33k76twv4ezuum0vd5kzmp0qgstuu6ccnl9q9yvejhuqt4zqhvqz30z2wyf4gu43k404p3hq37ggrsrqsqqqqqpw6zx49 
 @Karnage one for https://nostrapps.com 
 Fiatjaf runs it now 
 @fiatjaf one for https://nostrapps.com 
 You have been chosen to send a patch for it.

Let me know when you have done it. 
 I couldn’t find it on GitHub and couldn’t see a way to submit a new app on the site. 
 https://github.com/happylemonprogramming/gifbuddy 
 Sorry @lemon I meant there’s no way to submit an app on https://nostrapps.com 
 Building static paths to serve files (gifs on this case) is not a good path for decentralization. It would be better to store the sha256 of the file on the note and then query the relays if they have that hash on their disks.

This way you don't care which server the file is coming from, it might even be cached on the machine and notes will be future-proof like the rest of nostr. 
 That’s what nip94 allows for and that’s what gets published once it’s uploaded to @nostr.build 

If you read the specification, a nip94 event has the sha256 hash, a url and a fallback url

The url is convenient right now because no clients that I’m aware of query sha256 hashes like you are mentioning; however, this process sets up that foundation to be possible in the future for clients to query hashes like you’re proposing 
 Thank you for the note, hadn't read that NIP yet. Happy these issues got addressed beforehand. Plus points for the torrent field inside.
 I will pack everything inside a zip archive and then use NIP94 for sharing it. 
 nostr:nevent1qqsvas2npjq035eqzh5qx76rg5uhy0ahc938gn27gducv0xw60xjvlspzamhxue69uhhyetvv9ujumn0wd68ytnzv9hxgtczyzl8xkxylegpfrxv4lqzags9mqq5tcjn3zd289vd4tagvdcy0jzquqcyqqqqqqgr7pdl7