A small go module to utilize Typst for PDF, SVG or PNG document/report generation.
Go to file
2024-12-18 20:48:49 +01:00
.github/workflows Add github action for testing 2024-12-18 20:32:37 +01:00
.vscode Add MIT license 2024-12-18 20:48:49 +01:00
.gitignore Initial commit 2024-12-01 15:03:28 +01:00
cli_test.go Add MIT license 2024-12-18 20:48:49 +01:00
cli_unix.go Add MIT license 2024-12-18 20:48:49 +01:00
cli_windows.go Add MIT license 2024-12-18 20:48:49 +01:00
cli-options.go Add MIT license 2024-12-18 20:48:49 +01:00
cli.go Add MIT license 2024-12-18 20:48:49 +01:00
errors_test.go Add MIT license 2024-12-18 20:48:49 +01:00
errors.go Add MIT license 2024-12-18 20:48:49 +01:00
go.mod Several changes 2024-12-18 17:25:28 +01:00
go.sum Several changes 2024-12-18 17:25:28 +01:00
identifier_test.go Add MIT license 2024-12-18 20:48:49 +01:00
identifier.go Add MIT license 2024-12-18 20:48:49 +01:00
LICENSE Add MIT license 2024-12-18 20:48:49 +01:00
README.md Update README.md 2024-12-18 20:32:14 +01:00
variable-encoder_test.go Add MIT license 2024-12-18 20:48:49 +01:00
variable-encoder.go Add MIT license 2024-12-18 20:48:49 +01:00

go-typst

A library to generate documents and reports by utilizing the command line version of typst.

Features include:

  • Encoder to convert go objects into typst objects which then can be injected into typst documents.
  • Parsing of returned errors into go error objects.
  • Uses stdio; No temporary files need to be created.
  • Test coverage of most features.

Installation

  1. Use go get github.com/Dadido3/go-typst inside of your module to add this library to your project.
  2. Install typst by following the instructions in the typst repository.

Runtime requirements

You need to have typst installed on any machine that you want to run your go project on. You can install it by following the instructions in the typst repository.

Usage

ToDo