{"id":17125473,"url":"https://github.com/ijzerenhein/rtftohtml","last_synced_at":"2025-04-13T06:15:33.953Z","repository":{"id":36889098,"uuid":"41196093","full_name":"IjzerenHein/rtfToHtml","owner":"IjzerenHein","description":"Parse RTF and write output as an HTML file (written specifically for InDesign generated RTF, but works for any source)","archived":false,"fork":false,"pushed_at":"2018-11-16T08:08:26.000Z","size":32,"stargazers_count":22,"open_issues_count":1,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-13T06:15:30.824Z","etag":null,"topics":["converts-rtf","html","in-design","indesign2html","indesigntohtml","parser","rtf","rtf2html","rtftohtml"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/IjzerenHein.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}},"created_at":"2015-08-22T07:24:26.000Z","updated_at":"2024-09-08T04:42:02.000Z","dependencies_parsed_at":"2022-09-01T03:11:18.763Z","dependency_job_id":null,"html_url":"https://github.com/IjzerenHein/rtfToHtml","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IjzerenHein%2FrtfToHtml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IjzerenHein%2FrtfToHtml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IjzerenHein%2FrtfToHtml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IjzerenHein%2FrtfToHtml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IjzerenHein","download_url":"https://codeload.github.com/IjzerenHein/rtfToHtml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248670434,"owners_count":21142904,"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":["converts-rtf","html","in-design","indesign2html","indesigntohtml","parser","rtf","rtf2html","rtftohtml"],"created_at":"2024-10-14T18:44:59.268Z","updated_at":"2025-04-13T06:15:33.933Z","avatar_url":"https://github.com/IjzerenHein.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rtfToHtml\n\nConverts RTF files into HTML.\n\nThis tool has been developed to convert RTF output from Adobe InDesign into\n(almost) pixel perfect formatted HTML output.\n\nIt supports the following features:\n- newline (/par)\n- tabs (/tab)\n- right-aligned tabs (/tqr)\n- tab-stops (/tx)\n- left-indent (/li)\n- colors (/colortbl, /red, /blue, /green, /cf)\n- font-names (/fonttbl)\n- font-size (/fs)\n- bold (/b)\n- italic (/i)\n- text-alignment (/gl, /gc, /gr)\n- paper size (/paperw, /paperh)\n- margins (/margl, /margr, /margt, /margb)\n\n\nThe program itself consists of two parts:\n- A parser (converts RTF into a JSON data-structure)\n- A formatter (currently only HTML output is supported)\n\n\nBoth can be easily extended to add new features and handling of additional RTF control codes.\n\n\n## Command line options\n\n```\nUsage: rtfToHtml [options] rtfFile htmlFile\n\n  Options:\n\n    -h, --help                             output usage information\n    -V, --version                          output the version number\n    -m, --margins [top,right,left,bottom]  Override margins (twips)\n    -w, --width [width]                    Override paperwidth (twips)\n    -h, --height [height]                  Override paperheight (twips)\n    -va, --vertalign [align]               \"top\", \"center\", \"bottom\"\n```\n\n\n## Contribute\n\nIf you like this project and want to support it, show some love\nand give it a star.\n\n\n© 2015 Hein Rutjes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fijzerenhein%2Frtftohtml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fijzerenhein%2Frtftohtml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fijzerenhein%2Frtftohtml/lists"}