{"id":31565478,"url":"https://github.com/magifd2/md-to-slack-go","last_synced_at":"2026-05-09T02:31:28.765Z","repository":{"id":309995572,"uuid":"1038311141","full_name":"magifd2/md-to-slack-go","owner":"magifd2","description":"A Go application that converts Markdown content into Slack Block Kit JSON, providing a structured representation for rich Slack messages.","archived":false,"fork":false,"pushed_at":"2025-08-19T22:30:06.000Z","size":4521,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-08T23:39:12.725Z","etag":null,"topics":["block-kit","cli","converter","go","golang","markdown","slack","utility"],"latest_commit_sha":null,"homepage":"","language":"Go","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/magifd2.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}},"created_at":"2025-08-15T01:10:22.000Z","updated_at":"2025-09-30T14:08:56.000Z","dependencies_parsed_at":"2025-08-15T03:32:18.723Z","dependency_job_id":"aa0622f8-fd85-46a7-95db-3a6dfc3ee919","html_url":"https://github.com/magifd2/md-to-slack-go","commit_stats":null,"previous_names":["magifd2/md-to-slack-go"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/magifd2/md-to-slack-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magifd2%2Fmd-to-slack-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magifd2%2Fmd-to-slack-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magifd2%2Fmd-to-slack-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magifd2%2Fmd-to-slack-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magifd2","download_url":"https://codeload.github.com/magifd2/md-to-slack-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magifd2%2Fmd-to-slack-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32804888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["block-kit","cli","converter","go","golang","markdown","slack","utility"],"created_at":"2025-10-05T07:08:01.896Z","updated_at":"2026-05-09T02:31:28.758Z","avatar_url":"https://github.com/magifd2.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# md-to-slack-go\n\nA CLI tool to convert Markdown to Slack Block Kit JSON.\nThis is a Go port of [github.com/magifd2/md-to-slack](https://github.com/magifd2/md-to-slack).\n\n## Features\n\nConverts the following Markdown elements to Slack Block Kit blocks:\n\n- Headings (`# H1`, `## H2`) are converted to `header` blocks.\n- Other headings (`### H3`, etc.) are converted to `section` blocks with bold text.\n- Paragraphs are converted to `section` blocks.\n- Blockquotes are converted to `section` blocks with quote formatting.\n- Fenced code blocks are converted to `section` blocks with formatted code.\n- Thematic breaks (horizontal rules) are converted to `divider` blocks.\n- GFM Tables are converted to `table` blocks.\n- Inline formatting (bold, italic, strikethrough, code, links) is preserved as `mrkdwn`.\n\n## Installation\n\nClone the repository from GitHub and build it using `make`.\n\n```bash\ngit clone https://github.com/magifd2/md-to-slack-go.git\ncd md-to-slack-go\nmake build\n```\n\nThe binary will be available in the `bin/` directory.\nYou can also install it to `/usr/local/bin` (default) by running:\n```bash\nmake install\n```\n\nAlternatively, you can download a pre-compiled binary for your OS from the [GitHub Releases](https://github.com/magifd2/md-to-slack-go/releases) page.\n\n## Usage\n\n### From a file\n\n```bash\nmd-to-slack \u003cpath/to/your/file.md\u003e\n```\n\n### From standard input\n\n```bash\ncat file.md | md-to-slack\n```\n\n### Options\n\n```\n-version  Print version and exit\n```\n\n## Development\n\nThis project uses `make` for common development tasks.\n\n- `make build`: Build the binary for your current OS and architecture.\n- `make test`: Run tests.\n- `make lint`: Run the linter.\n- `make cross-compile`: Build for all target platforms (macOS, Linux, Windows).\n- `make clean`: Clean up build artifacts.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Acknowledgements\n\nThe implementation of the Markdown to Slack Block Kit conversion was greatly inspired by the insights from the following Qiita article.\n\n- [MarkdownをSlackのBlock Kitに変換する](https://qiita.com/yhatt/items/ebe892f341ce03d6d23f)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagifd2%2Fmd-to-slack-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagifd2%2Fmd-to-slack-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagifd2%2Fmd-to-slack-go/lists"}