Oicana - Cross-platform and language-agnostic PDF templating with Typst

In a nutshell: write document templates in Typst, define inputs in typst.toml, then compile the templates out of TS/JS or C#.

Oicana is source-available on GitHub and has a small website and docs. For now, only the C# and browser integrations are public. But support for more environments and programming languages is work in progress.

If you would like to try Oicana out: the docs have a getting started guide that leads you through creating a template and using it from a C# application.

I hope this can lead to more Typst usage in companies. Especially in smaller ones that might shy away from using Typst for PDF templating in their software, because they don’t want to maintain their own bindings and tooling. In my opinion, Typst is perfect for PDF templating in commercial software with its quality output, good performance, and the open source compiler removing vendor lock-in.

https://docs.oicana.com
https://oicana.com

3 Likes

Hi I am adding your project to the big list Best of Typst (TCDM), but I’m not sure how to mark metadata…

Could you check whether the following matches the goal of Oicana?

  1. Category: Miscellaneous, not Programming

    Oicana does not aim at providing bindings to programming languages. Instead, you want to help people use typst as a PDF backend.

    For example, if someone wants to develop an Typst IDE, then oicana is irrelevant; If someone is developing a school management system and wants to generate PDF certificates, they can use Oicana.

  2. Labels: API, not CLI/App/Web/…

    The main interface for Oicana is API.

    Although a CLI is also provided, its function is similar to that of make/Makefile or webpack/rollup/esbuild.

Hey
yes, that sounds about right. Thank you.

1 Like