SynesthesiaDev.Chibi.Core 2026.615.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package SynesthesiaDev.Chibi.Core --version 2026.615.2
                    
NuGet\Install-Package SynesthesiaDev.Chibi.Core -Version 2026.615.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SynesthesiaDev.Chibi.Core" Version="2026.615.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SynesthesiaDev.Chibi.Core" Version="2026.615.2" />
                    
Directory.Packages.props
<PackageReference Include="SynesthesiaDev.Chibi.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SynesthesiaDev.Chibi.Core --version 2026.615.2
                    
#r "nuget: SynesthesiaDev.Chibi.Core, 2026.615.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SynesthesiaDev.Chibi.Core@2026.615.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SynesthesiaDev.Chibi.Core&version=2026.615.2
                    
Install as a Cake Addin
#tool nuget:?package=SynesthesiaDev.Chibi.Core&version=2026.615.2
                    
Install as a Cake Tool

🌸 Chibi

GitHub Workflow Status NuGet Version

Target .NET License

Tiny, lightweight, and type-safe managed Windows library for lifecycle management and window creation


⚡ Features

  • 💨 Extremly fast and lightweight
    • Made with a single responsibility, spawn a window and manage its lifecycle. From calling Run() to the window being displayed takes on average 170ms
  • ✅ Type safe:
    • Fully abstracts away raw User32 P/Invoke calls into type-safe C# abstractions.
  • 🎫 Easy event lifecycle:
    • Zero-allocation event system. Every underlying Windows message (WM_*) maps neatly to a dedicated EventDispatcher.
  • 🛠️ Developer Comforts
    • Has a safe cross-thread scheduling, low-memory handling indicators via WM_COMPACTING, system theme detection, native taskbar flashing api and a clipboard api.
  • 🚫 No AI Slop
    • Purely written by passionete single-brain-celled autistic individual

🚀 Quick Start

Getting a window up and running requires minimal boilerplate! Here's how to initialize ChibiWindow and hook into events

// Create window class
var window = new ChibiWindow
{
    Title = "Hello! 🌸"
};

// Hook into the easy event ecosystem
window.OnWindowCreated.Subscribe(ev =>
{
    Console.WriteLine($"Window successfully spawned with handle: {ev.Handle}");
});

window.OnKeyDown.Subscribe(ev =>
{
    Console.WriteLine($"Key Pressed: {ev.Key}");
    if (ev.Key == User32.VK.VK_ESCAPE)
    {
        window.Dispose();
    }
});

window.OnMouseMove.Subscribe(ev =>
{
    Console.WriteLine($"Mouse Moved: {ev.Now.X}, {ev.Now.Y}");
});

// Bind your custom loop frame logic
window.OnFrame = () =>
{
    // Your rendering logic here!
    // If left null, Chibi automatically optimizes CPU cycles via MsgWaitForMultipleObjectsEx
    // If you are making more complex program or a game, I recommend not using this and using your own render loop/thread instead
};

// Run the window (this blocks the execution thread)
window.Run(1280, 720, WindowFlags.Resizable | WindowFlags.HighPixelDensity);

📦 Installation

Install via the NuGet Package Manager Console:

Install-Package SynesthesiaDev.Chibi.Core

Or via the .NET CLI:

dotnet add package SynesthesiaDev.Chibi.Core
⣇⣿⠘⣿⣿⣿⡿⡿⣟⣟⢟⢟⢝⠵⡝⣿⡿⢂⣼⣿⣷⣌⠩⡫⡻⣝⠹⢿⣿⣷
⡆⣿⣆⠱⣝⡵⣝⢅⠙⣿⢕⢕⢕⢕⢝⣥⢒⠅⣿⣿⣿⡿⣳⣌⠪⡪⣡⢑⢝⣇
⡆⣿⣿⣦⠹⣳⣳⣕⢅⠈⢗⢕⢕⢕⢕⢕⢈⢆⠟⠋⠉⠁⠉⠉⠁⠈⠼⢐⢕⢽
⡗⢰⣶⣶⣦⣝⢝⢕⢕⠅⡆⢕⢕⢕⢕⢕⣴⠏⣠⡶⠛⡉⡉⡛⢶⣦⡀⠐⣕⢕
⡝⡄⢻⢟⣿⣿⣷⣕⣕⣅⣿⣔⣕⣵⣵⣿⣿⢠⣿⢠⣮⡈⣌⠨⠅⠹⣷⡀⢱⢕
⡝⡵⠟⠈⢀⣀⣀⡀⠉⢿⣿⣿⣿⣿⣿⣿⣿⣼⣿⢈⡋⠴⢿⡟⣡⡇⣿⡇⡀⢕
⡝⠁⣠⣾⠟⡉⡉⡉⠻⣦⣻⣿⣿⣿⣿⣿⣿⣿⣿⣧⠸⣿⣦⣥⣿⡇⡿⣰⢗⢄
⠁⢰⣿⡏⣴⣌⠈⣌⠡⠈⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣬⣉⣉⣁⣄⢖⢕⢕⢕
⡀⢻⣿⡇⢙⠁⠴⢿⡟⣡⡆⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣵⣵⣿
⡻⣄⣻⣿⣌⠘⢿⣷⣥⣿⠇⣿⣿⣿⣿⣿⣿⠛⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣷⢄⠻⣿⣟⠿⠦⠍⠉⣡⣾⣿⣿⣿⣿⣿⣿⢸⣿⣦⠙⣿⣿⣿⣿⣿⣿⣿⣿⠟
⡕⡑⣑⣈⣻⢗⢟⢞⢝⣻⣿⣿⣿⣿⣿⣿⣿⠸⣿⠿⠃⣿⣿⣿⣿⣿⣿⡿⠁⣠
⡝⡵⡈⢟⢕⢕⢕⢕⣵⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣶⣿⣿⣿⣿⣿⠿⠋⣀⣈⠙
⡝⡵⡕⡀⠑⠳⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠛⢉⡠⡲⡫⡪⡪⡣

ps.. in Chibi.Example is included cool particle sim 
that I wrote using GDI32 as a test
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.619.1 46 6/19/2026
2026.619.0 46 6/19/2026
2026.615.2 89 6/15/2026
2026.615.1 98 6/15/2026