{"id":23097061,"url":"https://github.com/alexcoder04/gopandoc","last_synced_at":"2025-08-26T23:37:11.879Z","repository":{"id":153187765,"uuid":"628301206","full_name":"alexcoder04/gopandoc","owner":"alexcoder04","description":"Go API for using the pandoc document converter","archived":false,"fork":false,"pushed_at":"2023-07-01T08:44:52.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T20:15:35.097Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexcoder04.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":"2023-04-15T14:22:20.000Z","updated_at":"2024-03-20T17:01:46.000Z","dependencies_parsed_at":"2024-12-16T22:50:49.955Z","dependency_job_id":"fa6a9ee1-665c-4026-8242-5e5b7dbcc246","html_url":"https://github.com/alexcoder04/gopandoc","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/alexcoder04/gopandoc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fgopandoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fgopandoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fgopandoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fgopandoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexcoder04","download_url":"https://codeload.github.com/alexcoder04/gopandoc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fgopandoc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272267612,"owners_count":24903736,"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","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-12-16T22:50:42.350Z","updated_at":"2025-08-26T23:37:11.825Z","avatar_url":"https://github.com/alexcoder04.png","language":"Go","readme":"\n# gopandoc\n\nGo API for using the [pandoc](https://pandoc.org/) document converter.\n\n## Install\n\nFollow th installation instructions on [pandoc.org/installing.html](https://pandoc.org/installing.html).\nThen, in your project folder, run\n\n```sh\ngo get github.com/alexcoder04/gopandoc\n```\n\n## Usage\n\nUse pandoc in your go code as follows:\n\n```go\npackage main\n\nimport (\n  \"github.com/alexcoder04/gopandoc\"\n)\n\nfunc main() {\n  // convert markdown to docx\n  var inBytes []byte = ...\n  outBytes, err := gopandoc.BytesToBytes(inBytes, \"markdown\", \"docx\")\n  if err != nil {\n    ...\n  }\n  ...\n}\n```\n\nThere is also a `BytesToFile(input []byte, inFormat string, outFormat string, outputFile string)` function for directly writing the results into a file.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexcoder04%2Fgopandoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexcoder04%2Fgopandoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexcoder04%2Fgopandoc/lists"}