{"id":16687340,"url":"https://github.com/erdomke/rtfpipe","last_synced_at":"2026-01-26T12:36:04.078Z","repository":{"id":15602932,"uuid":"78475788","full_name":"erdomke/RtfPipe","owner":"erdomke","description":"Library for processing rich-text format (RTF) streams","archived":false,"fork":false,"pushed_at":"2022-12-21T15:23:13.000Z","size":3371,"stargazers_count":126,"open_issues_count":36,"forks_count":48,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-02-20T13:40:04.242Z","etag":null,"topics":["html","parser","rtf"],"latest_commit_sha":null,"homepage":null,"language":"Rich Text Format","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/erdomke.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":"2017-01-09T22:39:12.000Z","updated_at":"2025-01-31T07:04:30.000Z","dependencies_parsed_at":"2023-01-13T18:30:24.989Z","dependency_job_id":null,"html_url":"https://github.com/erdomke/RtfPipe","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdomke%2FRtfPipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdomke%2FRtfPipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdomke%2FRtfPipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdomke%2FRtfPipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erdomke","download_url":"https://codeload.github.com/erdomke/RtfPipe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243440038,"owners_count":20291215,"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":["html","parser","rtf"],"created_at":"2024-10-12T15:08:50.781Z","updated_at":"2026-01-26T12:36:04.048Z","avatar_url":"https://github.com/erdomke.png","language":"Rich Text Format","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RtfPipe\n\nRtfPipe is a .NET library for parsing [Rich Text Format (RTF)](https://www.microsoft.com/en-us/download/details.aspx?id=10725) \nstreams and converting them to HTML.  While initially adapted from the work started by \n[Jani Giannoudis](https://www.codeproject.com/Articles/27431/Writing-Your-Own-RTF-Converter), it has\nbeen completely rewritten to support more features. When combined with the \n[BracketPipe](https://github.com/erdomke/BracketPipe/) library, this library\ncan also be used to convert RTF streams to various text format such as Markdown and Textile.\n\n## Usage\n\nBelow is a simple example of converting an RTF string to an HTML string. \n\n\u003e NOTE: When using this in .Net Core, be sure to include the NuGet package `System.Text.Encoding.CodePages`.\n\u003e Also call the line marked in the region before calling any functions in the library.\n\n```csharp\n#if NETCORE\n  // Add a reference to the NuGet package System.Text.Encoding.CodePages for .Net core only\n  Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);\n#endif\nvar html = Rtf.ToHtml(rtf);\n```\n\n## Installing via NuGet\n\n[![NuGet version](https://badge.fury.io/nu/RtfPipe.svg)](https://www.nuget.org/packages/RtfPipe)\n\n    Install-Package RtfPipe\n    \n## Building\n\nRun `build.ps1` from the root of the project to build it.  The NuGet package will be output to the\n`artifacts` directory.\n\n## RTF Support\n\nThis library attempts to support the core RTF features documented in the \n[RTF Specification 1.9.1](https://www.microsoft.com/en-us/download/details.aspx?id=10725). These \nfeatures include:\n\n- Character formatting (bold, italics, color, ...)\n- Tables (including nested tables)\n- Lists\n- Hyperlinks\n- Pictures\n- Heading levels\n- HTML encapsulation (e.g. as performed by Outlook)\n\nWith that said, there are numerous cases for non-trivial documents where the library will not \nproduce the \"correct\" visual representation when compared to other RTF readers (such as MS Word).\n\n## .Net Targets\n\nThe NuGet package can be used with the following .Net targets\n\n- .Net 3.5+\n- .Net Standard 2.0+","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferdomke%2Frtfpipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferdomke%2Frtfpipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferdomke%2Frtfpipe/lists"}