{"id":45719495,"url":"https://github.com/cauethenorio/slackfmt","last_synced_at":"2026-04-03T00:37:46.276Z","repository":{"id":340446847,"uuid":"1166016928","full_name":"cauethenorio/slackfmt","owner":"cauethenorio","description":"Format and copy content to paste into Slack with styles preserved","archived":false,"fork":false,"pushed_at":"2026-02-25T05:13:24.000Z","size":138,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-25T08:46:38.486Z","etag":null,"topics":["clipboard","markdown","rich-text","slack","style"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cauethenorio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2026-02-24T19:42:14.000Z","updated_at":"2026-02-25T05:12:39.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cauethenorio/slackfmt","commit_stats":null,"previous_names":["cauethenorio/slackfmt"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/cauethenorio/slackfmt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cauethenorio%2Fslackfmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cauethenorio%2Fslackfmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cauethenorio%2Fslackfmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cauethenorio%2Fslackfmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cauethenorio","download_url":"https://codeload.github.com/cauethenorio/slackfmt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cauethenorio%2Fslackfmt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30209415,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T05:23:27.321Z","status":"ssl_error","status_checked_at":"2026-03-07T05:00:17.256Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["clipboard","markdown","rich-text","slack","style"],"created_at":"2026-02-25T05:31:06.769Z","updated_at":"2026-03-07T07:02:08.280Z","avatar_url":"https://github.com/cauethenorio.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# #slackfmt\n\n### Because life's too short to reformat links and lists in Slack\n\nYou know the drill: You spend 5 minutes crafting, or prompting, a perfectly formatted message: nested lists, labeled links,\ncode blocks, and paste it into Slack.\n\nSlack looks at your formatting, says \"lol no\", and turns it into a wall of plain text with some random asterisks.\n\n`slackfmt` fixes this. It converts your Markdown (or HTML) into Slack's native rich text clipboard format, so when you paste,\neverything comes through exactly as you wrote it: **bold**, _italic_, `code`, [links](https://actually-work.com), nested lists, blockquotes, all of it.\n\n| Pasted directly | Pasted with slackfmt |\n| --- | --- |\n| ![before](.github/before.png) | ![after](.github/after.png) |\n\n## Quick start\n\n### Web\n\nPaste your Markdown at **[slackfmt.labs.caue.dev](https://slackfmt.labs.caue.dev)**, hit Copy, paste into Slack. Done.\n\n### CLI\n\n```sh\n# pipe it\necho \"**bold** and _italic_\" | npx @slackfmt/cli@latest\n\n# from a file\ncat meeting-notes.md | npx @slackfmt/cli@latest\n\n# html too\nnpx @slackfmt/cli@latest -f html \u003c page.html\n```\n\nCopies to clipboard by default. Use `--stdout` to print instead.\n\nSupported formats (`-f`): `markdown` (default), `html`, `slack-html`, `quill-delta`.\n\n### AI agent skill\n\nGive your AI agent the power to format for Slack:\n\n```sh\nnpx skills add https://github.com/cauethenorio/slackfmt --skill slackfmt\n```\n\nWorks with [Claude Code](https://docs.anthropic.com/en/docs/claude-code) and other agents. Ask it to \"format X for Slack\" and it pipes content through slackfmt automatically.\n\n## How does this even work?\n\nSlack's compose bar is secretly a [Quill](https://quilljs.com/) editor. When you paste, Slack doesn't just read plain text. It looks for a `slack/texty` entry hidden inside a Chromium custom MIME type (`org.chromium.web-custom-data`) on your clipboard.\n\nslackfmt exploits this by:\n\n1. Converting your input to [Quill Delta](https://quilljs.com/docs/delta/) JSON\n2. Packing the Delta into a [Chromium Pickle](https://source.chromium.org/chromium/chromium/src/+/main:base/pickle.h) binary blob tagged as `slack/texty`\n3. Writing it to the system clipboard via a native Rust addon\n\nWhen you paste, Slack reads the custom data and thinks you're pasting from Slack itself. Bold, italic, nested lists, code blocks, links, blockquotes, all come through intact.\n\nYes, it's a hack. A beautiful, beautiful hack.\n\n## Packages\n\n| Package | Description |\n| --- | --- |\n| [@slackfmt/core](packages/core) | Markdown/HTML to Quill Delta conversion engine |\n| [@slackfmt/cli](packages/cli) | Command-line interface with clipboard integration |\n| [@slackfmt/clipboard](packages/clipboard) | Native clipboard writer (Rust) |\n| [@slackfmt/web](packages/web) | Browser-based editor with live preview |\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcauethenorio%2Fslackfmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcauethenorio%2Fslackfmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcauethenorio%2Fslackfmt/lists"}