- Extract starmap with
./restool.py extract -u res:/staticdata/starmapcache.pickle -o ./data/extracted-starmap.json
(This data is under NDA, don't post it anywhere) - Fetch other data with
./fetch_data.py
- Create
data/starmap.bin
usingcargo run -- build
(This compiles the starmap data into a form that's more optimized for route planning)
cargo run -- --help
cargo run -- path E.G1G.6GD Nod
- run the backend:
cargo run --bin web
- run the frontend:
npm run dev
- open
http://localhost:5173
in your browser
docker build -t eftb .
docker run -p 8000 -v ./data:/app/data eftb
- open
http://localhost:8000
in your browser
-
backend/
lib.rs
- the heavy number crunchingraw.rs
- data structures imported from CCP's data filesdata.rs
- data structures used by the backend for live pathfindingweb.rs
- the web interfacecli.rs
- the CLI interface
-
src/
- the React frontendapi.tsx
- a simple wrapper around the backend APIroutes/
- a .tsx file for each page on the site