gitglass

embed a VS Code-style GitHub repo browser in any static page

▾src
C#Program.cs
C#Startup.cs
{}appsettings.json
▾tests
C#ApiTests.cs
▸web
C#Demo.csproj
M↓README.md
LICENSE
Program.cs×
Startup.cs×
1var builder = WebApplication.CreateBuilder(args);
2builder.Services.AddHybridCache();
3
4// one flight per key, the rest wait
5app.MapGet("/report", async (HybridCache cache) =>
6 await cache.GetOrCreateAsync("report", LoadAsync));
7
8app.Run();
owner/repo @ mainProgram.cs · 8 lines · cs
9.9 KBJS · min + gzip 0dependencies 11theme presets 18packs + fallback 1–2API calls per typical repo
<div data-gitglass="owner/repo"></div>— that's the whole integration
github.com/gdhami-net/gitglass