GithubHelp home page GithubHelp logo

column01 / ed_installations_dumper_rust Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 82 KB

A rewrite of my Python scripts to download and index/dump installations from https://edgalaxydata.space/ data for the game Elite Dangerous

Rust 100.00%

ed_installations_dumper_rust's Introduction

ED Installations Dumper Rust

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 Pre-Requisites

Obtaining a binary

Prebuilt Binaries

GitHub Downloads (all assets, all releases)

A prebuilt binary for Linux and Windows can be downloaded by clicking the download button above

Building from Source

  1. Install rust (developed on 1.76.0)
  2. Download the repo:
    • git clone https://github.com/Column01/ed_installations_dumper_rust.git
  3. Build the executable:
    • cd ed_installations_dumper_rust
    • cargo build --release
  4. Run it
    • The executable was built and placed in the target/release folder as eddn_indexer.exe or maybe eddn_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)

Additional Notes

Resource Limitations

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

When to skip a step

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.

ed_installations_dumper_rust's People

Contributors

column01 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.