{"id":16343983,"url":"https://github.com/dhess/pinpon","last_synced_at":"2026-05-26T20:02:10.654Z","repository":{"id":56874838,"uuid":"64803229","full_name":"dhess/pinpon","owner":"dhess","description":"A doorbell service in Haskell. No, really.","archived":false,"fork":false,"pushed_at":"2019-08-29T15:01:58.000Z","size":341,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-14T23:47:36.504Z","etag":null,"topics":["doorbell","haskell","iot","notifications"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dhess.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","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":"2016-08-03T01:01:22.000Z","updated_at":"2023-04-17T11:39:16.000Z","dependencies_parsed_at":"2022-08-20T10:11:12.104Z","dependency_job_id":null,"html_url":"https://github.com/dhess/pinpon","commit_stats":null,"previous_names":["quixoftic/pinpon"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhess%2Fpinpon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhess%2Fpinpon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhess%2Fpinpon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhess%2Fpinpon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhess","download_url":"https://codeload.github.com/dhess/pinpon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239484204,"owners_count":19646429,"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":["doorbell","haskell","iot","notifications"],"created_at":"2024-10-11T00:26:29.171Z","updated_at":"2025-12-11T23:28:08.381Z","avatar_url":"https://github.com/dhess.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pinpon\n\n`pinpon` is a silly little service that implements an\nInternet-enabled doorbell in Haskell, using\n[Amazon Simple Notification Service](https://aws.amazon.com/sns/) to notify\nsubscribers that the button has been pushed. Effectively, it's a\nsimple REST service which, when `POST`ed to, will send a notification\nto an SNS topic. You can then build a client application which\nsubscribes to that topic and notifies the user when the doorbell has\nbeen pressed. No such client application is included in the `pinpon`\npackage, but an iOS app may be made available at some point in the\nfuture.\n\nThe package provides a `pinpon-gpio` executable, intended for use on\nLinux systems with GPIO functionality. When the specified GPIO pin is\ntriggered (e.g., via a momentary switch such as\n[this one](https://www.e-switch.com/product-catalog/anti-vandal/product-lines/pv3-series-illuminated-sealed-long-life-anti-vandal-switches#.WHW8_7GZNE4)),\n`pinpon-gpio` will `POST` a notification to the specified `pinpon`\nserver.\n\nWhy not simply build the Amazon SNS functionality into the\n`pinpon-gpio` executable and eliminate the `pinpon` REST service?\nChiefly because the host system running the `pinpon-gpio` executable\nmay be particularly vulnerable to physical attacks (after all, it is\npresumably hooked up to a doorbell button that is exposed in a public\nspace). I did not feel comfortable storing my Amazon AWS credentials\non such a device, nor even allowing such a device to communicate\ndirectly with the public Internet. By proxying the AWS access via a\nmore physically secure host running the `pinpon` server on my internal\nnetwork, I can better protect my AWS credentials and limit network\naccess on the GPIO device to just the `pinpon` service.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhess%2Fpinpon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhess%2Fpinpon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhess%2Fpinpon/lists"}