{"id":50722692,"url":"https://github.com/continuous-foundation/doc-convert","last_synced_at":"2026-06-10T01:30:55.536Z","repository":{"id":362072692,"uuid":"936284459","full_name":"continuous-foundation/doc-convert","owner":"continuous-foundation","description":"Utilities for working with Docx and converting, written in Node and Typescript.","archived":false,"fork":false,"pushed_at":"2026-06-02T12:28:00.000Z","size":97,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-06-02T14:08:29.861Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/continuous-foundation.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-20T20:39:37.000Z","updated_at":"2026-06-02T12:28:40.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/continuous-foundation/doc-convert","commit_stats":null,"previous_names":["continuous-foundation/doc-convert"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/continuous-foundation/doc-convert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/continuous-foundation%2Fdoc-convert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/continuous-foundation%2Fdoc-convert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/continuous-foundation%2Fdoc-convert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/continuous-foundation%2Fdoc-convert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/continuous-foundation","download_url":"https://codeload.github.com/continuous-foundation/doc-convert/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/continuous-foundation%2Fdoc-convert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34133404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"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":"2026-06-10T01:30:54.997Z","updated_at":"2026-06-10T01:30:55.531Z","avatar_url":"https://github.com/continuous-foundation.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `doc-convert` Command Line Tool\n\nConvert Word (`.docx`) manuscripts into [MyST](https://mystmd.org/) projects suitable for JDH publishing — structured `myst.yml`, `article.md`, extracted figures, citations, and author metadata.\n\nThe CLI runs a fixed pipeline (Pandoc → cleanup → figures/tables/crossrefs → citations → ROR enrichment). Example inputs for this monorepo live under [../docx-examples/](../docx-examples/); conversion quality is tracked in [../gap-analysis/](../gap-analysis/).\n\n## Install\n\nYou need [Bun](https://bun.sh/) and [Pandoc](https://pandoc.org/installing.html) on your `PATH`.\n\n```bash\ncd doc-convert\nbun install\nbun run build\n```\n\nOptional: link the CLI globally (`bun link` after build).\n\n## Quick start\n\nConvert one manuscript (writes to `_improved/` under the project root):\n\n```bash\nbun src/index.ts path/to/manuscript.docx --project-root path/to/project --workdir _improved\n```\n\nFrom the monorepo root, run all bundled examples:\n\n```bash\n../scripts/convert-docx-examples.sh\n```\n\nList all 13 pipeline steps with planned `[run]` / `[skip]` / `[warn-skip]` dispositions (no workdir, no Pandoc):\n\n```bash\nbun src/index.ts path/to/manuscript.docx --list-steps\n```\n\nOptional per-directory pipeline config — run from the project directory where you convert:\n\n```bash\ncd path/to/project\nbun ../../doc-convert/src/index.ts configure\nbun ../../doc-convert/src/index.ts manuscript.docx --list-steps   # preview after edits\n```\n\n## Documentation\n\nFull author guide, CLI reference, and pipeline details: **[docs/](docs/)** ([guide](docs/guide/index.md), [reference](docs/reference/cli.md)).\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n\n\n\u003cp style=\"text-align: center; color: #aaa; padding-top: 50px\"\u003e\n  Made with love by\n  \u003ca href=\"https://continuous.foundation\" target=\"_blank\" style=\"color: #aaa\"\u003e\n    Continuous Science Foundation \u003cimg src=\"https://cdn.curvenote.com/static/site/csf/icon.svg\" style=\"height: 1em\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontinuous-foundation%2Fdoc-convert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontinuous-foundation%2Fdoc-convert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontinuous-foundation%2Fdoc-convert/lists"}