{"repo":"Giorgi/DuckDB.ExtensionKit","free":true,"listed":false,"github":"https://github.com/Giorgi/DuckDB.ExtensionKit","clone":"git clone https://github.com/Giorgi/DuckDB.ExtensionKit.git","description":"Build native DuckDB extensions in C# using .NET AOT compilation","language":"C#","stars":53,"topics":["duckdb","duckdb-extension","naot","native-aot"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"# DuckDB Extensions in C# Build native DuckDB extensions using C# and .NET AOT compilation. Getting Started Clone with submodules to include the required extension packaging script: Or if already cloned: Projects Project Description --------- ------------- DuckDB.ExtensionKit Core runtime library with DuckDB C API bindings, type-safe function registration, and vector data readers/writers DuckDB.ExtensionKit.Generators Source generator that auto-generates the native entry point boilerplate DuckDB.JWT Example extension implementing JWT functions (validates tokens, extracts claims) Building an Extension 1. Create a project Reference the toolkit packages and configure your extension name: 2. Define your extension Create a partial class with the [DuckDBExtension] attribute and implement RegisterFunctions : Named parameters use the [Named] attribute on lambda parameters. By default the SQL parameter name matches the C# name; use [Named(\"custom name\")] to override it. Named parameters are optional - omitted ones receive null . The source generator automatically creates the native entry point ( myextension init c api ). See the DuckDB.JWT project in this repo for a complete example with scalar and table functions. 3. Build and publish This also runs a post-publish Python script ( append extension metadata.py ) that appends DuckDB extension metadata to the native binary. This metadata is required for DuckDB to recognize and load the file as a valid extension. The output is a .duckdb e","default_branch":null,"files":null,"tree":[],"storefront":"/r/Giorgi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Giorgi/DuckDB.ExtensionKit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}