{"id":21680318,"url":"https://github.com/matthewoden/dash","last_synced_at":"2025-03-20T10:28:32.507Z","repository":{"id":42582251,"uuid":"55921826","full_name":"matthewoden/dash","owner":"matthewoden","description":"A starter project for experimenting with Amazon Dash Buttons","archived":false,"fork":false,"pushed_at":"2016-04-12T01:49:17.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-18T09:09:16.184Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matthewoden.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":"2016-04-10T20:49:29.000Z","updated_at":"2016-04-10T21:06:37.000Z","dependencies_parsed_at":"2022-09-12T21:50:28.971Z","dependency_job_id":null,"html_url":"https://github.com/matthewoden/dash","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/matthewoden%2Fdash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewoden%2Fdash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewoden%2Fdash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewoden%2Fdash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matthewoden","download_url":"https://codeload.github.com/matthewoden/dash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244594196,"owners_count":20478219,"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":[],"created_at":"2024-11-25T15:15:46.491Z","updated_at":"2025-03-20T10:28:32.485Z","avatar_url":"https://github.com/matthewoden.png","language":"JavaScript","readme":"# Dash - Starter repo for Experiments with an Amazon Dash Button.\nThis is just an easily cloneable repo so I can program my dash to do a bunch of things. Comes pre-installed with with `maker-ifttt` for configuring IoT connections without having to restart the server.\n\n(libpcap setup/installation instructions taken from [node-dash-button](https://github.com/hortinstein/node-dash-button).)\n\n## Setup\n\n### Install Dependancies\nProject uses node 5.2.0, libpcap, and optionally, python's pypcap. Assumes you have an Amazon Dash button, and have followed the setup instructions WITHOUT selecting a product.\n\nInstall node dependancies:\n```bash\nnpm install\n```\n\nInstall libpcap, or the python wrapper for it, pypcap.\nIf on ubuntu, you can install the library directly:\n```bash\nsudo apt-get install libpcap-dev\n```\n\nOtherwise, use pip:\n```bash\npip install pypcap\n```\n\n...or with brew, if you must:\n```bash\nbrew install pypcap\n```\n\n### Assemble config file.\nThe `config.json` contains three keys for easy project customization.\n1. address: Your dash's mac address(es)\n1. maker: IFTTT's maker channel key\n1. event: the IFTTT event name\n\n#### 1. Get the mac address of your dash button:\n\n```bash\ncd node_modules/node-dash-button\nnode bin/findbutton # Note: on OSX, you'll have to use sudo.\n```\n\nDepending on your home network, you may have to press the button a few times to get the right address. Save this number to dash.json, at the root level.\n\n#### 2. IFTTT (Optional)\nIf you want to use IFTTT, then create an account on [ifttt.com](http://ifttt.com), and add the maker channel. You'll get your key right away.\n\n#### 3. Event name (Optional)\nOnce you have the maker channel, create a new recipe. You can choose your event name here.\n\n## Running\n\nOn OS X:\n``` bash\nsudo node start\n```\nOn linux (aka, that raspberry pi you bought that's just been collecting dust):\n```bash\nnode index\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthewoden%2Fdash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatthewoden%2Fdash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthewoden%2Fdash/lists"}