Replies (38)

jb55's avatar
jb55 _@jb55.com 19 hours ago
shouldn't be too hard to load profile json from damus.io links as well, since you can fetch profiles as json using notecrumbs
jb55's avatar
jb55 _@jb55.com 19 hours ago
yeah probably, notepack was more for efficient/simple binary encoding and less about packing the size smaller (probably bad name)
jb55's avatar
jb55 _@jb55.com 19 hours ago
have you actually compared size tho? notepack stores tag binary for hex ids, so it may be worse for notes with lots of id tags
Yeah I did, I had opus run through a handful of algorithms and raw deflate came out the best (zstd a close second). Original: notepack_AWhdWjCYsU981oG75NbuJ1qKSEjO3T4/YFCfvwr3XvT+MuGCdjVFDrs8Wn0SwfjnsrUUQ5rBCmfu89n9nFxo4kV4nZTOkKpoEakpD/9KZBEryqBhAGOGZgHTjCIa3KGOMjduS8CCAiUDrtQaHEdSCGL0v3oPSozEpR5VivFsxMpCttCpxAYBnAJKdXN0IHJlbGVhc2VkICNub3RlcGFjaywgYSBuZXcgY29tcGFjdCBiaW5hcnkgZm9ybWF0IGZvciBub3N0ciBub3RlcyBpbnNwaXJlZCBieSB0aGUgI25vc3RyZGIgYmluYXJ5IGZvcm1hdCwgYnV0IG11Y2ggc2ltcGxlci4KCmh0dHBzOi8vZ2l0aHViLmNvbS9qYjU1L25vdGVwYWNrCgpydXN0IGRvY3M6IGh0dHBzOi8vZG9jcy5ycy9ub3RlcGFjay9sYXRlc3Qvbm90ZXBhY2svCgpzcGVjOiBodHRwczovL2dpdGh1Yi5jb20vamI1NS9ub3RlcGFjay9ibG9iL21hc3Rlci9TUEVDLm1kCgpjaGVlcnMhCgMCDGNsaWVudBxEYW11cyBOb3RlZGVjawICdA5ub3N0cmRiAgJ0EG5vdGVwYWNr Compressed: notepackz_TlBNMQFoXVowmLFPfNaBu+TW7idaikhIzt0+P2BQn78K9170/jLhgnY1RQ67PFp9EsH457K1FEOawQpn7vPZ/ZxcaOJFeJ2UzpCqaBGpKQ//SmQRK8qgYQBjhmYB04wiGtyhjjI3bkvAggIlA67UGhxHUghi9L96D0qMxKUeVYrxbMTKQnVPO05EMQwUD2mLCCEOsIUR7eql2mZboKFASJwgH0PC5qfYEdq7cAEuwAk4AEcikXisKGhsjzwzHn98vX+uTt6mu0YMFQMqQgtXKTMWZfYbUJDwFUyOHTJon1Q9wFOuUfFokDLxqIwEPlHxtev1AdjhsOlLq//KNqAbQ2zGAflYAtZZCMdcaCfls2fX9NzvyRe93coliBB1JLTZ0A4W8kBzpV+SDKrH4CMWggqao+A/d6lD1jIqYqzy8eH2eo5WCOMQK12K0+nMBI+J1zcqNoL7rrJo9tPE5z8f9vFiMfsG
Just for fun, here's the emoji encoded version lmao 🎬🍸👏📖🔢💧🌀👑💣🔬🍐☁️🍇✂️🔨👈💬✂️🚽👙👑🎃🏁🏁🐓🐍🚌👤💨🍸🍄🐩⚓️🎮💃🐢⚡️📚⚽️👜🎲💐🚗🐜👈🐛👑🍏➡️📯🎻😎🐧🐖🎨🐫🐒📯⚓️🚪🚽🎺🚿🔧🐁💘💧🔉🚗👻🎥🍁🐓🔒👌💧⬅️🐙🃏🍎💤🐔💵⬅️📘🎀🎹🌳💯🐕👠🍩🔢🎅💋🐝🍌🐌🎵🍃📚👦🔥🍫💩👜👍🔔👎⛅️📡🍌📊💿💻👽💫🐢🐩🌐🍎🐔💋👛⛔️🏀🍪🎃🚥👊👛🎀📆🐸☁️💔🎬🍬📖💢🎨🍎👂🔑👽🐻🐜🍑🔆⬅️💭💉⛔️💀🍩🔮🎹🎵🌵🏁🐁🔋🛀🐫🍗🍓👃👕⬅️💀👈💾🔢🐗💩🚑🍞💯💿🐝📢👻🐂🎂💧👊🔗🐛💥🏀🔫🍇👆🔫⛅️🎬❄️🚫👈🐈💢🏧👎🌼📆👼👫🃏💥👶🐬📼‼️🍸🔒🎩🏧🎄🍃💈📚💧🍄🚧💡💩🎊⛅️☕️🚥💧🔒📚🚥🔩💋🎱🚌☕️🚥🐖🔭🚦🔢👕⚽️🍑🏊🍫👐💤🎀🎳🎹‼️🐫👊🐇🔢⌚️🐄👍✂️🐊👽🐎💘💧👙⭐️🎭🚪🐚🐢🐌👅🐀🍼👆🐍🎀🔔⌛️⬇️🐸🐞☎️🚿🚨🐜👶🏆🌵🍤⛔️🎯🔍💢👌🐎😭🍺👶👜⚓️🐒📰😭👤💎🐙🐫✂️📚🌼💫🐂🏆🚥⚽️📼🌐🍃🌽👽👾⬇️📘🌀🎃🎅🏊💍🎱🔗🍨🐚👦🌼🎳👜🍷⛅️🐧💧📼🎅👛😎👤🛀📼🚥💫📖🍷🚡
It's worse on a per-bytes basis but it's less visible characters. Not really suitable for a URL. But I'm still looking for a reason to do it.
jb55's avatar
jb55 _@jb55.com 19 hours ago
i thought about it when i saw nevent1qqsf9cuent7n5ft97an2gnym7fgvp7suu2a0dsce9czl4xay4njdhjccsnfac and then your post reminded me to implement it and then your post reminded me to implement it