{"id":16514722,"url":"https://github.com/andgineer/docker-amazon-dash-button-hack","last_synced_at":"2026-03-03T13:42:18.522Z","repository":{"id":145706665,"uuid":"87278771","full_name":"andgineer/docker-amazon-dash-button-hack","owner":"andgineer","description":"Amazon Dash Button hack in Docker for Synology","archived":false,"fork":false,"pushed_at":"2025-01-15T05:25:16.000Z","size":3717,"stargazers_count":11,"open_issues_count":2,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-15T07:24:43.046Z","etag":null,"topics":["amazon-dash-button","docker","google-sheets","python"],"latest_commit_sha":null,"homepage":"http://masterandrey.com/posts/en/amazon_dash_button/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andgineer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-04-05T07:18:49.000Z","updated_at":"2025-01-15T05:24:28.000Z","dependencies_parsed_at":"2023-10-03T14:13:39.505Z","dependency_job_id":"a8e1ef82-41d1-4963-bd7c-e4713793bd93","html_url":"https://github.com/andgineer/docker-amazon-dash-button-hack","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/andgineer%2Fdocker-amazon-dash-button-hack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andgineer%2Fdocker-amazon-dash-button-hack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andgineer%2Fdocker-amazon-dash-button-hack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andgineer%2Fdocker-amazon-dash-button-hack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andgineer","download_url":"https://codeload.github.com/andgineer/docker-amazon-dash-button-hack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240672818,"owners_count":19838929,"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":["amazon-dash-button","docker","google-sheets","python"],"created_at":"2024-10-11T16:13:28.741Z","updated_at":"2026-03-03T13:42:18.501Z","avatar_url":"https://github.com/andgineer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://github.com/andgineer/docker-amazon-dash-button-hack/workflows/ci/badge.svg)](https://github.com/andgineer/docker-amazon-dash-button-hack/actions)\n[![Coverage](https://raw.githubusercontent.com/andgineer/docker-amazon-dash-button-hack/python-coverage-comment-action-data/badge.svg)](https://htmlpreview.github.io/?https://github.com/andgineer/docker-amazon-dash-button-hack/blob/python-coverage-comment-action-data/htmlcov/index.html)\n[![Docker Automated build](https://img.shields.io/docker/image-size/andgineer/amazon-dash-button-hack)](https://hub.docker.com/r/andgineer/amazon-dash-button-hack)\n\nThis is a [Docker Hub container](https://hub.docker.com/r/andgineer/amazon-dash-button-hack)\nfor the [Amazon Dash Button hack](https://sorokin.engineer/posts/en/amazon_dash_button_hack.html).\n\nIt sniffs the network to intercept Amazon Button communications with Amazon,\nthereby detecting button presses.\n\nIt can write to Google Sheets, Google Calendar and fire events in [IFTTT](https://ifttt.com).\n\nI use it on my [Synology](https://www.synology.com) for\n[IoT calendar](https://sorokin.engineer/posts/en/iot_calendar_synology.html).\n\nTo run the container on Linux:\n```\ndocker run \\\n    --net host \\\n    -it \\\n    --rm \\\n    -v $PWD/../amazon-dash-private:/amazon-dash-private:ro \\\n    andgineer/amazon-dash-button-hack\n```\n\nIn folder `../amazon-dash-private` you should have:\n\n* settings [`settings.json`](https://andgineer.github.io/docker-amazon-dash-button-hack/settings/)\n* buttons list `buttons.json`\n* `amazon-dash-hack.json` with Google API credentials [Google Sheets](https://console.developers.google.com/start/api?id=sheets.googleapis.com), [Google Calendar](https://console.developers.google.com/start/api?id=calendar)\n* `ifttt-key.json` with [Maker Webhook key](https://ifttt.com/services/maker_webhooks/settings)\n\n[Examples of these files](https://github.com/andgineer/docker-amazon-dash-button-hack/tree/master/amazon-dash-private).\n\nSee details in [User manual](https://sorokin.engineer/posts/en/amazon_dash_button_hack_install.html).\n\n## MacOS and Windows\n\nYou cannot sniff network from Docker containers running on MacOS and Windows because they do not run\nDocker daemon natively but use a virtual machine to run it.\n\nSo to debug on MacOS and Windows:\n\n    . ./activate.sh\n    sudo python src/amazon_dash.py\n\n## Developers\n\nWe use `collections.abc` so minimum Python 3.10\n\n[API docs](https://andgineer.github.io/docker-amazon-dash-button-hack/docstrings/)\n\n# Scripts\nTo see the list of scripts:\n\n    make help\n\n## Coverage report\n* [Codecov](https://app.codecov.io/gh/andgineer/docker-amazon-dash-button-hack/tree/master/src)\n* [Coveralls](https://coveralls.io/github/andgineer/docker-amazon-dash-button-hack)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandgineer%2Fdocker-amazon-dash-button-hack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandgineer%2Fdocker-amazon-dash-button-hack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandgineer%2Fdocker-amazon-dash-button-hack/lists"}