VOOZH about

URL: https://www.nuget.org/packages/Tiki.Net/

⇱ NuGet Gallery | Tiki.Net 1.0.1




👁 Image
Tiki.Net 1.0.1

dotnet add package Tiki.Net --version 1.0.1
 
 
NuGet\Install-Package Tiki.Net -Version 1.0.1
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Tiki.Net" Version="1.0.1" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Tiki.Net" Version="1.0.1" />
 
Directory.Packages.props
<PackageReference Include="Tiki.Net" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Tiki.Net --version 1.0.1
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Tiki.Net, 1.0.1"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Tiki.Net@1.0.1
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Tiki.Net&version=1.0.1
 
Install as a Cake Addin
#tool nuget:?package=Tiki.Net&version=1.0.1
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

👁 Build and Test
👁 NuGet

👁 Logo

Tiki.Net

A lightweight .NET library for content detection and text extraction, loosely inspired by Apache Tika. Tiki.Net is a native C# implementation — no IKVM, no Java, no bloat. It covers the most common file formats with strongly-typed results and a modern async API.

👁 Screenshot

Why Tiki.Net?

  • Native .NET — pure C#, no Java bridge, no 23 MB IKVM blob
  • Strongly-typed results — get TikiDocument, TikiPhoto, TikiMusic objects with real properties, not string dictionaries
  • Lightweight — core library is 57 KB; install only the parser packages you need
  • Modern — async/await, CancellationToken, nullable reference types, net8.0+
  • Modular — split NuGet packages keep your dependency footprint small

Installation

# Core (includes text, XML, CSV, JSON parsing and MIME detection)
dotnet add package Tiki.Net

# Parser packages (install only what you need)
dotnet add package Tiki.Net.Parsers.Pdf # PDF (via PdfPig)
dotnet add package Tiki.Net.Parsers.Office # DOCX, XLSX, PPTX, ODT (via OpenXml SDK)
dotnet add package Tiki.Net.Parsers.Html # HTML (via AngleSharp)
dotnet add package Tiki.Net.Parsers.Media # MP3, FLAC, WAV, MP4, AVI, MKV, WMV (via TagLibSharp)
dotnet add package Tiki.Net.Parsers.Email # EML (zero dependencies)
dotnet add package Tiki.Net.Parsers.Image # JPEG, PNG, TIFF EXIF metadata (via MetadataExtractor)
dotnet add package Tiki.Net.Parsers.Rtf # RTF (via RtfPipe)

Usage

Basic text extraction

using Tiki;

var tiki = new Tiki.Tiki();

string text = await tiki.ParseToStringAsync("document.pdf");

Strongly-typed parsing

using Tiki;
using Tiki.Documents;

var tiki = new TikiEngine();
var result = await tiki.ParseAsync("report.docx");

if (result is TikiDocument doc)
{
 Console.WriteLine($"Title: {doc.Title}");
 Console.WriteLine($"Author: {doc.Authors?.FirstOrDefault()}");
 Console.WriteLine($"Pages: {doc.PageCount}");
 Console.WriteLine($"Company: {doc.Company}");
 Console.WriteLine($"Content: {doc.Content[..200]}...");
}

Image metadata

var result = await tiki.ParseAsync("photo.jpg");

if (result is TikiPhoto photo)
{
 Console.WriteLine($"Camera: {photo.CameraManufacturer} {photo.CameraModel}");
 Console.WriteLine($"Date Taken: {photo.DateTaken}");
 Console.WriteLine($"ISO: {photo.IsoSpeed}, f/{photo.FNumber}");
 Console.WriteLine($"GPS: {photo.Latitude}, {photo.Longitude}");
}

Music metadata

var result = await tiki.ParseAsync("song.mp3");

if (result is TikiMusic music)
{
 Console.WriteLine($"Artist: {music.Artist}");
 Console.WriteLine($"Album: {music.Album}");
 Console.WriteLine($"Track: {music.TrackNumber}");
 Console.WriteLine($"Duration: {music.Duration}");
}

Video metadata

var result = await tiki.ParseAsync("movie.mp4");

if (result is TikiVideo video)
{
 Console.WriteLine($"Resolution: {video.Width}x{video.Height}");
 Console.WriteLine($"Duration: {video.Duration}");
 Console.WriteLine($"Codec: {video.VideoCodec}");
}

Email parsing

var result = await tiki.ParseAsync("message.eml");

if (result is TikiMessage msg)
{
 Console.WriteLine($"From: {msg.FromName} <{msg.FromAddress}>");
 Console.WriteLine($"To: {string.Join(", ", msg.ToAddresses ?? [])}");
 Console.WriteLine($"Subject: {msg.Subject}");
 Console.WriteLine($"Body: {msg.Content}");
}

MIME type detection

var mediaType = await tiki.DetectAsync("unknown-file.bin");
Console.WriteLine(mediaType); // e.g. "application/pdf"

Custom configuration

using Tiki;
using Tiki.Parsers.Pdf;
using Tiki.Parsers.Html;
using Tiki.Parsers.Media;

var config = TikiConfig.CreateBuilder()
 .AddPdfParser()
 .AddHtmlParser()
 .AddMediaParser()
 .Build();

var tiki = new Tiki.Tiki(config);

Streaming and cancellation

using var cts = new CancellationTokenSource(TimeSpan.FromSeconds(30));
using var stream = File.OpenRead("large-document.pdf");

var result = await tiki.ParseAsync(stream, cts.Token);

Result Type Hierarchy

TikiFile Plain text, source code, markdown
├── TikiData JSON, XML, XAML, YAML, TOML, CSV, INI
├── TikiOfficeDocument (abstract)
│ ├── TikiDocument PDF, DOCX, DOC, RTF, ODT
│ ├── TikiSpreadsheet XLSX
│ └── TikiPresentation PPTX
├── TikiMedia (abstract)
│ ├── TikiAudio
│ │ └── TikiMusic MP3, FLAC, WAV, OGG
│ └── TikiVideo MP4, AVI, MKV, MOV, WMV
├── TikiPhoto JPEG, PNG, TIFF, GIF, BMP, WebP
├── TikiMessage EML
└── TikiWebPage HTML

Common properties on TikiFile: Content, MediaType, Title, Authors, DateCreated, DateModified, Description, Keywords, ContentLength

License

MIT

Product Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on Tiki.Net:

Package Downloads
LottaDB.Tiki

Tiki.Net integration for LottaDB — auto-extract rich metadata from blobs on upload.

Tiki.Net.Parsers.Office

Office document parser for Tiki.Net (DOCX, XLSX, PPTX, ODT)

Tiki.Net.Parsers.Html

HTML parser for Tiki.Net using AngleSharp

Tiki.Net.Parsers.Media

Package Description

Tiki.Net.Parsers.Pdf

PDF parser for Tiki.Net using PdfPig

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 195 5/3/2026
1.0.0 220 5/3/2026