{"id":24269822,"url":"https://github.com/pteich/slackstatus","last_synced_at":"2025-09-24T08:31:36.584Z","repository":{"id":57493816,"uuid":"74143773","full_name":"pteich/slackstatus","owner":"pteich","description":" 🎉 Simple CLI tool and Go library to post formatted status messages to a Slack channel / Go Slack Client","archived":false,"fork":false,"pushed_at":"2021-07-15T13:44:10.000Z","size":106,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-19T13:45:49.564Z","etag":null,"topics":["cli","go","slack"],"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/pteich.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"github"}},"created_at":"2016-11-18T15:50:08.000Z","updated_at":"2023-10-09T13:27:22.000Z","dependencies_parsed_at":"2022-09-02T01:40:11.694Z","dependency_job_id":null,"html_url":"https://github.com/pteich/slackstatus","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fslackstatus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fslackstatus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fslackstatus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fslackstatus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pteich","download_url":"https://codeload.github.com/pteich/slackstatus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234058841,"owners_count":18772996,"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":["cli","go","slack"],"created_at":"2025-01-15T15:08:22.632Z","updated_at":"2025-09-24T08:31:36.247Z","avatar_url":"https://github.com/pteich.png","language":"Go","funding_links":["https://github.com/sponsors/github"],"categories":[],"sub_categories":[],"readme":"# slackstatus [![GoDoc](https://godoc.org/github.com/pteich/slackstatus?status.svg)](https://godoc.org/github.com/pteich/slackstatus)\nSimple CLI tool and Go library to post formatted status messages to a Slack channel :tada:\n\n![Slackstatus in Action](./slackstatus-example.png)\n\n## Usage as CLI tool\n\nSlackstatus is available as pre-built binaries for macOS, Linux, FreeBSD and Windows on the [release page](https://github.com/pteich/slackstatus/releases).\n\n```shell\nslackstatus \"message body\" --webhook=https://hooks.slack.com/services/XXXX --color=good --chanel=status --user=slackstatus --footer=\"V1.0.0\" --iconemoji=\":monkey_face:\"\n```\n\nYou can also pipe your message text from another output:\n```shell\necho \"message text\" | slackstatus --color=good\n```\n\nAll flag values can also be pre-set in a config file `.slackstatus.yml` in the current directory or in your `$HOME` like so:\n```yaml\nwebhook: https://hooks.slack.com/services/XXXX\nuser: slackstatus\nchannel: status\nfooter: V1.0.0\niconemoji: :monkey_face:\n```\n\nIt is also possible to provide a specific path to your config file as `--config=/path/to/config`.\n\nGet help on all available flags:\n```shell\nslackstatus --help\n```\n\n## Usage as Go library\n```go\npackage main\n\nimport \"github.com/pteich/slackstatus\"\n\nvar slackmsg = slackstatus.Message{\n\tWebhookURL: \"https://hooks.slack.com/services/XXXX\",\n\tUsername: \"slackstatus\",\n\tChannel: \"#status\",\n\tIconEmoji: \":monkey_face:\",\n\tFooter: \"Version 1.0.0\",\n}\n\nfunc main() {\n\n\tslackmsg.Send(\"Hello Slackstatus! Everything works fine.\", slackstatus.ColorGood)\n\tslackmsg.Send(\"Oh crap, something went wrong!\", slackstatus.ColorWarning)\n\tslackmsg.Send(\"Damn, we are in serious trouble!\", slackstatus.ColorDanger)\n\tslackmsg.Send(\"Ok.\", \"#439FE0\")\n  \n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpteich%2Fslackstatus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpteich%2Fslackstatus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpteich%2Fslackstatus/lists"}