{"id":19151456,"url":"https://github.com/sc5/sns2slack","last_synced_at":"2025-10-11T14:16:58.662Z","repository":{"id":151513705,"uuid":"44008444","full_name":"SC5/sns2slack","owner":"SC5","description":"Push SNS topic notifications to slack","archived":false,"fork":false,"pushed_at":"2017-04-15T09:05:23.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-11T14:16:58.177Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/SC5.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}},"created_at":"2015-10-10T11:44:43.000Z","updated_at":"2017-04-15T08:53:48.000Z","dependencies_parsed_at":"2023-05-18T20:00:34.405Z","dependency_job_id":null,"html_url":"https://github.com/SC5/sns2slack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SC5/sns2slack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SC5%2Fsns2slack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SC5%2Fsns2slack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SC5%2Fsns2slack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SC5%2Fsns2slack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SC5","download_url":"https://codeload.github.com/SC5/sns2slack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SC5%2Fsns2slack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007501,"owners_count":26084313,"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-10-11T02:00:06.511Z","response_time":55,"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":[],"created_at":"2024-11-09T08:14:45.389Z","updated_at":"2025-10-11T14:16:58.648Z","avatar_url":"https://github.com/SC5.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS SNS to Slack gateway\n\nAn AWS Lambda function that publishes posts to Slack based on AWS SNS messages\n\n## Installation\n\n### Pre-requisites\n\nServerless Framework 1.5 or later.\n\n### Setup\n\nClone the project to your environment\n\n    \u003e git clone https://github.com/SC5/sns2slack.git \n\nCopy the config template (src/config_template.json) to src/config.json. Set the slack channel and tokens to match your environment.\n\nInstall dependencies and deploy to AWS\n\n    \u003e npm install\n    \u003e sls deploy\n\n## Using the Lambda function\n\nThe function for posting to Slack is invoked by sending a message to the SNS topic. The message is a JSON object that has been stringified (message has to be a string). The JSON format is:\n\n    {\n        \"channel\": \"-SLACK CHANNEL NAME-\",\n        \"message\": \"-YOUR MESSAGE (TEXT)-\",\n        \"iconEmoji\": \"-EMOJI TO USE IF ANY-\",\n        \"senderName\": \"-YOUR-NAME-HERE-\",\n        \"attachments\": [\n            {\n                \"title\" : \"-FIRST-ATTACHMENT-TITLE-\",\n                \"text\" : \"-FIRST-ATTACHMENT-TEXT-\"\n            },\n            ...\n        ]\n    } \n\n\n\n## Release History\n\n* 2017/04/15 - v1.0.0 - Port to Serverless Framework\n* 2015/10/10 - v0.9.0 - Initial version of SNS 2 Slack gateway\n\n\n## License\n\nCopyright (c) 2017 [SC5](http://sc5.io/), licensed for users and contributors under MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsc5%2Fsns2slack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsc5%2Fsns2slack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsc5%2Fsns2slack/lists"}