{"id":48908309,"url":"https://github.com/kevingliewe/rerun.net","last_synced_at":"2026-04-16T22:01:16.688Z","repository":{"id":351717326,"uuid":"1204671760","full_name":"KevinGliewe/Rerun.NET","owner":"KevinGliewe","description":"C# SDK for rerun.io","archived":false,"fork":false,"pushed_at":"2026-04-16T06:20:18.000Z","size":285,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-16T08:31:53.736Z","etag":null,"topics":["rerun","rerun-sdk"],"latest_commit_sha":null,"homepage":"https://rerun.io","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KevinGliewe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-08T08:13:00.000Z","updated_at":"2026-04-15T19:42:07.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/KevinGliewe/Rerun.NET","commit_stats":null,"previous_names":["kevingliewe/rerun.net"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/KevinGliewe/Rerun.NET","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevinGliewe%2FRerun.NET","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevinGliewe%2FRerun.NET/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevinGliewe%2FRerun.NET/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevinGliewe%2FRerun.NET/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KevinGliewe","download_url":"https://codeload.github.com/KevinGliewe/Rerun.NET/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevinGliewe%2FRerun.NET/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31905895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rerun","rerun-sdk"],"created_at":"2026-04-16T22:00:56.998Z","updated_at":"2026-04-16T22:01:16.682Z","avatar_url":"https://github.com/KevinGliewe.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rerun.NET\n\nA cross-platform C# SDK for [Rerun](https://rerun.io) — multimodal data visualization for robotics, spatial AI, and computer vision.\n\nWraps the native `rerun_c` library via P/Invoke and the Arrow C Data Interface. All 45 archetypes, 79 components, and 61 datatypes are code-generated from the upstream FlatBuffers definitions, plus 67 blueprint types.\n\n## Quick Start\n\n```csharp\nusing Rerun.Net;\nusing Rerun.Net.Archetypes;\nusing Rerun.Net.Components;\nusing Rerun.Net.Datatypes;\n\nusing var rec = new RecordingStream(\"my_app\");\nrec.Spawn(); // or rec.Save(\"output.rrd\");\n\nrec.Log(\"points\", new Points3D(\n        new Position3D(new Vec3D([1f, 2f, 3f])),\n        new Position3D(new Vec3D([4f, 5f, 6f])))\n    .WithColors(\n        new Color(new Rgba32(0xFF0000FFu)),\n        new Color(new Rgba32(0x00FF00FFu)))\n    .WithRadii(new Radius(0.5f)));\n```\n\n## Features\n\n- **100% archetype coverage** — all 45 Rerun archetypes generated and working\n- **Cross-language verified** — 12 cross-language comparison tests confirm C# output is semantically identical to the Rust SDK\n- **Cross-platform** — targets win-x64, win-arm64, linux-x64, linux-arm64, osx-x64, osx-arm64\n- **Code-generated** — types stay in sync with Rerun via FlatBuffers `.fbs` codegen\n- **Testable** — `INativeApi` interface allows mocking the native layer for unit tests without the native binary\n- **71 tests** — 39 unit tests + 32 integration tests including backwards compatibility checks\n\n## Examples\n\n| Example | Description |\n|---------|-------------|\n| [MinimalExample](examples/MinimalExample) | Points3D with colors and radii over 2 frames |\n| [Minimal](examples/Minimal) | 10x10x10 grid of 1000 colored points |\n| [Clock](examples/Clock) | Animated analog clock with Arrows3D |\n| [DNA](examples/DNA) | Double helix with animated beads |\n| [Graphs](examples/Graphs) | Graph nodes, edges, lattice, Markov chain |\n| [Plots](examples/Plots) | Gaussian, parabola, trig, classification scatter |\n| [ScalarPlot](examples/ScalarPlot) | Sin/cos/product scalar plots over time |\n| [RrtStar](examples/RrtStar) | RRT* pathfinding algorithm visualization |\n| [Multithreading](examples/Multithreading) | Thread-safe logging from 10 concurrent threads |\n| [IncrementalLogging](examples/IncrementalLogging) | Efficient partial updates across frames |\n| [LiveScrollingPlot](examples/LiveScrollingPlot) | 6 plots x 5 series random walk dashboard |\n| [GraphLattice](examples/GraphLattice) | 10x10 lattice graph with directed edges |\n| [Arrows3DSpiral](examples/Arrows3DSpiral) | 100 arrows in a spiral with gradient colors |\n| [LineStrips3DCube](examples/LineStrips3DCube) | Wireframe cube with colored line strips |\n| [TextLogging](examples/TextLogging) | Log entries at different severity levels |\n| [ClearDemo](examples/ClearDemo) | Log arrows then clear them one by one |\n\nRun any example:\n```bash\ndotnet run --project examples/Graphs           # saves to .rrd file\ndotnet run --project examples/Graphs -- --spawn # opens Rerun viewer\n```\n\n## Requirements\n\n- .NET 8.0+\n- Rust toolchain (to build `rerun_c` from source)\n\n## Building from Source\n\n```bash\ngit clone --recursive https://github.com/KevinGliewe/Rerun.NET.git\ncd Rerun.NET\n\n# Build the native library\ncd extern/rerun\ncargo rustc -p rerun_c --release --crate-type cdylib\ncd ../..\nmkdir -p runtimes/win-x64/native  # adjust RID for your platform\ncp extern/rerun/target/release/rerun_c.dll runtimes/win-x64/native/\n\n# Build and test the SDK\ndotnet restore Rerun.Net.slnx\ndotnet build Rerun.Net.slnx\ndotnet test Rerun.Net.slnx\n```\n\n### Optional: Build the Rerun CLI (for integration tests)\n\n```bash\ncd extern/rerun\ncargo build -p rerun-cli --release --no-default-features\n```\n\n### Run the code generator\n\n```bash\ndotnet run --project src/Rerun.Net.CodeGen -- \\\n    extern/rerun/crates/store/re_sdk_types/definitions/rerun \\\n    src/Rerun.Net\n```\n\n## Architecture\n\nThree-layer design mirroring the C++ SDK:\n\n**Layer 1 — Native/** P/Invoke bindings to `rerun_c` using .NET 8 `LibraryImport` (source-generated, AOT-compatible).\n\n**Layer 2 — Core/** Managed wrappers. `RecordingStream` wraps the native handle with `IDisposable`, provides `Log()`, `TryLog()`, sink configuration, timeline management, and `SendColumns()`.\n\n**Layer 3 — Archetypes/Components/Datatypes/** Code-generated from FlatBuffers `.fbs` definitions. Archetypes implement `IAsComponents`, components implement `ILoggable\u003cT\u003e`.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevingliewe%2Frerun.net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevingliewe%2Frerun.net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevingliewe%2Frerun.net/lists"}