Replying to Avatar hodlbod

Going to add user database imports and exports soon, is there a standard format anyone else uses? I'm thinking jsonl. nostr:nprofile1qqs99d9qw67th0wr5xh05de4s9k0wjvnkxudkgptq8yg83vtulad30gpr4mhxue69uhkummnw3ez6ur4vgh8wetvd3hhyer9wghxuet5qy28wumn8ghj7un9d3shjtnyv9kh2uewd9hszrthwden5te0dehhxtnvdakqkng98k nostr:nprofile1qqs04xzt6ldm9qhs0ctw0t58kf4z57umjzmjg6jywu0seadwtqqc75spp4mhxue69uhkummn9ekx7mqpz3mhxue69uhhyetvv9ujuerpd46hxtnfduq3qamnwvaz7tmwdaehgu3wwa5kueg6cvcxr nostr:nprofile1qqsyvrp9u6p0mfur9dfdru3d853tx9mdjuhkphxuxgfwmryja7zsvhqpr4mhxue69uhkummnw3ez6ur4vgh8wetvd3hhyer9wghxuet5qyt8wumn8ghj7anfw3hhytnwdaehgu339e3k7mgpzpmhxue69uhkummnw3ezuamfdejsxp7af9 nostr:nprofile1qqsx8lnrrrw9skpulctgzruxm5y7rzlaw64tcf9qpqww9pt0xvzsfmgprpmhxue69uhhyetvv9ujuumwdae8gtnnda3kjctvqyxhwumn8ghj7mn0wvhxcmmvqy28wumn8ghj7un9d3shjtnyv9kh2uewd9hschfr5x

Avatar
Vitor Pamplona 2y ago

**compressed** json. Otherwise the file is huge.

Reply to this note

Please Login to reply.

Discussion

Avatar
hodlbod 2y ago

Compress each record, or download as zip? Or something else?

Avatar
Vitor Pamplona 2y ago

The entire thing at once. You want to reduce duplicates (event ids, pubkeys, tag names, etc)

Avatar
hodlbod 2y ago

Makes sense, any suggestions about compression type? zip? gzip? brotli?

Avatar
Vitor Pamplona 2y ago

I always do brotli on JSONs.

Thread collapsed
Thread collapsed
Thread collapsed
Thread collapsed
Avatar
SMS 2y ago

Right?

Right on the money.

Thread collapsed