ktsu.dev
ktsu.dev
.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
- CaseConverter: string case conversion
- ScopedAction: RAII-style setup and teardown patterns
- DeepClone: type-safe deep cloning through a small interface and base class
- FuzzySearch: fuzzy string matching scored for search-as-you-type and command palettes
- TextFilter: text matching over glob patterns, regular expressions, and fuzzy search
- Invoker: thread-safe delegate execution for UI applications
- SingleAppInstance: prevent multiple application instances
Getting Started
All libraries ship as NuGet packages:
dotnet add package ktsu.Semantics.Strings dotnet add package ktsu.Extensions dotnet add package ktsu.ImGui.App
ktsu.Sdk
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:
<Project> <Sdk Name="Microsoft.NET.Sdk" /> <Sdk Name="ktsu.Sdk" /> <!-- Your project configuration --> </Project>
Pin SDK versions in global.json so every project in a solution builds with the same toolchain and updates happen in one place:
{
"sdk": {
"version": "10.0.100",
"rollForward": "latestFeature"
},
"msbuild-sdks": {
"MSTest.Sdk": "4.3.3",
"ktsu.Sdk": "2.28.0",
"ktsu.Sdk.ConsoleApp": "2.28.0",
"ktsu.Sdk.Tool": "2.28.0",
"ktsu.Sdk.App": "2.28.0"
}
}
Project Status
Popular repositories Loading
-
ImGuiApp
ImGuiApp
Public
A comprehensive .NET library suite for building desktop applications with Dear ImGui.
-
CredentialCache
CredentialCache
Public
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…
C# 6
-
TUI
TUI
Public
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…
-
AppDataStorage
AppDataStorage
Public
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…
-
ImGuiWidgets
ImGuiWidgets
Public archive
PowerShell 2
-
FuzzySearch
FuzzySearch
Public
Lightweight .NET fuzzy string matching library with intelligent scoring for search-as-you-type, command palettes, and flexible string matching applications.
C# 2
Repositories
Showing 10 of 79 repositories-
.github
Public
Organization-level GitHub configuration for ktsu-dev: the public profile README rendered on the organization page, shared issue and pull request templates, and reusable workflow assets.
Uh oh!
There was an error while loading. Please reload this page.
ktsu-dev/.github's past year of commit activity PowerShell 0 0 7 0 Updated Dec 4, 2026 -
CounterStrikeProgression
Public
Uh oh!
There was an error while loading. Please reload this page.
ktsu-dev/CounterStrikeProgression's past year of commit activity C# 0 MIT 0 32 9 Updated Dec 3, 2026 -
TrayApp
Public
Uh oh!
There was an error while loading. Please reload this page.
ktsu-dev/TrayApp's past year of commit activity C# 0 MIT 0 11 0 Updated Dec 3, 2026 -
GitBranchStateCache
Public
A cross-branch state cache for Git repositories. Answers, for a set of paths, which monitored branches carry changes a client does not have and what content they carry, using only git over HTTPS so it behaves identically against GitHub and Azure DevOps.
Uh oh!
There was an error while loading. Please reload this page.
ktsu-dev/GitBranchStateCache's past year of commit activity C# 0 MIT 0 21 0 Updated Dec 1, 2026 -
GitLfsCache
Public
A caching reverse proxy for the Git LFS HTTP API. Relays every Batch API call upstream so upstream remains the sole authority on access, rewrites the returned transfer URLs to point at itself, and serves object bytes from a local content-addressed store.
Uh oh!
There was an error while loading. Please reload this page.
ktsu-dev/GitLfsCache's past year of commit activity C# 0 MIT 1 39 1 Updated Nov 30, 2026 -
AppDataStorage
Public
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, backup recovery, and singleton access. Stores data in the user's app data folder with support for custom subdirectories and file names.
Uh oh!
There was an error while loading. Please reload this page.
ktsu-dev/AppDataStorage's past year of commit activity C# 2 MIT 1 8 1 Updated Nov 25, 2026 -
IntervalAction
Public
A .NET library that provides a simple way to execute an action at a specified interval with precise timing control.
Uh oh!
There was an error while loading. Please reload this page.
ktsu-dev/IntervalAction's past year of commit activity C# 0 MIT 1 5 0 Updated Nov 24, 2026 -
KtsuTools
Public
KtsuTools is a unified developer tools suite that consolidates multiple ktsu-dev utilities into a single CLI application with consistent UX powered by Spectre.Console.
Uh oh!
There was an error while loading. Please reload this page.
ktsu-dev/KtsuTools's past year of commit activity C# 0 MIT 0 60 3 Updated Nov 24, 2026 -
SourceGeneratorToolkit
Public
Uh oh!
There was an error while loading. Please reload this page.
ktsu-dev/SourceGeneratorToolkit's past year of commit activity C# 0 MIT 1 5 3 Updated Nov 24, 2026 -
ImGuiApp
Public
A comprehensive .NET library suite for building desktop applications with Dear ImGui.
Uh oh!
There was an error while loading. Please reload this page.
ktsu-dev/ImGuiApp's past year of commit activity C# 17 MIT 5 24 15 Updated Nov 24, 2026
People
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.