{"id":13707022,"url":"https://github.com/rneatherway/gh-slack","last_synced_at":"2025-09-13T07:41:59.831Z","repository":{"id":37773175,"uuid":"472890978","full_name":"rneatherway/gh-slack","owner":"rneatherway","description":"Utility for archiving a slack conversation as markdown","archived":false,"fork":false,"pushed_at":"2024-12-19T10:55:49.000Z","size":7276,"stargazers_count":157,"open_issues_count":5,"forks_count":25,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-13T17:49:21.726Z","etag":null,"topics":["gh-extension"],"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/rneatherway.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-03-22T18:33:32.000Z","updated_at":"2025-06-20T00:59:09.000Z","dependencies_parsed_at":"2023-12-07T11:40:56.980Z","dependency_job_id":"2b9ccf2d-6881-49ea-8d80-2354e27595fa","html_url":"https://github.com/rneatherway/gh-slack","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/rneatherway/gh-slack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rneatherway%2Fgh-slack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rneatherway%2Fgh-slack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rneatherway%2Fgh-slack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rneatherway%2Fgh-slack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rneatherway","download_url":"https://codeload.github.com/rneatherway/gh-slack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rneatherway%2Fgh-slack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274935946,"owners_count":25376832,"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","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"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":["gh-extension"],"created_at":"2024-08-02T22:01:15.604Z","updated_at":"2025-09-13T07:41:59.807Z","avatar_url":"https://github.com/rneatherway.png","language":"Go","funding_links":[],"categories":["🧩 Categories","Go"],"sub_categories":["Miscellaneous"],"readme":"# gh-slack\n\n[![CI](https://github.com/rneatherway/gh-slack/actions/workflows/ci.yml/badge.svg)](https://github.com/rneatherway/gh-slack/actions/workflows/ci.yml) [![Release](https://github.com/rneatherway/gh-slack/actions/workflows/release.yml/badge.svg)](https://github.com/rneatherway/gh-slack/actions/workflows/release.yml)\n\nThis project provides a means of archiving a Slack conversation or thread as markdown. For convenience it is installable as a [`gh`](https://github.com/cli/cli) [extension]([url](https://cli.github.com/manual/gh_extension)).\n\n## Installation\n\n    gh extension install https://github.com/rneatherway/gh-slack\n\n## Upgrading\n\n    gh extension upgrade gh-slack\n\n## Usage\n\n```\nUsage:\n  gh-slack [command]\n\n  If no command is specified, the default is \"read\". The default command also requires a permalink argument \u003cSTART\u003e for the first message to fetch.\n  Use \"gh-slack read --help\" for more information about the default command behaviour.\n\nExamples:\n  gh-slack --details --issue \u003cissue-url\u003e \u003cslack-permalink\u003e  # defaults to read command\n  gh-slack read \u003cslack-permalink\u003e\n  gh-slack read -i \u003cissue-url\u003e \u003cslack-permalink\u003e\n  gh-slack send -m \u003cmessage\u003e -c \u003cchannel-name\u003e -t \u003cteam-name\u003e\n  gh-slack api post chat.postMessage -b '{\"channel\":\"123\",\"blocks\":[...]}\n  eval $(gh-slack auth -t \u003cteam-name\u003e)\n  \n  # Example configuration (add to gh's configuration file at $HOME/.config/gh/config.yml):\n  extensions:\n    slack:\n      team: foo\n      channel: ops\n      bot: robot        # Can be a user id (most reliable), bot profile name or username\n\nAvailable Commands:\n  api         Send an API call to slack\n  auth        Prints authentication information for the Slack API (treat output as secret)\n  completion  Generate the autocompletion script for the specified shell\n  help        Help about any command\n  read        Reads a Slack channel and outputs the messages as markdown\n  send        Sends a message to a Slack channel\n\nFlags:\n  -h, --help      help for gh-slack\n  -v, --verbose   Show verbose debug information\n\nUse \"gh-slack [command] --help\" for more information about a command.\n```\n\n## Configuration\n\nThe `send` subcommand supports storing default values for the `team`, `bot` and\n`channel` required parameters in gh's own configuration file using a block like:\n\n```yaml\nextensions:\n  slack:\n    team: foo\n    channel: ops\n    bot: robot        # Can be a user id (most reliable), bot profile name or username\n```\n\nThis is particularly useful if you want to use the `send` subcommand to interact\nwith a bot serving chatops in a standard operations channel.\n\n## Limitations\n\nMany and varied, but at least:\n\n* No paging is used when fetching messages, so if the conversation is too long the output will be truncated.\n\n## Development\n\nTo release a new version, simply tag it. The `goreleaser` workflow will take care of the rest. E.g:\n\n    git tag 0.0.6\n    git push origin 0.0.6\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frneatherway%2Fgh-slack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frneatherway%2Fgh-slack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frneatherway%2Fgh-slack/lists"}