turn json files downloaded from https://the-eye.eu/redarcs/ into lemmy comms :D
Go to file
2024-11-23 22:09:50 +13:00
src handle command line arguments, parse json into hashmaps of 2024-11-23 22:09:50 +13:00
.gitignore handle command line arguments, parse json into hashmaps of 2024-11-23 22:09:50 +13:00
Cargo.lock handle command line arguments, parse json into hashmaps of 2024-11-23 22:09:50 +13:00
Cargo.toml handle command line arguments, parse json into hashmaps of 2024-11-23 22:09:50 +13:00
LICENSE Initial commit 2024-11-23 14:05:08 +13:00
README.md handle command line arguments, parse json into hashmaps of 2024-11-23 22:09:50 +13:00

reddit-lemmy-importer

turn json files downloaded from https://the-eye.eu/redarcs/ into lemmy comms :D

this is effectively https://github.com/mesmere/RedditLemmyImporter but in rust and for a different type of archive

NOTE: YOU MUST IMPORT BOTH THE POSTS AND COMMENTS BECAUSE I'M A LAZY PIECE OF SHIT

references

https://github.com/mesmere/RedditLemmyImporter (basically stole the sql stuff from there) https://github.com/hexbear-collective/lemmy/tree/hexbear-0.19.5 https://github.com/hexbear-collective/lemmy/blob/hexbear-0.19.5/crates/db_schema/src/schema.rs