VeeFriends.WikiImporter
5.0.126
See the version list below for details.
dotnet add package VeeFriends.WikiImporter --version 5.0.126
NuGet\Install-Package VeeFriends.WikiImporter -Version 5.0.126
<PackageReference Include="VeeFriends.WikiImporter" Version="5.0.126" />
<PackageVersion Include="VeeFriends.WikiImporter" Version="5.0.126" />
<PackageReference Include="VeeFriends.WikiImporter" />
paket add VeeFriends.WikiImporter --version 5.0.126
#r "nuget: VeeFriends.WikiImporter, 5.0.126"
#:package VeeFriends.WikiImporter@5.0.126
#addin nuget:?package=VeeFriends.WikiImporter&version=5.0.126
#tool nuget:?package=VeeFriends.WikiImporter&version=5.0.126
VeeFriends.WikiImporter 📘🌍
VeeFriends.WikiImporter is a .NET library designed to automate the import and transformation of character data from ClickUp into a structured format, incorporating AI-driven enhancements and media assets. The library integrates with multiple services, including Google Drive, Cloudinary, and ChatGPT, to enrich character data with link previews, images, and more.
Features
- Automated import of character data from ClickUp
- AI-driven content processing via ChatGPT
- Integration with Google Drive for media assets
- Cloudinary support for optimized image storage
- Link preview generation for social and media content
- Caching and error handling for efficient processing
- Dependency Injection support for seamless integration
Installation
Install the VeeFriends.WikiImporter NuGet package in your project:
dotnet add package VeeFriends.WikiImporter
Usage
1. Configuration
Configure the necessary services in your Startup.cs
or Program.cs
file:
using Microsoft.Extensions.DependencyInjection;
using VeeFriends.WikiImporter;
var services = new ServiceCollection();
services.AddWikiImporter(
configureChatGpt: options => { options.ApiKey = "your-api-key"; options.Model = "gpt-4"; },
configureSystemPrompt: options => { options.Prompt = "Your system prompt here"; },
configureClickUp: options => { options.ApiKey = "your-clickup-api-key"; },
configureCloudinary: options => { options.CloudName = "your-cloudinary-name"; },
configureGoogleDrive: options => { options.ApiKey = "your-google-drive-api-key"; },
linkPreviewOptions: options => { options.ApiKey = "your-link-preview-api-key"; },
configureDZineAi: options => { options.ApiKey = "your-dzine-ai-api-key"; }
);
2. Executing an Import
Inject the CharacterImporter
service and call ExecuteImport
to start importing character data:
public class WikiImportService
{
private readonly CharacterImporter _characterImporter;
public WikiImportService(CharacterImporter characterImporter)
{
_characterImporter = characterImporter;
}
public async Task ImportCharactersAsync()
{
var importOptions = new ImportOptions
{
OnProgress = (progress, _) => Console.WriteLine($"Progress: {progress}%"),
OnError = (error, _) => Console.WriteLine($"Error: {error.Message}"),
DelayBetweenRequests = TimeSpan.FromSeconds(1),
SkipCache = false
};
await _characterImporter.ExecuteImport(importOptions, CancellationToken.None);
}
}
3. Error Handling
The library provides structured error handling using logging and event-driven error reporting:
try
{
await _characterImporter.ExecuteImport(importOptions, CancellationToken.None);
}
catch (Exception ex)
{
Console.WriteLine($"Import failed: {ex.Message}");
}
Extending the Library
Adding a New Data Source
To extend the importer with a new data source:
- Implement a new data provider service that retrieves content.
- Modify
CharacterImporter
to include the new source. - Integrate processing logic using
ModifyWithGoogleDrive
orModifyWithLinkPreview
patterns. - Register the new service in
ServiceCollectionExtensions
.
Dependencies
VeeFriends.WikiImporter relies on several external services:
- ClickUp: For retrieving character wiki pages
- ChatGPT: For AI-driven text processing
- Google Drive: For media file storage and retrieval
- Cloudinary: For optimized image hosting
- Link Preview: For generating link previews of media content
- Microsoft.Extensions.DependencyInjection: For dependency injection support
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net9.0
- AWSSDK.S3 (>= 4.0.6.13)
- CloudinaryDotNet (>= 1.27.7)
- Google.Apis.Drive.v3 (>= 1.70.0.3883)
- InterpolatedParser (>= 1.1.5)
- LinkPreview (>= 1.4.2)
- Markdig (>= 0.41.3)
- MarkdigExtensions.Query (>= 1.0.9)
- Microsoft.Extensions.Logging.Console (>= 9.0.8)
- Microsoft.SemanticKernel.Connectors.OpenAI (>= 1.64.0)
- SixLabors.Fonts (>= 2.1.3)
- SixLabors.ImageSharp (>= 3.1.11)
- SixLabors.ImageSharp.Drawing (>= 2.1.7)
- Slugify.Core (>= 5.1.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
5.0.127 | 0 | 9/8/2025 |
5.0.126 | 527 | 9/3/2025 |
5.0.125 | 120 | 9/3/2025 |
5.0.124 | 118 | 9/3/2025 |
5.0.123 | 828 | 8/29/2025 |
5.0.122 | 1,293 | 8/25/2025 |
5.0.121 | 141 | 8/25/2025 |
5.0.120 | 216 | 8/25/2025 |
5.0.119 | 496 | 8/25/2025 |
5.0.118 | 584 | 8/25/2025 |
5.0.117 | 263 | 8/25/2025 |
5.0.116 | 211 | 8/23/2025 |
5.0.115 | 356 | 8/22/2025 |
5.0.114 | 215 | 8/22/2025 |
5.0.113 | 227 | 8/22/2025 |
5.0.112 | 81 | 8/22/2025 |
5.0.111 | 85 | 8/22/2025 |
5.0.110 | 373 | 8/21/2025 |
5.0.109 | 533 | 8/21/2025 |
5.0.108 | 128 | 8/21/2025 |
5.0.107 | 128 | 8/21/2025 |
5.0.106 | 120 | 8/21/2025 |
5.0.105 | 451 | 8/20/2025 |
5.0.104 | 358 | 8/19/2025 |
5.0.103 | 2,050 | 8/4/2025 |
5.0.102 | 182 | 8/4/2025 |
5.0.101 | 170 | 8/4/2025 |
5.0.100 | 66 | 8/2/2025 |
5.0.99 | 63 | 8/1/2025 |
5.0.98 | 114 | 7/30/2025 |
5.0.97 | 95 | 7/30/2025 |
5.0.96 | 92 | 7/30/2025 |
5.0.95 | 94 | 7/29/2025 |
5.0.94 | 94 | 7/29/2025 |
5.0.93 | 94 | 7/28/2025 |
5.0.92 | 95 | 7/28/2025 |
5.0.91 | 94 | 7/28/2025 |
5.0.90 | 97 | 7/28/2025 |
5.0.71 | 257 | 7/26/2025 |
5.0.70 | 260 | 7/26/2025 |
5.0.69 | 427 | 7/25/2025 |
5.0.68 | 442 | 7/25/2025 |
5.0.67 | 442 | 7/24/2025 |
5.0.66 | 445 | 7/24/2025 |
5.0.65 | 443 | 7/24/2025 |
5.0.64 | 441 | 7/24/2025 |
5.0.63 | 442 | 7/23/2025 |
5.0.62 | 489 | 7/23/2025 |
5.0.60 | 496 | 7/23/2025 |
5.0.59 | 443 | 7/15/2025 |
5.0.58 | 138 | 7/15/2025 |
5.0.57 | 138 | 7/15/2025 |
5.0.56 | 132 | 7/15/2025 |
5.0.55 | 135 | 7/11/2025 |
5.0.54 | 90 | 7/11/2025 |
5.0.53 | 144 | 7/10/2025 |
5.0.49 | 845 | 7/3/2025 |
5.0.48 | 226 | 7/2/2025 |
5.0.47 | 146 | 7/1/2025 |
5.0.46 | 141 | 7/1/2025 |
5.0.44 | 360 | 7/1/2025 |
5.0.43 | 139 | 7/1/2025 |
5.0.39 | 166 | 4/29/2025 |
5.0.38 | 165 | 4/28/2025 |
5.0.37 | 174 | 4/28/2025 |
5.0.36 | 171 | 4/28/2025 |
5.0.35 | 229 | 3/5/2025 |
5.0.34 | 221 | 3/4/2025 |
5.0.33 | 235 | 3/4/2025 |
5.0.32 | 219 | 3/4/2025 |
5.0.31 | 242 | 3/4/2025 |
5.0.30 | 233 | 3/4/2025 |
5.0.29 | 221 | 3/4/2025 |
5.0.28 | 230 | 3/3/2025 |
5.0.27 | 218 | 3/3/2025 |
5.0.24 | 116 | 3/1/2025 |
5.0.23 | 107 | 2/28/2025 |
5.0.22 | 120 | 2/28/2025 |
5.0.21 | 112 | 2/25/2025 |
5.0.20 | 121 | 2/24/2025 |
5.0.19 | 108 | 2/24/2025 |
5.0.18 | 114 | 2/21/2025 |
5.0.17 | 113 | 2/21/2025 |
5.0.16 | 110 | 2/21/2025 |
5.0.15 | 115 | 2/21/2025 |
5.0.14 | 119 | 2/18/2025 |
5.0.13 | 124 | 2/18/2025 |
5.0.12 | 117 | 2/18/2025 |
5.0.11 | 131 | 2/17/2025 |
5.0.10 | 117 | 2/17/2025 |
5.0.9 | 118 | 2/14/2025 |
5.0.8 | 114 | 2/14/2025 |
5.0.7 | 121 | 2/13/2025 |
5.0.5 | 143 | 2/12/2025 |