{"id":49772844,"url":"https://github.com/ananas1kexe/clap-to-rickroll","last_synced_at":"2026-05-11T14:00:04.142Z","repository":{"id":356709944,"uuid":"1233745723","full_name":"Ananas1kexe/Clap-to-Rickroll","owner":"Ananas1kexe","description":"A Python-based  utility that detects double claps via microphone to automate system actions. It forces volume to 100% via ALSA and triggers a multi-tab browser prank. Uses NumPy for real-time acoustic sharpness analysis. ","archived":false,"fork":false,"pushed_at":"2026-05-09T10:16:49.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-11T13:59:02.796Z","etag":null,"topics":["audio-processing","automation","claps-detection","cybersecurity-prank","dsp","numpy","python","rickroll"],"latest_commit_sha":null,"homepage":"","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/Ananas1kexe.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-09T09:57:00.000Z","updated_at":"2026-05-09T10:16:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Ananas1kexe/Clap-to-Rickroll","commit_stats":null,"previous_names":["ananas1kexe/clap-to-rickroll"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ananas1kexe/Clap-to-Rickroll","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ananas1kexe%2FClap-to-Rickroll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ananas1kexe%2FClap-to-Rickroll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ananas1kexe%2FClap-to-Rickroll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ananas1kexe%2FClap-to-Rickroll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ananas1kexe","download_url":"https://codeload.github.com/Ananas1kexe/Clap-to-Rickroll/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ananas1kexe%2FClap-to-Rickroll/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32897941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"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":["audio-processing","automation","claps-detection","cybersecurity-prank","dsp","numpy","python","rickroll"],"created_at":"2026-05-11T14:00:03.332Z","updated_at":"2026-05-11T14:00:04.130Z","avatar_url":"https://github.com/Ananas1kexe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clap-to-Rickroll\n\nAn automated audio-detection script for Linux that triggers a browser-based prank via microphone input.\n\n## Features\n\n* **Double Clap Detection**: Uses signal processing to identify sharp acoustic peaks.\n* **Auto-Volume**: Forces system audio to 100% using ALSA.\n* **Rickroll Loop**: Spawns multiple browser tabs with the legendary anthem.\n* **Smart Filtering**: Analyzes sound sharpness to reduce false positives from background noise.\n\n## Dependencies\n\n**System (Fedora/Linux):**\n\n```bash\nsudo dnf install portaudio-devel alsa-lib-devel\n\n```\n\n**Python:**\n\n```bash\npip install sounddevice numpy pyalsaaudio\n\n```\n\n## Setup\n\n1. Run the script: `python index.py`\n2. Perform two sharp claps within **0.15s - 0.8s**.\n3. The system will maximize volume and open the YouTube links.\n\n## Configuration\n\n* `ST`: Adjust sharpness sensitivity (lower = more sensitive).\n* `DELAY_M/F`: Set the required speed of your claps.\n* `COOLDOWN`: Prevents a single loud noise from being counted twice.\n\n---\n\n*Created for fun and local testing.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fananas1kexe%2Fclap-to-rickroll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fananas1kexe%2Fclap-to-rickroll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fananas1kexe%2Fclap-to-rickroll/lists"}