I was just reading posts on there a few minutes ago and it is now banned. That sub was pretty much just educational, this shit is getting ridiculous.
I was just reading posts on there a few minutes ago and it is now banned. That sub was pretty much just educational, this shit is getting ridiculous.
I backed up all submissions on /r/GenZhou last week because I was afraid this would happen.
If you want to download the raw json, see /c/GenZhouArchive
deleted by creator
Legend.
I would love if someone who knows sql could build an importer for that data.
deleted by creator
If anyone wants to take a stab at this, I recommend setting up a local development instance (following the instructions provided in the lemmy docs) to test against. You don’t need to learn Rust to do this, but you will need to have Rust, PostgreSQL, Node and Yarn at your disposal. Alternately, you can use the docker method, but I find it much easier to introspect what the hell is going on with the database when it isn’t inside of a container.
After starting up the dev instance, you can use something like pgAdmin to poke around at your leisure and figure out the schema. You can also look through the Diesel migrations (written in SQL, used to initialize / upgrade / downgrade the database), however these are split up into dozens of individual updates chronologically and it is easy to overlook important bits of context (i.e. a table is created in one migration, a column is removed in another, two more columns are added in a third one, etc).
Edit: Speaking for myself, having no affiliation with Lemmygrad, I think creating dummy users would be excessive and complicated. It would probably double the site’s user count just to import the archive. What might be better is to use a single account named “GenZhouArchive” or something and add a string to the start of each comment indicating the original reddit username. Along the same lines, it might be a good idea to do the same with post/comment scores. Applying the Reddit comment scores to Lemmy posts/comments will flood the top sort heavily.
Another approach that hits some of those concerns is to create a whole new instance of @archive.ml, and import everything there as read-only. That way you keep all the architecture, and it’s accessible via Lemmy, but it doesn’t flood the database and stats of this instance.
yeah I was thinking that too, either through lemmygrad as something like zhouarchive.lemmygrad.ml or as it’s own domain entirely on something like zhouarchive.ml
It would probably be best to ask the developers to be most certain. If you already have Matrix chat, you can ask in #lemmy:matrix.org or the dev chat channel in their subject line.
deleted by creator
You’re right, I was tired and commented before reading the whole thing. I just saw the talk of schemas and thought I understood.
Yep, precisely. If you know SQL you could do the create / batch import statements with that schema.
They are likely pretty close, but if you pull down lemmy and run it locally, you could inspect the postgres tables directly. Since migrations might have some column changes since those creates.
Probably just a single user, and maybe in the comment body you could have the top line be their real reddit username.
deleted by creator
There isn’t a genzhou community on lemmy?
I think there is, but also since this is an ML server already, communism101 works.
You can also put your post, or link it, to /c/GenZhou
Good idea, I’ll crosspost it there
Holy shit comrade, thank you.
This is great! But for some reason I can’t view that comm from my Lemmy.ml account. :(
(It is visible in-browser when logged out though?)
No one has connected to it yet then from lemmy. copy paste the community url into the lemmy search bar, then go to it and click subscribe.
It takes me to the lemmygrad sign-in page. Maybe now is my time to move servers. 😖
No I mean goto lemmy.ml, paste the !genzhou@lemmygrad.ml url into the lemmy.ml search bar. It should then show that community in the search list.
Here I just set it up: https://lemmy.ml/c/genzhou@lemmygrad.ml
Tovarish!
how did u backup?
https://lemmygrad.ml/post/187006/comment/130288
Thank you sir. What about GZD?
GZD is archived up to the quarantine so far, check /c/GenZedongArchive