{"id":21547536,"url":"https://github.com/kristoferlund/ic-pos-notifications","last_synced_at":"2025-06-19T17:38:04.104Z","repository":{"id":182679625,"uuid":"668657745","full_name":"kristoferlund/ic-pos-notifications","owner":"kristoferlund","description":"Netlify function that sends notifications for IC-POS using Courier/Mailgun/Twilio.","archived":false,"fork":false,"pushed_at":"2023-07-20T20:54:51.000Z","size":48,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T07:07:07.608Z","etag":null,"topics":["bitcoin","ckbtc","courier","dfinity","mailgun","netlify","pos","twilio","typescript"],"latest_commit_sha":null,"homepage":"https://hngac-6aaaa-aaaal-qb6tq-cai.icp0.io/","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/kristoferlund.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}},"created_at":"2023-07-20T10:04:37.000Z","updated_at":"2024-02-06T04:59:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"b8e15711-f081-4851-8bd6-e0cfac04736b","html_url":"https://github.com/kristoferlund/ic-pos-notifications","commit_stats":null,"previous_names":["kristoferlund/ic-pos-notifications"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristoferlund%2Fic-pos-notifications","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristoferlund%2Fic-pos-notifications/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristoferlund%2Fic-pos-notifications/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristoferlund%2Fic-pos-notifications/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kristoferlund","download_url":"https://codeload.github.com/kristoferlund/ic-pos-notifications/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166927,"owners_count":21058480,"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":["bitcoin","ckbtc","courier","dfinity","mailgun","netlify","pos","twilio","typescript"],"created_at":"2024-11-24T06:15:27.003Z","updated_at":"2025-04-10T05:53:00.942Z","avatar_url":"https://github.com/kristoferlund.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](./media/header.png)\n\n# IC-POS Notifications\n\nThis is a companion Netlify function for [IC-POS](https://github.com/kristoferlund/ic-pos), a simple Point of Sale app that allows users to accept ckBTC payments on the Internet Computer.\n\n## Overview\n\nWhen a merchant receives a payment, the IC-POS app wants to notify the merchant that a payment has been received. A notification comes in the form of either an SMS or an email.\n\nThe Internet Computer provides a feature that allows canisters to make [HTTPS outcalls](https://internetcomputer.org/docs/current/developer-docs/integrations/https-outcalls/https-outcalls-how-it-works) to conventional Web 2.0 HTTP servers.\n\nThis Netlify function serves as a gateway for the calls IC-POS makes when sending notifications. IC-POS could have made the calls directly to Courier, but since HTTPS outcalls require IPv6 addresses, and Courier does not have an IPv6 address, this function is needed to translate the call from IPv6 to IPv4.\n\n## Deployment\n\nSee this deployment guide from Netlify for details on how to deploy a Netlify function: https://docs.netlify.com/functions/deploy/?fn-language=ts\n\n## Known issues\n\nNone\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request.\n\n## Author\n\n- [kristofer@fmckl.se](mailto:kristofer@fmckl.se)\n- Twitter: [@kristoferlund](https://twitter.com/kristoferlund)\n- Discord: kristoferkristofer\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkristoferlund%2Fic-pos-notifications","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkristoferlund%2Fic-pos-notifications","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkristoferlund%2Fic-pos-notifications/lists"}