{"id":19945973,"url":"https://github.com/nszilard/slack","last_synced_at":"2026-05-13T20:35:10.530Z","repository":{"id":44995796,"uuid":"447749692","full_name":"nszilard/slack","owner":"nszilard","description":"Golang application to send Slack messages","archived":false,"fork":false,"pushed_at":"2022-01-17T10:39:11.000Z","size":90,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-28T14:48:21.199Z","etag":null,"topics":["go","golang","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/nszilard.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":"2022-01-13T20:55:12.000Z","updated_at":"2023-05-05T00:35:40.000Z","dependencies_parsed_at":"2022-09-02T13:10:27.483Z","dependency_job_id":null,"html_url":"https://github.com/nszilard/slack","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/nszilard/slack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nszilard%2Fslack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nszilard%2Fslack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nszilard%2Fslack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nszilard%2Fslack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nszilard","download_url":"https://codeload.github.com/nszilard/slack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nszilard%2Fslack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32999516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"ssl_error","status_checked_at":"2026-05-13T13:14:51.610Z","response_time":115,"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":["go","golang","slack"],"created_at":"2024-11-13T00:27:37.758Z","updated_at":"2026-05-13T20:35:10.499Z","avatar_url":"https://github.com/nszilard.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slack\n\n[![CI](https://github.com/nszilard/slack/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/nszilard/slack/actions/workflows/ci.yml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/nszilard/slack)](https://goreportcard.com/report/github.com/nszilard/slack)\n[![GoDoc](https://godoc.org/github.com/nszilard/slack?status.svg)](https://godoc.org/github.com/nszilard/slack)\n\n---\n\n## About\n\n`slack` is a simple CLI utility to send Slack messages based on a pre-defined templates, but it can also be used as a library.  \nInspired by the [slack-go/slack](https://github.com/slack-go/slack) project, but wanted something simpler for personal use.\n\n## Installation\n\n``` shell\ngo get -u github.com/nszilard/slack\n```\n\n## Usage\n\nIt supports both environment variables as well as flags to set values, where the latter one takes priority if the values differ.\n\n### Main command\n\n| Environment variable  | Flag                  | Description                                                                                   |\n| :---------------------|:--------------------- |:----------------------------------------------------------------------------------------------|\n| `SLACK_ORG_ID`        | `slack-org-id`        | Slack Organization ID. From the webhhok token **`Txxxxxx`**`/Bxxxxxx/xxxxxxx` the first group |\n| `SLACK_WEBHOOK_ID`    | `slack-webhook-id`    | Slack Webhhok ID. From the webhhok token `Txxxxxx/`**`Bxxxxxx`**/`xxxxxxx` the second group   |\n| `SLACK_WEBHOOK_TOKEN` | `slack-webhook-token` | Slack Webhhok token. From the webhhok token `Txxxxxx/Bxxxxxx/`**`xxxxxxx`** the third group   |\n| `SLACK_CHANNEL`       | `slack-channel`       | Slack channel name (or personal ID) to send the message to                                    |\n| `SLACK_USER`          | `slack-user`          | To specify the username for the published message.                                            |\n| `SLACK_USER_IMAGE`    | `slack-user-image`    | To specify a URL to an image to use as the profile photo alongside the message                |\n\n### Changelog command\n\n| Environment variable  | Flag                | Description                                             |\n| :---------------------|:------------------- |:--------------------------------------------------------|\n| `CHANGELOG_SERVICE`   | `changelog-service` | Name of the Git repositry or preferred service name     |\n| `CHANGELOG_VERSION`   | `changelog-version` | The new version                                         |\n| `CHANGELOG_COMMITS`   |                     | Commits which have been released with the given version |\n\n### See generated docs\n\n* [slack](docs/slack.md) - CLI to send Slack messages programmatically.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnszilard%2Fslack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnszilard%2Fslack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnszilard%2Fslack/lists"}