This is a proof of concept rewrite for my Python program that does the same thing as this one. I'd prefer if you use the other one but use at your own risk :D (I do plan on supporting this one though too)
- Install MongoDB Community Server (developed on
7.0.5
)
A prebuilt binary for Linux and Windows can be downloaded by clicking the download button above
- Install rust (developed on
1.76.0
) - Download the repo:
git clone https://github.com/Column01/ed_installations_dumper_rust.git
- Build the executable:
cd ed_installations_dumper_rust
cargo build --release
- Run it
- The executable was built and placed in the
target/release
folder aseddn_indexer.exe
or maybeeddn_indexer
, depends on platform - Move it (if you want) to wherever you want to that has enough disk space for the files to be downloaded to (5-10GB)
- Run it from the terminal using
./eddn_indexer.exe
or whatever file was built earlier - Answer the prompts (yes or no questions about what you want to do)
- The executable was built and placed in the
If you have a relatively low ish spec system (>16GB of RAM) I wouldn't suggest running this program.
The import section will use up to 7GB of RAM, not to mention that MongoDB by default will use half of your system RAM on its own (you can configure this, do your own research into that :D).
I have 32GB of RAM and I've been okay, you can probably get away with 16GB though if you alter the mongoDB config as stated earlier
While you can skip a step of the process, some things will NOT work if you do not do them. (notice the formatting, by not work I mean may crash the program!)
For example, if you indexed the webpage (happens by default) but didn't download the files to disk, you CANNOT import them as there are none there to import.
Additionally, the "save file info to json" step was only added to have feature parity to the original project linked at the top. You can safely skip this step, in fact I may remove it later.