{"id":25011771,"url":"https://github.com/starfish719/github-to-slack-notification","last_synced_at":"2025-04-12T20:14:02.189Z","repository":{"id":39030144,"uuid":"234020860","full_name":"starfish719/github-to-slack-notification","owner":"starfish719","description":"Send notification to Slack from GitHub and convert mentions.","archived":false,"fork":false,"pushed_at":"2024-07-01T08:48:10.000Z","size":1254,"stargazers_count":10,"open_issues_count":11,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T20:13:54.738Z","etag":null,"topics":["api-gateway","lambda-script","nodejs","slack","webhook"],"latest_commit_sha":null,"homepage":"","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/starfish719.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":"2020-01-15T07:12:30.000Z","updated_at":"2024-07-01T09:55:01.000Z","dependencies_parsed_at":"2023-02-17T10:25:25.853Z","dependency_job_id":null,"html_url":"https://github.com/starfish719/github-to-slack-notification","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starfish719%2Fgithub-to-slack-notification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starfish719%2Fgithub-to-slack-notification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starfish719%2Fgithub-to-slack-notification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starfish719%2Fgithub-to-slack-notification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/starfish719","download_url":"https://codeload.github.com/starfish719/github-to-slack-notification/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248625517,"owners_count":21135514,"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":["api-gateway","lambda-script","nodejs","slack","webhook"],"created_at":"2025-02-05T05:39:20.564Z","updated_at":"2025-04-12T20:14:02.147Z","avatar_url":"https://github.com/starfish719.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-to-slack-notification\n\n## About\nNotification script from github to slack\n\nConvert github mentions to slack mentions\n\n## Development\n- `npm ci`\n- `npm run test`\n\n## Commit\n- `npm run commit`\n\n## Setting\n### Create slack app\n- Access to https://api.slack.com\n- Create new app\n- Set permission `chat:write:bot`\n- Remember the OAuth Access Token\n  - Use OAuth Access Token when you make a Lambda Script\n\n### Create Lambda Script\n- Create a AWS Lambda Script\n  - Use Node.js\n  - Trigger is AWS API Gateway\n- Copy to index.js and common.js\n- Create mapping.json\n  - From github_id to slack_id\n- Setting ENV Vals\n  - API_TOKEN\n    - OAuth Access Token\n  - CHANNEL_ID\n    - Notification slack channel id\n\n### Setting Webhook\n- Create GitHub repository Webhook setting\n  - Payload URL\n    - URL of API Gateway\n  - Content type\n    - application/json\n  - SSL verification\n    - Enable SSL verification\n  - Which events would you like to trigger this webhook?\n    - Send me everything.\n  - Active\n    - Check it\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarfish719%2Fgithub-to-slack-notification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstarfish719%2Fgithub-to-slack-notification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarfish719%2Fgithub-to-slack-notification/lists"}