{"id":16653564,"url":"https://github.com/norm/slack-tools","last_synced_at":"2026-04-25T00:31:17.496Z","repository":{"id":35361549,"uuid":"39624354","full_name":"norm/slack-tools","owner":"norm","description":"Tools. You know, for Slack.","archived":false,"fork":false,"pushed_at":"2015-11-29T09:09:24.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T10:32:38.115Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/norm.png","metadata":{"files":{"readme":"README.markdown","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}},"created_at":"2015-07-24T09:49:07.000Z","updated_at":"2021-04-04T08:30:43.000Z","dependencies_parsed_at":"2022-09-17T12:01:25.095Z","dependency_job_id":null,"html_url":"https://github.com/norm/slack-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norm%2Fslack-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norm%2Fslack-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norm%2Fslack-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norm%2Fslack-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/norm","download_url":"https://codeload.github.com/norm/slack-tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243266667,"owners_count":20263780,"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":[],"created_at":"2024-10-12T09:45:53.901Z","updated_at":"2025-12-29T00:19:32.995Z","avatar_url":"https://github.com/norm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Miscellaneous Slack Tools\n=========================\n\nAll written in python. You will need to have the `requests` library installed\n(`sudo pip install requests`).\n\n\n## add-github-webhook\n\nIf you don't like Slack having write access to Github in order to provide\nnotifications, use this script to easily add a webhook to your repo.\n\nUsage:\n\n    # set the env variables\n    export GITHUB_TOKEN=somethingsomethingtoken\n    export SLACK_WEBHOOK=https://hooks.slack.com/...\n\n    # add one (or more) repos...\n    python add-github-webhook norm/slack-tools norm/bash-composition\n\n    # ...or add all repos owned by the GITHUB_TOKEN's owner\n    python add-github-webhook -u\n\nAnd if you change your mind:\n\n    # delete all webhooks on one (or more) repos...\n    python add-github-webhook -d norm/slack-tools norm/bash-composition\n\n    # ...or all repos owned by the GITHUB_TOKEN's owner\n    python add-github-webhook -ud\n\n\n## pubsub-to-slack\n\nPush notifications to Slack by using redis pubsub. For when you don't\nwant your app to push information into Slack directly.\n\nListens to the namespace `chatter*`.\n\nPre-requisites:\n\n*   Have redis running.\n\n*   Install python libraries:\n\n        pip install redis requests\n\nRun the script:\n\n    export SLACK_WEBHOOK=https://hooks.slack.com/...\n    python pubsub-to-slack\n\nThen publish messages to redis:\n\n    # send plain text\n    redis-cli publish chatter 'hello world'\n\n    # send a JSON payload\n    redis-cli publish chatter '{\"text\":\"Hello\", \"username\":\"via-redis\"}'\n\n...and they should appear in Slack!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorm%2Fslack-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnorm%2Fslack-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorm%2Fslack-tools/lists"}