centralcore 1.0.1

UI-independent Minecraft launcher engine
Documentation

centralcore

centralcore is a UI-independent, asynchronous Minecraft launcher library. It provides Vanilla, Fabric and Forge planning; instance lifecycle operations; authentication extension points; managed Java; signed static providers; cache, repair and update workflows; process management; and structured events.

Install the published crate with:

[dependencies]
centralcore = "1.0"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }

On Debian/Ubuntu, building the native Secret Service credential backend requires libdbus-1-dev and pkg-config:

sudo apt-get install libdbus-1-dev pkg-config
use centralcore::{CentralCore, InstanceSpec};

#[tokio::main]
async fn main() -> centralcore::Result<()> {
    let core = CentralCore::builder()
        .data_dir("./centralcore-data")
        .build()
        .await?;
    let instance = core.instances()
        .create(InstanceSpec::vanilla("demo", "Demo", "1.21.1")?)
        .await?;
    println!("{}", instance.id());
    Ok(())
}

The crate has no dependency on Tauri, Svelte, CentralPanel, or the official CentralCorp CLI. See the repository README and docs/ for the complete guides, security model, public examples, and versioning policy.

Licensed under MIT.