Skip to content

FluffyCobra/WordCloudNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordCloudNet

.NET 8+ word cloud generator using SkiaSharp (PNG) and SVG (HTML) with Clean Architecture.

Structure

  • WordCloudNet.Domain — Models (WordCloudItem, WordCloudOptions), IWordCloudGenerator interface
  • WordCloudNet.Application — DI registration
  • WordCloudNet.InfrastructureSkiaWordCloudGenerator, spiral placement algorithm, PNG/SVG renderers

Usage

services.AddWordCloudNet();

// Generate
var items = new[] { new WordCloudItem { Text = "hello", Weight = 10 } };
var options = new WordCloudOptions { Width = 800, Height = 600 };
byte[] png = await generator.GenerateImageAsync(items, options);
string html = await generator.GenerateHtmlAsync(items, options);

Build & Test

dotnet build
dotnet test

About

A .NET word cloud generator library using SkiaSharp for PNG rendering and built-in SVG output. Supports spiral word placement, transparent backgrounds, and interactive SVG with clickable words.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages