ckolderup / postmarks

a single-user bookmarking website designed to live on the Fediverse
https://postmarks.glitch.me
MIT License
464 stars 38 forks source link

Store some example .csv files for development purposes #121

Open ckolderup opened 1 year ago

ckolderup commented 1 year ago

Once we've got both export (#86) and import (#23) working, it would be nice if we could gather some .csv files and make them available for download when doing local development. They could test things like handling large sets of bookmarks, handling different kinds of tag distributions, etc.

I think we can attach them as files in the wiki, though I'll have to do that myself due to the repo permissions.

andypiper commented 1 year ago

Since I managed to provoke an issue in the initial CSV export patch, and since my bookmarks DB is still relatively small and includes some that were imported via the current "list of links" import function, I'm happy to donate my current export. I've posted it as a gist. If you look at the raw file you'll see it has some embedded newlines and also null values in different columns, but the quoted strings mean that it should work ok.

ckolderup commented 1 year ago

Thank you Andy! I kicked off the wiki page here. I'm trying to think of a good way to generate a large dataset of relatively safe unique URLs so that I can make a file that has, I dunno, 10k bookmarks, then trim that down to something still large but reasonable like 1k bookmarks. Especially once we have CSV import shipped to the main branch-- someone's going to format their Pinboard export and give Postmarks its first real stress test.