{"id":16979365,"url":"https://github.com/marcl/halloweenpi","last_synced_at":"2026-05-02T17:36:41.540Z","repository":{"id":71372457,"uuid":"45070772","full_name":"MarcL/halloweenpi","owner":"MarcL","description":"Halloween Raspberry Pi project for scaring my children","archived":false,"fork":false,"pushed_at":"2016-11-03T15:34:01.000Z","size":3458,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-12T16:09:48.241Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MarcL.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":"2015-10-27T21:20:01.000Z","updated_at":"2021-10-19T15:46:55.000Z","dependencies_parsed_at":"2023-03-11T10:25:29.954Z","dependency_job_id":null,"html_url":"https://github.com/MarcL/halloweenpi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MarcL/halloweenpi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcL%2Fhalloweenpi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcL%2Fhalloweenpi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcL%2Fhalloweenpi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcL%2Fhalloweenpi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarcL","download_url":"https://codeload.github.com/MarcL/halloweenpi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcL%2Fhalloweenpi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280902728,"owners_count":26410845,"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","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-14T01:45:36.932Z","updated_at":"2025-10-25T04:14:49.510Z","avatar_url":"https://github.com/MarcL.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Halloween Raspberry Pi\n\nA basic Node.js project to trigger sound effects via a Raspberry Pi. A quick project which allows the attachment of a button to the GPIO ports of the Pi and triggers random sound effects.\n\n# Installation\n\nClone the project and install the node modules with:\n\n`npm install`\n\nYou will need to ensure that the `alsa.h` header can be found in order to build the [node-speaker](https://github.com/TooTallNate/node-speaker) module. Do this with the following:\n\n```\nsudo apt-get install libasound2-dev\n```\n\nOnce installed you can run the project with:\n\n```\nnpm start\n```\n\n# Usage\n\nThe breadboard should be setup in a similar way as the [onoff module](https://www.npmjs.com/package/onoff). The button is attached to Gpio 4 and I've added 4 LEDs attached to GPIOs 14, 15, 18 and 23 for my project. These can be altered in `config/config.js` to your own needs and you will need to rewire your breadboard accordingly. Have a look at this very helpful [Raspberry Pi GPIO pinout](http://pi.gadgetoid.com/pinout) from [Gadgetoid](https://twitter.com/gagetoid) for more details.\n\nThe code will trigger all LEDs in the `leds` array in `config/config.js` to light when the sound effect is played. Alter the `soundFiles` array in `config/config.js` to add new sound effects to trigger. These are currently triggered randomly when the button is pressed.\n\nRun the project with `npm start`.\n\n# License\n\nThis project is licensed under the terms of the MIT license. See the LICENSE file.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcl%2Fhalloweenpi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcl%2Fhalloweenpi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcl%2Fhalloweenpi/lists"}