Skip to content

Store JSON for things, collections, and user designs#22

Open
unknownlamer wants to merge 3 commits intocwoac:masterfrom
unknownlamer:lamer-wip-archive-json
Open

Store JSON for things, collections, and user designs#22
unknownlamer wants to merge 3 commits intocwoac:masterfrom
unknownlamer:lamer-wip-archive-json

Conversation

@unknownlamer
Copy link
Copy Markdown

Greetings,

I am looking at offline archiving my collections and designs from thingiverse, juuust in case, given its current state. To this end, I've started adding basic support for dumping the raw JSON details for things, collections, and the list of user designs. My hope is that sometime down the line this can be used by an importer to mediagoblin or something similar, or otherwise post-processed.

For now, it just unconditionally dumps the JSON (and doesn't do any checks for API errors to make sure it's actually returning the requested information), and dumps to "thing:$id.json", "collection:$id.json", or "designs:$username.json" mirroring how thingiverse labels them.

If this looks OK as a first pass, I was going to add some error checking code in the Grouping. If this looks OK generally, do you think it should be controlled with an argument? something like "--dump-json={all,designs,thing,collection}" maybe.

Clinton Ebadi added 3 commits February 20, 2021 23:22
@JaneSmith
Copy link
Copy Markdown

This is a great idea. I'm not part of this project, but I've tried your changes in my own local copy and it works great. Thanks.

@cwoac
Copy link
Copy Markdown
Owner

cwoac commented Oct 31, 2021

Media goblin hosting is an interesting idea indeed. I'll take a look at this, thanks.

@cwoac cwoac self-requested a review October 31, 2021 13:26
@cwoac cwoac added the enhancement New feature or request label Oct 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants