{"id":19730581,"url":"https://github.com/begriffs/mimedown","last_synced_at":"2025-04-30T01:32:56.986Z","repository":{"id":54273386,"uuid":"271445741","full_name":"begriffs/mimedown","owner":"begriffs","description":"markdown to multipart mime","archived":false,"fork":false,"pushed_at":"2021-02-20T22:05:07.000Z","size":105,"stargazers_count":79,"open_issues_count":9,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-04-12T19:53:23.457Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/begriffs.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":"2020-06-11T03:49:21.000Z","updated_at":"2024-03-15T12:35:28.000Z","dependencies_parsed_at":"2022-08-13T10:40:30.288Z","dependency_job_id":null,"html_url":"https://github.com/begriffs/mimedown","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/begriffs%2Fmimedown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/begriffs%2Fmimedown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/begriffs%2Fmimedown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/begriffs%2Fmimedown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/begriffs","download_url":"https://codeload.github.com/begriffs/mimedown/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224192997,"owners_count":17271238,"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":[],"created_at":"2024-11-12T00:16:51.536Z","updated_at":"2024-11-12T00:16:51.976Z","avatar_url":"https://github.com/begriffs.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Markdown to multipart MIME\n\nAnswering the age-old debate: HTML or plaintext emails? Both!\n\nWrite email in markdown, and convert to multipart MIME that works impeccably in\ngraphical and console mail clients.\n\n* Creates a conservative [ISO/IEC 15445:2000\n  HTML](https://www.iso.org/standard/27688.html) representation, which is set\n  as the preferred multipart alternative for graphical clients.\n* The text alternative is reflowed at 72 characters to look good in standard\n  console mail readers.\n* The text part also uses format=flowed, so it will shrink on narrow screens or\n  terminal splits.\n* Fenced code blocks in the markdown are added as inline attachments with the\n  appropriate MIME type. This makes them easy to download/save from the\n  message.\n* URLs are listed at the bottom of the text message in a special\n  `text/uri-list` inline attachment, and referred to with short codes like\n  `[0]`, `[1]` ... in the message text.\n\n### Installation\n\nWritten in portable C99. The only requirement is the\n[cmark](https://github.com/commonmark/cmark) library to parse markdown.\n\n```sh\n# detect cmark and set up build flags\n./configure\n# then build md2mime\nmake\n```\n\n### Usage\n\n```sh\n./md2mime sender-domain.com \u003c message.md \u003e message.email\n```\n\nThe sender domain is required to generate a good Message-ID.\n\nIf the original message starts with headers, pass `-p` to preserve them. Send\nthe message using a program like [msmtp](https://marlam.de/msmtp/):\n\n```sh\nmsmtp recipient@example.com \u003c message.email\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbegriffs%2Fmimedown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbegriffs%2Fmimedown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbegriffs%2Fmimedown/lists"}