VeeFriends.WikiImporter
5.0.180
dotnet add package VeeFriends.WikiImporter --version 5.0.180
NuGet\Install-Package VeeFriends.WikiImporter -Version 5.0.180
<PackageReference Include="VeeFriends.WikiImporter" Version="5.0.180" />
<PackageVersion Include="VeeFriends.WikiImporter" Version="5.0.180" />
<PackageReference Include="VeeFriends.WikiImporter" />
paket add VeeFriends.WikiImporter --version 5.0.180
#r "nuget: VeeFriends.WikiImporter, 5.0.180"
#:package VeeFriends.WikiImporter@5.0.180
#addin nuget:?package=VeeFriends.WikiImporter&version=5.0.180
#tool nuget:?package=VeeFriends.WikiImporter&version=5.0.180
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.7.8)
- CloudinaryDotNet (>= 1.27.8)
- Google.Apis.Drive.v3 (>= 1.71.0.3905)
- InterpolatedParser (>= 1.1.5)
- LinkPreview (>= 1.4.2)
- Markdig (>= 0.42.0)
- MarkdigExtensions.Query (>= 1.0.9)
- Microsoft.Extensions.Logging.Console (>= 9.0.9)
- Microsoft.SemanticKernel.Connectors.OpenAI (>= 1.66.0)
- Mime-Detective (>= 25.8.1)
- 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.180 | 101 | 10/10/2025 |
5.0.179 | 1,538 | 10/8/2025 |
5.0.178 | 173 | 10/8/2025 |
5.0.177 | 146 | 10/8/2025 |
5.0.176 | 152 | 10/8/2025 |
5.0.175 | 290 | 10/8/2025 |
5.0.174 | 154 | 10/8/2025 |
5.0.173 | 152 | 10/8/2025 |
5.0.172 | 3,641 | 10/2/2025 |
5.0.171 | 153 | 10/2/2025 |
5.0.170 | 204 | 10/2/2025 |
5.0.169 | 183 | 10/2/2025 |
5.0.168 | 443 | 10/1/2025 |
5.0.167 | 848 | 9/30/2025 |
5.0.166 | 219 | 9/30/2025 |
5.0.165 | 153 | 9/30/2025 |
5.0.164 | 154 | 9/30/2025 |
5.0.163 | 150 | 9/30/2025 |
5.0.162 | 631 | 9/30/2025 |
5.0.160 | 184 | 9/30/2025 |
5.0.159 | 174 | 9/30/2025 |
5.0.157 | 256 | 9/29/2025 |
5.0.156 | 258 | 9/29/2025 |
5.0.155 | 538 | 9/29/2025 |
5.0.154 | 205 | 9/29/2025 |
5.0.153 | 87 | 9/26/2025 |
5.0.152 | 557 | 9/26/2025 |
5.0.151 | 299 | 9/26/2025 |
5.0.150 | 236 | 9/26/2025 |
5.0.149 | 276 | 9/25/2025 |
5.0.148 | 159 | 9/25/2025 |
5.0.147 | 163 | 9/25/2025 |
5.0.146 | 1,383 | 9/22/2025 |
5.0.145 | 590 | 9/19/2025 |
5.0.143 | 298 | 9/19/2025 |
5.0.142 | 380 | 9/19/2025 |
5.0.141 | 224 | 9/19/2025 |
5.0.140 | 505 | 9/18/2025 |
5.0.139 | 289 | 9/18/2025 |
5.0.138 | 279 | 9/18/2025 |
5.0.137 | 278 | 9/18/2025 |
5.0.136 | 732 | 9/17/2025 |
5.0.135 | 359 | 9/17/2025 |
5.0.134 | 480 | 9/17/2025 |
5.0.133 | 364 | 9/17/2025 |
5.0.131 | 742 | 9/15/2025 |
5.0.130 | 91 | 9/12/2025 |
5.0.129 | 337 | 9/12/2025 |
5.0.128 | 975 | 9/9/2025 |
5.0.127 | 540 | 9/8/2025 |
5.0.126 | 596 | 9/3/2025 |
5.0.125 | 163 | 9/3/2025 |
5.0.124 | 159 | 9/3/2025 |
5.0.123 | 847 | 8/29/2025 |
5.0.122 | 1,320 | 8/25/2025 |
5.0.121 | 168 | 8/25/2025 |
5.0.120 | 242 | 8/25/2025 |
5.0.119 | 503 | 8/25/2025 |
5.0.118 | 600 | 8/25/2025 |
5.0.117 | 290 | 8/25/2025 |
5.0.116 | 236 | 8/23/2025 |
5.0.115 | 382 | 8/22/2025 |
5.0.114 | 241 | 8/22/2025 |
5.0.113 | 253 | 8/22/2025 |
5.0.112 | 110 | 8/22/2025 |
5.0.111 | 111 | 8/22/2025 |
5.0.110 | 398 | 8/21/2025 |
5.0.109 | 559 | 8/21/2025 |
5.0.108 | 153 | 8/21/2025 |
5.0.107 | 145 | 8/21/2025 |
5.0.106 | 145 | 8/21/2025 |
5.0.105 | 467 | 8/20/2025 |
5.0.104 | 385 | 8/19/2025 |
5.0.103 | 2,075 | 8/4/2025 |
5.0.102 | 206 | 8/4/2025 |
5.0.101 | 194 | 8/4/2025 |
5.0.100 | 89 | 8/2/2025 |
5.0.99 | 87 | 8/1/2025 |
5.0.98 | 139 | 7/30/2025 |
5.0.97 | 119 | 7/30/2025 |
5.0.96 | 116 | 7/30/2025 |
5.0.95 | 108 | 7/29/2025 |
5.0.94 | 119 | 7/29/2025 |
5.0.93 | 221 | 7/28/2025 |
5.0.92 | 125 | 7/28/2025 |
5.0.91 | 225 | 7/28/2025 |
5.0.90 | 198 | 7/28/2025 |
5.0.71 | 305 | 7/26/2025 |
5.0.70 | 293 | 7/26/2025 |
5.0.69 | 657 | 7/25/2025 |
5.0.68 | 514 | 7/25/2025 |
5.0.67 | 475 | 7/24/2025 |
5.0.66 | 582 | 7/24/2025 |
5.0.65 | 556 | 7/24/2025 |
5.0.64 | 736 | 7/24/2025 |
5.0.63 | 488 | 7/23/2025 |
5.0.62 | 582 | 7/23/2025 |
5.0.60 | 528 | 7/23/2025 |
5.0.59 | 744 | 7/15/2025 |
5.0.58 | 161 | 7/15/2025 |
5.0.57 | 162 | 7/15/2025 |
5.0.56 | 156 | 7/15/2025 |
5.0.55 | 147 | 7/11/2025 |
5.0.54 | 112 | 7/11/2025 |
5.0.53 | 147 | 7/10/2025 |
5.0.49 | 858 | 7/3/2025 |
5.0.48 | 248 | 7/2/2025 |
5.0.47 | 160 | 7/1/2025 |
5.0.46 | 165 | 7/1/2025 |
5.0.44 | 375 | 7/1/2025 |
5.0.43 | 163 | 7/1/2025 |
5.0.39 | 189 | 4/29/2025 |
5.0.38 | 188 | 4/28/2025 |
5.0.37 | 199 | 4/28/2025 |
5.0.36 | 196 | 4/28/2025 |
5.0.35 | 251 | 3/5/2025 |
5.0.34 | 243 | 3/4/2025 |
5.0.33 | 257 | 3/4/2025 |
5.0.32 | 240 | 3/4/2025 |
5.0.31 | 265 | 3/4/2025 |
5.0.30 | 238 | 3/4/2025 |
5.0.29 | 242 | 3/4/2025 |
5.0.28 | 254 | 3/3/2025 |
5.0.27 | 229 | 3/3/2025 |
5.0.24 | 137 | 3/1/2025 |
5.0.23 | 130 | 2/28/2025 |
5.0.22 | 131 | 2/28/2025 |
5.0.21 | 133 | 2/25/2025 |
5.0.20 | 135 | 2/24/2025 |
5.0.19 | 129 | 2/24/2025 |
5.0.18 | 125 | 2/21/2025 |
5.0.17 | 144 | 2/21/2025 |
5.0.16 | 122 | 2/21/2025 |
5.0.15 | 116 | 2/21/2025 |
5.0.14 | 121 | 2/18/2025 |
5.0.13 | 145 | 2/18/2025 |
5.0.12 | 140 | 2/18/2025 |
5.0.11 | 152 | 2/17/2025 |
5.0.10 | 130 | 2/17/2025 |
5.0.9 | 133 | 2/14/2025 |
5.0.8 | 127 | 2/14/2025 |
5.0.7 | 136 | 2/13/2025 |
5.0.5 | 164 | 2/12/2025 |