GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - modderboyy/nimbus-engine: Build lightweight and beautiful Windows applications using only XML (and C#). No Visual Studio required.

BranchesTags
Open more actions menu

Latest commit

 

History

16 Commits
16 Commits

Folders and files

NameName
Last commit message
Last commit date
docs
docs
 
 
engine
engine
 
 
examples
examples
 
 
screenshoots
screenshoots
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

šŸŒ©ļø Nimbus Framework

image

Version Platform .NET Framework License

A lightweight, XML-based WPF framework for building modern Windows desktop applications with Hot Reload, declarative logic, and zero compilation wait time.

Features • Installation • Quick Start • Documentation • Examples


🌟 Features

  • šŸ”„ Hot Reload - Edit your XML and see UI/Logic changes instantly without restarting.
  • šŸ› ļø Built-in DevTools - Browser-based inspector (localhost:9222) for state, logs, and debugging.
  • ⚔ Declarative Logic - Write application logic in XML (<If>, <Loop>, <Set>, <Http>).
  • šŸ“¦ Single EXE Build - Compile your entire project into a standalone executable.
  • šŸŽØ Modern UI - Includes Windows 11 style components (GlassCard, Acrylic, Mica).
  • šŸ”Œ Plugin System - Extend functionality with C# plugins (.cs files).
  • šŸš€ Lightweight - Runs on any Windows machine with .NET 4.0+.

šŸ“„ Installation

Option 1: Build from Source

To use the framework, you need to compile the engine first.

# 1. Clone the repository
git clone https://github.com/modderboyy/nimbus-engine.git
cd nimbus-engine
cd src

# 2. Build the engine (using C# Compiler)
build.bat

# 3. Add to PATH (Optional)
# Move nimbus.exe to a folder in your system PATH to use it globally.

Option 2: Download Release

Download the latest binary from the Releases Page.


šŸš€ Quick Start

image

1. Create a Project

Create a new file named App.xml. This single file can contain your UI, Logic, and Styles.

<?xml version="1.0" encoding="utf-8"?>
<App Name="My First App" Width="600" Height="400" Theme="Dark">
    <UI>
        <Grid Background="#1E1E1E">
            <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                <TextBlock Text="Hello, Nimbus!" FontSize="32" Foreground="White" Margin="0,0,0,20"/>
                <Button Content="Click Me!" 
                        Background="#0078D4" Foreground="White" Padding="20,10"
                        onClick="OnButtonClick"/>
                <TextBlock Name="lblStatus" Text="" Foreground="#888" Margin="0,15,0,0"/>
            </StackPanel>
        </Grid>
    </UI>

    <Logic>
        <Handler Name="OnButtonClick">
            <Set Target="lblStatus" Property="Text" Value="You clicked the button!"/>
            <Toast Message="Welcome to Nimbus" Type="success"/>
        </Handler>
    </Logic>
</App>

2. Run the App

nimbus run App.xml

3. Develop with Hot Reload

nimbus dev App.xml

This starts the DevTools server. Open http://localhost:9222 in your browser to inspect variables and view logs.


šŸ“– Documentation

CLI Commands

Command Usage Description
Run nimbus run <file> Runs the application normally.
Dev nimbus dev <file> Runs with Hot Reload and DevTools enabled.
Build nimbus build <file> Compiles the XML into a standalone .exe.
New nimbus new <name> Creates a new project structure.

Build Arguments

When building for production:

nimbus build App.xml --output ./dist --name MyApp --icon app.ico
  • --output, -o: Output directory (default: build)
  • --name, -n: Name of the executable.
  • --icon, -i: Path to .ico file.
  • --console: Keep console window (for debugging).

šŸ’” Examples

1. Counter (State Management)

Demonstrates variables and arithmetic operations.

<App Name="Counter" Width="300" Height="200">
    <UI>
        <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
            <TextBlock Name="txtCount" Text="0" FontSize="48" HorizontalAlignment="Center"/>
            <StackPanel Orientation="Horizontal" Margin="0,20,0,0">
                <Button Content="-" Width="40" onClick="Dec"/>
                <Button Content="+" Width="40" Margin="10,0,0,0" onClick="Inc"/>
            </StackPanel>
        </StackPanel>
    </UI>

    <Logic>
        <Var Name="count" Value="0" Type="int"/>

        <Handler Name="Inc">
            <Increment Var="count"/>
            <Set Target="txtCount" Property="Text" Value="{count}"/>
        </Handler>

        <Handler Name="Dec">
            <Decrement Var="count"/>
            <Set Target="txtCount" Property="Text" Value="{count}"/>
        </Handler>
    </Logic>
</App>

2. HTTP Request (API Integration)

Fetching data from a REST API.

<Handler Name="LoadData">
    <Set Target="lblStatus" Property="Text" Value="Loading..."/>
    
    <!-- Make GET request -->
    <HttpRequest Method="GET" 
                 Url="https://api.example.com/users" 
                 ToState="usersJson"/>
                 
    <If Condition="{usersJson} != ''">
        <Set Target="lblStatus" Property="Text" Value="Data Loaded!"/>
        <Plugin Name="JsonPlugin" Method="parse" Params="{usersJson}" ToState="users"/>
    </If>
</Handler>

3. Modal Dialogs & Control Flow

<Handler Name="DeleteItem">
    <Confirm Message="Are you sure you want to delete this file?" Title="Delete File">
        <Yes>
            <!-- User clicked Yes -->
            <Call Handler="PerformDelete"/>
            <Toast Message="File deleted" Type="success"/>
        </Yes>
        <No>
            <!-- User clicked No -->
            <Toast Message="Cancelled" Type="info"/>
        </No>
    </Confirm>
</Handler>

šŸ“‚ Project Structure

For larger applications, we recommend the following structure:

MyProject/
ā”œā”€ā”€ App.xml             # Entry point
ā”œā”€ā”€ nimbus.json         # Project configuration
ā”œā”€ā”€ pages/              # UI Pages
│   ā”œā”€ā”€ Home.xml
│   └── Settings.xml
ā”œā”€ā”€ components/         # Reusable UI components
│   └── Header.xml
ā”œā”€ā”€ assets/             # Images and Icons
└── plugins/            # C# Plugins
    └── MyPlugin.cs

šŸ¤ Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository.
  2. Create your feature branch (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a Pull Request.

šŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


Screenshots

image image image image image image

Made with ā¤ļø by the Nimbus Team

About

Build lightweight and beautiful Windows applications using only XML (and C#). No Visual Studio required.

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Ɨ600. No cookies required.