MCPcopy Index your code
hub / github.com/MuongKimhong/famiq

github.com/MuongKimhong/famiq @v0.3.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3.1 ↗ · + Follow
668 symbols 1,517 edges 70 files 87 documented · 13% updated 14mo agov0.3.1 · 2025-05-10★ 586 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Static Badge Static Badge static Badge

Famiq

<img width="600" src="https://github.com/MuongKimhong/famiq/raw/v0.3.1/record.gif">
fn setup_ui( mut fa_query: FaQuery, mut famiq_res: ResMut<FamiqResource>) {
    fa_query.insert_num("count", 0);
    fa_query.insert_str("name", "");

    FamiqBuilder::new(&mut fa_query, &mut famiq_res).inject();

    container!(
        id: "#container",
        children: [
            text!(text: "$[name]", class: "my-2"),
            text_input!(placeholder: "Enter name", model: "name", class: "my-1"),
            button!(text: "Press me $[count]", id: "#btn")
        ]
    );
}

fn on_btn_press(mut events: EventReader<FaMouseEvent>, mut fa_query: FaQuery) {
    for e in events.read() {
        if e.is_button_pressed("#btn") {
            let count = fa_query.get_data_mut("count").unwrap().as_num_mut();
            *count += 1;
        }
    }
}

[!WARNING] - Famiq is new, many useful features are missing. - It's not there yet.... but feel free to try it and share your feedback!

Features

  • Built-in useful widgets including text input, modal, progress bar and more
  • Simple & lightweight, yet useful reactivity system
  • JSON based styling (similar to css), keep your rust code clean!
  • Yes it's fast!
  • use it for GUI apps or directly in your games

Demo

Installation

Get latest version of Famiq

cargo add famiq

or in Cargo.toml

famiq = "0.3.0"

Documentation

Contributing

Famiq needs your contributions. Please see contributing.

Versions

Currently, it supports only bevy 0.16.x onward.

License

Famiq is released under the MIT License.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 275
Method 247
Class 128
Enum 15
Interface 3

Languages

Rust100%

Modules by API surface

famiq/src/widgets/mod.rs66 symbols
famiq/src/widgets/text_input/text_edit.rs37 symbols
famiq/src/widgets/tests.rs32 symbols
famiq/src/utils.rs31 symbols
famiq/src/widgets/style_parse.rs23 symbols
famiq/src/widgets/base_components.rs22 symbols
famiq/src/widgets/text_input/systems.rs20 symbols
famiq/src/reactivity.rs20 symbols
famiq/src/widgets/checkbox/mod.rs19 symbols
famiq/src/widgets/selection/mod.rs18 symbols
famiq/src/plugin.rs18 symbols
famiq/src/resources.rs16 symbols

For agents

$ claude mcp add famiq \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page