Skip to content
generated from emilk/eframe_template

Using egui eframe framework to navigate Starcraft II replays

Notifications You must be signed in to change notification settings

sebosp/eframe-sc2

Repository files navigation

eframe sc2

dependency status Build Status

This is a repo based on eframe, a framework for writing apps using egui.

In this repo there is a backend and a front-end. The backend runs as web server with axum and tokio. It receives requests to interact with the polars datasets and serves HTML.

The frontend may run as native or in the browser. It should interact with the backend.

Running the backend (axum)

$ cargo watch -x clippy -x 'run -- --source-dir $HOME/git/s2protocol-rs/ipcs/ -d -v debug'

This serves the front end as static files, the intention is to proxy the frontend as well so that it can avoid CORS issues.

Running the frontend for development (trunk)

$ trunk serve --address 0.0.0.0 --proxy-insecure --proxy-backend http://$hostname:3000/ -v

This allows running requests from the frontend (wasm) to the backend over the same host:port, avoiding CORS related issues. Proxied by trunk itself.

About

Using egui eframe framework to navigate Starcraft II replays

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages