Get Started

Setup & Quick Start

Getting started with the duc file format, SDKs, and converter packages.

Installation

The duc ecosystem provides dedicated SDKs and tools for TypeScript, Python, Rust, and file format conversion workflows.

TypeScript / JavaScript (ducjs)

Install ducjs via your preferred package manager:

bun add ducjs
# or
npm install ducjs

ducjs uses an embedded WebAssembly SQLite engine, enabling .duc file reading and writing across Node.js, Bun, Deno, and web browsers without native binary compilation.

Python (ducpy)

Install ducpy via uv or pip:

uv add ducpy
# or
pip install ducpy

Rust (ducrs)

Add duc to your Cargo.toml:

[dependencies]
duc = "*"

Interoperability Packages

The repository provides format converters for integrating .duc with industry standards:

PackageFormatPurpose
ducpdfPDFVector PDF export and PDF text extraction
ducsvgSVGBidirectional SVG import and export
Edit on GitHub

Last updated on