Grimware - Reference Implementation Library

A curated collection of reference implementations for the Raibid Labs organization, demonstrating best practices, architectural patterns, and development workflows across multiple technology stacks.

📚 Reference Implementations

1. Bevy MCP

AI-Assisted Game Development with Bevy Remote Protocol

Demonstrates real-time game development with AI assistance using Bevy game engine and the Bevy Remote Protocol (BRP) MCP server.

  • Technology: Bevy 0.16+, Rust, MCP/BRP
  • Key Features: Live entity manipulation, AI-controlled development, real-time debugging
  • Platform: Desktop (macOS, Linux, Windows)
  • Documentation: bevy-mcp.md
  • Quick Start: README.md

Use Cases: Game prototyping, AI-assisted development, live debugging, rapid iteration


2. Bevy MCP Ratatui

3D Game Development in Your Terminal

Combines Bevy game engine with terminal UI rendering, enabling AI-controlled 3D game development with visual feedback directly in the terminal.

  • Technology: Bevy 0.16+, Ratatui, BRP, MCP
  • Key Features: Terminal 3D rendering, AI prompt visualization, headless development
  • Platform: Terminal (macOS, Linux, Windows)
  • Documentation: bevy-mcp-ratatui.md
  • Quick Start: README.md

Use Cases: Terminal-based game dev, CI/CD visualization, headless testing, ASCII art generation


3. Tauri Cross-Platform

Multi-Platform Desktop and Mobile Applications

Production-ready Tauri v2 application demonstrating cross-platform development for desktop and mobile from a single codebase.

  • Technology: Tauri v2, Rust, JavaScript, Vite
  • Key Features: Single codebase, native performance, small binaries (2-12MB)
  • Platform: macOS (M3 ARM64), Android, Linux (NVIDIA DGX-Spark)
  • Documentation: tauri.md
  • Quick Start: README.md

Use Cases: Cross-platform apps, mobile-first development, small footprint applications


4. WebATUI

Universal Terminal UI Library

Terminal UI library that works seamlessly in both native terminals and web browsers via WebAssembly.

  • Technology: Rust, Ratatui, Yew, WASM
  • Key Features: Dual-target (terminal + browser), component system, state management
  • Platform: Native terminals + Web browsers
  • Documentation: webatui.md
  • Quick Start: README.md

Use Cases: Terminal applications, web-based TUIs, cross-platform CLIs, educational tools


🚀 Getting Started

Prerequisites

All reference implementations require:

  • Rust (latest stable) - Install here
  • Git - For cloning repositories

Additional requirements vary by project - see individual documentation.

Quick Navigation

# Clone the repository
git clone https://github.com/raibid-labs/grimware.git
cd grimware
 
# Explore a specific reference implementation
cd bevy-mcp-ref          # Game development with AI
cd bevy-mcp-ratatui-ref  # Terminal 3D rendering
cd tauri-ref             # Cross-platform apps
cd webatui-ref           # Terminal UI library

📖 Documentation

Consolidated Guides

Reference Implementation Docs

Specialized Topics

🛠️ Technology Stack

Languages

  • Rust - Primary language for all implementations
  • JavaScript/TypeScript - Frontend (Tauri, WebATUI)

Frameworks & Libraries

  • Bevy - Game engine (0.16+)
  • Tauri - Desktop/mobile framework (v2)
  • Ratatui - Terminal UI framework
  • Yew - Rust web framework

Protocols & APIs

  • MCP - Model Context Protocol (AI integration)
  • BRP - Bevy Remote Protocol (live game manipulation)
  • IPC - Inter-process communication (Tauri)

🎯 Use Case Matrix

Use CaseBest Implementation
AI-assisted game developmentBevy MCP
Terminal-based visualizationBevy MCP Ratatui
Cross-platform desktop appTauri
Mobile applicationTauri
Terminal UI applicationWebATUI
Browser-based TUIWebATUI
Headless game testingBevy MCP Ratatui
Live code editingBevy MCP

🤝 Contributing

These are reference implementations maintained by Raibid Labs. Contributions welcome:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes with tests
  4. Ensure documentation is updated
  5. Submit a pull request

See individual projects for specific contribution guidelines.

📄 License

Each reference implementation may have its own license. Check individual project directories for details.

Most projects use MIT or MIT/Apache-2.0 dual licensing.

🔗 Resources

Official Documentation

Raibid Labs

🎓 Learning Path

For Beginners:

  1. Start with WebATUI - Learn TUI basics
  2. Try Tauri - Understand cross-platform development
  3. Explore Bevy MCP - Game development fundamentals

For Advanced Users:

  1. Deep dive into Bevy MCP Ratatui - Complex integrations
  2. Study architecture docs for pattern recognition
  3. Customize implementations for your use cases

Built with ❤️ by Raibid Labs

Reference implementations for modern Rust development