Beesum.Core
0.2.3
dotnet add package Beesum.Core --version 0.2.3
NuGet\Install-Package Beesum.Core -Version 0.2.3
<PackageReference Include="Beesum.Core" Version="0.2.3" />
<PackageVersion Include="Beesum.Core" Version="0.2.3" />
<PackageReference Include="Beesum.Core" />
paket add Beesum.Core --version 0.2.3
#r "nuget: Beesum.Core, 0.2.3"
#:package Beesum.Core@0.2.3
#addin nuget:?package=Beesum.Core&version=0.2.3
#tool nuget:?package=Beesum.Core&version=0.2.3
Beesum.Core
Transcript-first YouTube summarizer core for .NET 10.
Beesum.Core downloads subtitles with yt-dlp, parses WebVTT (including YouTube auto-generated captions), and summarizes the transcript with a local LLM or without an LLM at all. It ships no UI and makes no network calls during DI registration or startup.
Install
dotnet add package Beesum.Core
Quick start
using Beesum.Core.DependencyInjection;
using Beesum.Core.Models;
using Microsoft.Extensions.DependencyInjection;
var services = new ServiceCollection();
services.AddBeesum(options =>
{
options.LlmProviderId = "transcript-only";
options.OllamaBaseUrl = null; // do not register the local Ollama provider
});
await using var provider = services.BuildServiceProvider();
var pipeline = provider.GetRequiredService<ISummarizerPipeline>();
var result = await pipeline.RunAsync(
new SummarizeCommand(
Url: string.Empty,
PromptStyle.Neutral,
OutputFormat.Markdown,
LocalVttPath: "captions.vtt"));
Console.WriteLine(result.IsSuccess ? result.Content : result.ErrorMessage);
SummaryResult also carries ProviderId, ModelName, Usage (TokenUsage), and
Duration when the provider reports them.
Features
- WebVTT parser for manual and auto-generated captions, including the rolling-window format and inline styling.
- yt-dlp integration with proxy, cookies, and JS-runtime passthrough.
ILlmProviderextension point with built-intranscript-only, Ollama, and OpenAI-compatible providers.ISummarizerPipelineFactoryfor choosing a provider at run time.- Optional
ILogger<T>integration; no-op logging when logging is not configured. Beesum.Testingpackage with in-memory doubles for hermetic tests.
Documentation
See docs/embedding.md and docs/adding-a-provider.md.
License
MIT.
| Product | Versions 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. |
-
net10.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Http (>= 10.0.14)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Options (>= 10.0.14)
- System.Security.Cryptography.ProtectedData (>= 10.0.14)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Beesum.Core:
| Package | Downloads |
|---|---|
|
Beesum.Testing
In-memory test doubles and AddBeesumTesting() for Beesum.Core. |
GitHub repositories
This package is not used by any popular GitHub repositories.