{"id":17487548,"url":"https://github.com/tchiotludo/slack2hangoutschat-webhook","last_synced_at":"2025-04-22T16:49:21.507Z","repository":{"id":33278711,"uuid":"156088383","full_name":"tchiotludo/slack2hangoutschat-webhook","owner":"tchiotludo","description":"Slack 2 Google HangoutChat webhook converter","archived":false,"fork":false,"pushed_at":"2023-01-04T21:37:32.000Z","size":1739,"stargazers_count":9,"open_issues_count":16,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-17T07:17:03.144Z","etag":null,"topics":["google-chat","hangouts-chat","slack","slack-webhook","webhook"],"latest_commit_sha":null,"homepage":"slack2hangoutschat-webhook-tchiotludo.vercel.app","language":"TypeScript","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/tchiotludo.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":"2018-11-04T14:05:00.000Z","updated_at":"2021-03-25T20:15:30.000Z","dependencies_parsed_at":"2023-01-15T00:20:08.912Z","dependency_job_id":null,"html_url":"https://github.com/tchiotludo/slack2hangoutschat-webhook","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/tchiotludo%2Fslack2hangoutschat-webhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tchiotludo%2Fslack2hangoutschat-webhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tchiotludo%2Fslack2hangoutschat-webhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tchiotludo%2Fslack2hangoutschat-webhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tchiotludo","download_url":"https://codeload.github.com/tchiotludo/slack2hangoutschat-webhook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250282083,"owners_count":21404919,"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":["google-chat","hangouts-chat","slack","slack-webhook","webhook"],"created_at":"2024-10-19T03:05:02.249Z","updated_at":"2025-04-22T16:49:21.465Z","avatar_url":"https://github.com/tchiotludo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slack2hangoutschat-webhook\n\u003e Slack 2 Google HangoutChat webhook converter\n\n[![license](https://img.shields.io/github/license/tchiotludo/slack2hangoutschat-webhook.svg?maxAge=2592000\u0026style=flat-square)](https://github.com/tchiotludo/slack2hangoutschat-webhook/blob/master/LICENSE)\n[![npm](https://img.shields.io/npm/v/slack2hangoutschat-webhook.svg?maxAge=2592000?style=flat-square)](https://www.npmjs.com/package/slack2hangoutschat-webhook)\n[![Dependency Status](https://david-dm.org/tchiotludo/slack2hangoutschat-webhook.svg?style=flat-square)](https://david-dm.org/tchiotludo/slack2hangoutschat-webhook)\n[![devDependency Status](https://david-dm.org/tchiotludo/slack2hangoutschat-webhook/dev-status.svg?style=flat-square)](https://david-dm.org/tchiotludo/slack2hangoutschat-webhook#info=devDependencies)\n\nThis project convert and forward all incoming Slack webhook to Hangouts chat.\nIn an opinionated way, it expose a webserver to that will proxy Slack webhook to Google chat Api.\n\n## Online demo\nhttps://slack2hangouts-chat.now.sh/\n\n## Installation\n\n### Docker\n\n```sh\ndocker run -d \\\n    -p 3000:3000 \\\n    tchiotludo/slack2hangoutschat-webhook\n```\n\nGo to http://localhost:3000 for instruction\n\n### Local\n\n```bash\ngit clone https://github.com/tchiotludo/slack2hangoutschat-webhook\ncd slack2hangoutschat-webhook\nnpm install\nnpm run watch # for dev with watch\nnpm run build \u0026\u0026 NODE_ENV=\"production\" npm run start # build and start\n```\n\nGo to http://localhost:3000 for instruction\n\n### Azure App\n\n* Create a Http Trigger\n* `npm install slack2hangoutschat-webhook`\n* update to index.js with this content\n```js\nconst webhook = require('slack2hangoutschat-webhook/dist/webhook');\nmodule.exports = webhook.Webhook.azure\n```\n* Deploy to azure\n\n## Api Usage\n```bash\nnpm install slack2hangoutschat-webhook\n```\n\n```js\nimport { Converter } from \"slack2hangoutschat-webhook\";\n\nconsole.log(Converter.convert({{\n   \"attachments\": [\n       {\n           \"fallback\": \"Required plain-text summary of the attachment.\",\n           \"color\": \"#36a64f\",\n           \"pretext\": \"Optional text that appears above the attachment block\",\n           \"author_name\": \"Bobby Tables\",\n           \"author_link\": \"https://gsuite.google.com/products/chat/\",\n           \"author_icon\": \"https://www.gstatic.com/images/branding/product/2x/chat_64dp.png\",\n           \"title\": \"Slack API Documentation\",\n           \"title_link\": \"https://api.slack.com/\",\n           \"text\": \"Optional text that appears within the attachment\",\n           \"fields\": [\n               {\n                   \"title\": \"Priority\",\n                   \"value\": \"High\",\n                   \"short\": false\n               }\n           ],\n           \"image_url\": \"https://assets.brandfolder.com/oox8px-b08c7c-5m1qjd/original/full-color-mark%202x.png\",\n           \"thumb_url\": \"https://assets.brandfolder.com/oox90q-9q2cew-bw1vdr/view.png\",\n           \"footer\": \"Slack API\",\n           \"footer_icon\": \"https://platform.slack-edge.com/img/default_application_icon.png\",\n           \"ts\": 123456789\n       }\n   ]\n})\n```\n\n\n## License\nMIT © [tchiotludo](https://github.com/tchiotludo)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftchiotludo%2Fslack2hangoutschat-webhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftchiotludo%2Fslack2hangoutschat-webhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftchiotludo%2Fslack2hangoutschat-webhook/lists"}