You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Milan 9f036dcc73 add flake 1 month ago
backend move files to subdirectory 1 month ago
frontend update frontend dependencies 6 months ago
nix seperate overlay 1 month ago
README.md add nix packaging 11 months ago
flake.lock add flake 1 month ago
flake.nix add flake 1 month ago

README.md

Rust Looking Glass

built with nix

How to run

  • Install bird-lg proxy or bird-lg-go proxy on your router
  • Adjust config.yaml
  • Build the frontend: (cd frontend && yarn && node_modules/.bin/gulp --production)
  • Start the backend: RESOURCE_DIR=frontend cargo run --release

For Nix users, you can use this command to start rusty-lg:

RESOURCE_DIR=$(nix-build nix -A rusty-lg-frontend) $(nix-build nix -A rusty-lg-backend)/bin/rusty-lg

Goals

  • Parse bird2 command line output
  • Create graph structure from route objects
  • Merge graph structures obtained from multiple nodes
  • Differentiate and display IGP and BGP routes
  • Modular design: Optionally run proxy on different host

Non-goals

  • Web frontend being usable without JavaScript

Why use a known-good software if you can reimplement it from scratch in Rust?

Because that'd be no fun