Skip to content

Files

Latest commit

7a7d1a5 · Jan 10, 2025

History

History
56 lines (36 loc) · 1.12 KB

README.md

File metadata and controls

56 lines (36 loc) · 1.12 KB

brptui

A Bevy Remote Protocol client for the terminal.

Features

Complete

  • Viewing entities and their components
  • Despawning entities and removing components (x)

To come

  • Respect entity hierarchy (parent and child entities)

Blocked by BRP capabilities

  • Viewing and editing resources

Installation

  • Source: cargo install --git https://github.com/LiamGallagher737/brptui

Usage

Enable the bevy_remote feature for the Bevy dependency in your projecet.

cargo add bevy -F bevy_remote
[dependencies]
bevy = { version = "0.15", features = ["bevy_remote"] }

Then add RemotePlugin and RemoteHttpPlugin to your app.

use bevy::prelude::*;
use bevy::remote::{http::RemoteHttpPlugin, RemotePlugin};

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .add_plugins(RemotePlugin::default())
        .add_plugins(RemoteHttpPlugin::default())
        .run();
}

Now you can run brptui to inspect the entities in your running app using the BRP.