{"id":22944325,"url":"https://github.com/eladkehat/lipwig","last_synced_at":"2026-05-10T16:39:50.946Z","repository":{"id":141005990,"uuid":"178545781","full_name":"eladkehat/lipwig","owner":"eladkehat","description":"AWS SAM/Lambda application that posts SNS messages to external services","archived":false,"fork":false,"pushed_at":"2019-04-02T19:08:24.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-19T21:55:22.893Z","etag":null,"topics":["aws-lambda","aws-sns","logging","slack"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/eladkehat.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":"2019-03-30T10:45:58.000Z","updated_at":"2019-04-02T19:12:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"c94a3a60-221f-49dd-9168-ac0460bfec3d","html_url":"https://github.com/eladkehat/lipwig","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/eladkehat/lipwig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eladkehat%2Flipwig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eladkehat%2Flipwig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eladkehat%2Flipwig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eladkehat%2Flipwig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eladkehat","download_url":"https://codeload.github.com/eladkehat/lipwig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eladkehat%2Flipwig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32864083,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"ssl_error","status_checked_at":"2026-05-10T13:40:02.145Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["aws-lambda","aws-sns","logging","slack"],"created_at":"2024-12-14T14:17:40.082Z","updated_at":"2026-05-10T16:39:50.927Z","avatar_url":"https://github.com/eladkehat.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lipwig - Post SNS messages to external services\n\nLipwig is an AWS SAM/Lambda application that posts SNS messages to external services, like Slack.\n\n\n## Use Case\n\nPublishing a message to an SNS topics is a common way to notify subscribers of some event in your system.\nFor example, a dead letter queue topic lets publish events that your lambda function failed to handle.\n\nBut what if you want a person or team of people to know of the message? Out of the box, SNS only supports email (slow),\npush messages to an app _that you own_, or SMS (not free).\n\nLipwig provides lambda functions that you can subscribe to an SNS topic in order to publish its events to\nadditional services that you use.\n\n\n## How to Use\n\n1. Deploy the Lipwig app in your environment. You can use:\n```bash\nS3_BUCKET=your_deploy_bucket make publish\n```\n1. Either subscribe Lipwig lambda functions directly to SNS topics via the AWS console or CLI, or use `Fn::ImportValue`\nto add the subscription in your own CloudFormation template (see\n[this walkthrough](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/walkthrough-crossstackref.html)\nfor an example).\n\n\n## Services\n\n### CloudWatch Logs\nLog SNS messages to CloudWatch Logs.\n\nNo additional configuration is needed for this function. Look for its log stream in CloudWatch to see the messages.\n\nThe CloudWatch function is exported as `lipwig-CloudWatchLogsFunction`.\n\n\n### Slack\nPost SNS messages to Slack.\n\n1. Create a [Slack app](https://api.slack.com/apps).\n1. Give your app the `chat:write:bot` [permission scope](https://api.slack.com/docs/oauth-scopes).\n1. Make the app's **OAuth access token** available to Lipwig:\n    * Either add it to the lambda function's environment variables, **as an encrypted variable**, with the key `SLACK_TOKEN`.\n    * Or add it to SSM ParameterStore, **as an encrypted parameter**, with the key `/Lipwig/SlackToken`.\n1. You can control the channel that messages are posted to by adding an environment variable with the key\n`SLACK_CHANNEL`.\n    If you do not specify a channel, then `#lipwig` is used by default.\n\nThe Slack function is exported as `lipwig-SlackFunction`.\n\n\n## Why \"Lipwig\"?\nThe name is a reference to [Moist von Lipwig](https://en.wikipedia.org/wiki/Moist_von_Lipwig), the Ankh-Morpork\nPostmaster General in Terry Pratchett's novel [Going Postal](https://en.wikipedia.org/wiki/Going_Postal).\n\nLipwig can post message anywhere, just like the revitalized Ankh-Morpork postal service under von Lipwig.\n\n\u003cspan style=\"display:block;text-align:center\"\u003e![Moist von Lipwig](https://upload.wikimedia.org/wikipedia/en/8/82/Making_Money_Lipwig.JPG)\u003c/span\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feladkehat%2Flipwig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feladkehat%2Flipwig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feladkehat%2Flipwig/lists"}