{"id":21171956,"url":"https://github.com/francescoalemanno/gotypst","last_synced_at":"2025-04-13T15:05:45.731Z","repository":{"id":257234813,"uuid":"857690772","full_name":"francescoalemanno/gotypst","owner":"francescoalemanno","description":"gotypst is a Go package that compiles Typst code into a PDF. It provides an easy-to-use function to pass Typst markup as bytes and receive the compiled PDF as bytes. This can be used to integrate Typst into Go projects, automate PDF generation, or add Typst support to your web services.","archived":false,"fork":false,"pushed_at":"2025-02-06T08:09:55.000Z","size":227447,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T15:05:30.570Z","etag":null,"topics":["pdf-generation","report-generation","typesetting"],"latest_commit_sha":null,"homepage":"https://github.com/francescoalemanno/gotypst","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/francescoalemanno.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-15T10:53:52.000Z","updated_at":"2025-02-23T18:52:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc94e5e4-eb84-4af5-930e-efe2ca3d088a","html_url":"https://github.com/francescoalemanno/gotypst","commit_stats":null,"previous_names":["francescoalemanno/gotypst"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francescoalemanno%2Fgotypst","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francescoalemanno%2Fgotypst/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francescoalemanno%2Fgotypst/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francescoalemanno%2Fgotypst/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/francescoalemanno","download_url":"https://codeload.github.com/francescoalemanno/gotypst/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248732483,"owners_count":21152852,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pdf-generation","report-generation","typesetting"],"created_at":"2024-11-20T16:17:33.750Z","updated_at":"2025-04-13T15:05:45.719Z","avatar_url":"https://github.com/francescoalemanno.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gotypst\n[![Go Report Card](https://goreportcard.com/badge/github.com/francescoalemanno/gotypst)](https://goreportcard.com/report/github.com/francescoalemanno/gotypst)\n[![API Reference](https://img.shields.io/badge/docs-API_Reference-blue)](https://pkg.go.dev/github.com/francescoalemanno/gotypst)\n\ngotypst is a Go package that compiles Typst code into a PDF. It provides an easy-to-use function to pass Typst markup as bytes and receive the compiled PDF as bytes. This can be used to integrate Typst into Go projects, automate PDF generation, or add Typst support to your web services.\nFeatures\n\n- Convert Typst code into PDF on the fly\n- Flexible options for customization\n- Simple, minimal interface\n\n## example\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/francescoalemanno/gotypst\"\n)\n\nfunc main() {\n    bts, err := gotypst.PDF([]byte(\"= hello\"))\n    if err!=nil {\n        return\n    }\n    fmt.Println(bts)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancescoalemanno%2Fgotypst","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrancescoalemanno%2Fgotypst","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancescoalemanno%2Fgotypst/lists"}