Oddbean new post about | logout
 🚀 Haven Release Candidate 🚀

This version includes an upstream fix for streaming videos on iOS/iPhone by @girinovey

🌟 Try it now: Test this branch and share your feedback.
🔗 https://github.com/aaccioly-open-source/haven/tree/rc/blossom-http-range-requests

https://haven.accioly.social/631a3eb10414887ca3b0bf1736c0d6e12aebd46697f1140a68b6280b08fe9df7.png

𝐍𝐨𝐭𝐚𝐛𝐥𝐞 𝐂𝐡𝐚𝐧𝐠𝐞𝐬:

‣ 𝘚𝘵𝘳𝘦𝘢𝘮𝘢𝘣𝘭𝘦 𝘝𝘪𝘥𝘦𝘰 𝘚𝘶𝘱𝘱𝘰𝘳𝘵:
    • Videos now work on Damus.
    • Added HTTP Range Requests and caching to improve the user experience for streamable video formats and optimise bandwidth usage.
‣ 𝘊𝘩𝘢𝘵 𝘙𝘦𝘭𝘢𝘺 𝘜𝘱𝘥𝘢𝘵𝘦:
    • Allowed kinds for chat have been updated to align with the latest NIP-29 specification.

As always your feedback is invaluable! Let me know how it works for you. 
 nostr:nprofile1qqsrhuxx8l9ex335q7he0f09aej04zpazpl0ne2cgukyawd24mayt8gprfmhxue69uhhq7tjv9kkjepwve5kzar2v9nzucm0d5hszxmhwden5te0wfjkccte9emk2um5v4exucn5vvhxxmmd9uq3xamnwvaz7tmhda6zuat50phjummwv5hsx7c9z9 incoming PR to fix khatru tests. When you cut a new version I can update Haven with it: 

https://github.com/fiatjaf/khatru/pull/20 
 Thank you very much. 
 You are very welcome. Could you please cut a new version from latest master kind sir? 
 @fiatjaf, good morning.
https://haven.accioly.social/8a1d6889032489a89691ac5ccbe813f9140d6be7dfb0b2fefe89f5fdfe18731f.jpg 
 Sorry, I was waiting for that Blossom PR to be resolved. Doing it now. 
 Valeu! 
 Do you guys know if this is working on iOS now?

Basically just updated khatru/go-nostr? 
 It is. There's some code changes required to Haven as well due to changes in go-nostr. I'm just waiting for fiatjaf to cut a new version of khatru and will open a PR. 
 Great work guys thank you for doing this 
 Also, apparently khatru may be returning invalid json for the list array:

nostr:nevent1qqsvh0rugardkukscs66unxc6ve7uuwmg0tn95t6hzu96rjqfg7chucpz4mhxue69uhkummnw3ezummcw3ezuer9wchsygplltp6djzea24gehwm93cq9fhppve7l6uj6qjmzn4dd79z6etx2upsgqqqqqqs77vxnh

nostr:nprofile1qqszv6q4uryjzr06xfxxew34wwc5hmjfmfpqn229d72gfegsdn2q3fgpz9mhxue69uhkummnw3ezuamfdejj7qgjwaehxw309ahx7um5wf6k2tnrdakj7qg6waehxw309ac8junpd45kgtnxd9shg6npvchxxmmd9usc5pxf, just to confirm, this should be a proper json array with commas between elements right? Can you check nostr:nprofile1qqsrl7kr5my9n6423nwaktrsq2nwzzenal4e95p9k9826mu294jkv4cpzemhxue69uhhyetvv9ujuurjd9kkzmpwdejhgqg5waehxw309aex2mrp0yhxgctdw4eju6t0qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj77ew5us example? (If it needs fixing I rather fix khatru first before releasing the next version of Haven) 
 Yes the /list endpoint should return a valid Jason array of blob descriptors 
 Thank you! nostr:nprofile1qqsrl7kr5my9n6423nwaktrsq2nwzzenal4e95p9k9826mu294jkv4cpzemhxue69uhhyetvv9ujuurjd9kkzmpwdejhgqg5waehxw309aex2mrp0yhxgctdw4eju6t0qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj77ew5us. Do you want to do the honours and open a PR against khatru? (Otherwise I'll get to it during the weekend :)) 
 I have it already on my fork. I'll sync it and open a pull request. 
 my pr failed the tests, but they should pass after your PR is accepted.