.NET libraries and tools that use strong typing and focused APIs to catch errors at compile time instead of at runtime.
ktsu.dev is a collection of open source .NET libraries built and maintained by Matt Edmondson. It started in May 2023 and now spans more than 60 public repositories, published to NuGet under the ktsu.* namespace. Each library solves one specific problem with a small, clear API, reflecting lessons learned from years of building production systems in games and live services.
Design Principles
Strong Typing and Semantic Clarity. Replace primitive types with domain-specific types, because a bug caught at compile time is cheaper than the same bug found in production. Types carry intent, so code reads as what it means.
Focused APIs. Each library does one job with a small surface area. Boilerplate and ceremony are kept out of the caller's code.
Composable Infrastructure. Provider-pattern libraries put an interface between application code and infrastructure, so backends can be swapped and tested without rewriting the code that uses them.
Modern .NET with Broad Reach. Libraries use current platform features (generic math, nullable reference types, the latest language versions) while multi-targeting from netstandard2.1 through the newest .NET, so older codebases can still consume them.
Key Libraries
Every library below is actively maintained and published to NuGet. The table further down lists all
of them with their current versions and build status.
Type Safety and Semantics
Semantics: semantic strings with validation, strongly typed file paths, and over 80 physical quantities with compile-time dimensional analysis
PreciseNumber: arbitrary precision arithmetic built on .NET generic math
SignificantNumber: arithmetic that preserves numerical precision through significant figures
UI and Theming
ImGuiApp: Dear ImGui application scaffolding, widgets, modal dialogs, and styling
ThemeProvider: over 40 themes with semantic color remapping driven by color science
ImGuiProvider: ImGui behind an interface, so backends can be swapped and UI code can be tested
Applications and Tools
BlastMerge: cross-repository file synchronization through iterative merging with interactive conflict resolution
KtsuTools: one command line covering the ktsu developer utilities, from build monitoring to file deduplication
TUI: terminal user interface components for building rich console applications
Utilities
Extensions: extension methods for the types the base class library left thin
AppDataStorage: persistent application data with automatic file management, debounced saves, and backup recovery
ktsu.Sdk is the MSBuild SDK that every ktsu.dev library builds on. Centralizing the build configuration means a fix or a standards change lands in one place and every repository picks it up.
The SDK provides:
Build Configuration: shared compiler settings, warnings, and code analysis rules across all projects
Code Quality Enforcement: integrated analyzers and style rules, with warnings treated as errors
Automated Packaging: NuGet package generation with versioning and metadata
Development Tools: common build targets and utilities for library development
Usage
Reference the SDK in the project file alongside the standard .NET SDK:
A cross-platform credential cache for .NET that keeps secrets in memory for fast process-lifetime lookup and persists each one through the host's native keyring: Windows Credential Manager, macOS K…
A modern, extensible Text User Interface (TUI) library for .NET that provides rich terminal UI components built on Spectre.Console. Create interactive console applications with styled text, borders…
A .NET library for persistent application data storage using JSON serialization. Provides a simple inherit-and-use pattern with automatic file management, thread-safe operations, debounced saves, b…
A comprehensive, robust MSBuild-based SDK for .NET projects (.NET 5.0+, .NET Standard 2.0/2.1) with optimizations for .NET 10.0. Features intelligent project structure detection with hierarchical solution discovery, path-based namespace generation from directory structure, and comprehensive error handling that prevents common MSBuild failures.
A versatile JSON converter for System.Text.Json that handles ToString serialization and multiple deserialization methods (FromString, Parse, Create, Convert) with intelligent priority selection for value types and domain objects.
High-precision arithmetic class representing numbers with a significand and exponent. Supports significant figure rules, mathematical computations, and formatting.
A .NET library providing ready-made Dear ImGui modal dialogs for collecting credentials. Ships username/password and token popups built on a shared CredentialPopup base, with masked input, automatic keyboard focus, and confirmation callbacks that hand back a ktsu.CredentialCache credential ready to store or use.
This organization has no public members. You must be a member to see who’s a part of this organization.
Top languages
Loading…
Uh oh!
There was an error while loading. Please reload this page.
Most used topics
Loading…
Uh oh!
There was an error while loading. Please reload this page.
You are visitor 01402503 — 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.