{"id":15113701,"url":"https://github.com/mutasim77/wifi-password","last_synced_at":"2026-01-19T05:32:31.877Z","repository":{"id":256962279,"uuid":"857183107","full_name":"mutasim77/wifi-password","owner":"mutasim77","description":"🐌 A command-line tool that retrieves the password of the currently connected Wi-Fi network on macOS.","archived":false,"fork":false,"pushed_at":"2024-09-17T17:53:24.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-24T16:52:39.567Z","etag":null,"topics":["bash","brew","wifi","wifi-password"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mutasim77.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-14T01:49:06.000Z","updated_at":"2024-09-17T17:53:27.000Z","dependencies_parsed_at":"2024-09-14T04:59:23.511Z","dependency_job_id":"fce7d04a-2998-4a3f-95ba-63b03e18ae66","html_url":"https://github.com/mutasim77/wifi-password","commit_stats":null,"previous_names":["mutasim77/wifi-password"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mutasim77/wifi-password","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutasim77%2Fwifi-password","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutasim77%2Fwifi-password/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutasim77%2Fwifi-password/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutasim77%2Fwifi-password/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mutasim77","download_url":"https://codeload.github.com/mutasim77/wifi-password/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutasim77%2Fwifi-password/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28561858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bash","brew","wifi","wifi-password"],"created_at":"2024-09-26T01:22:25.127Z","updated_at":"2026-01-19T05:32:31.855Z","avatar_url":"https://github.com/mutasim77.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wifi-password 🔐 \n`wifi-password` is a command-line tool that retrieves the password of the currently connected Wi-Fi network on macOS. It provides a simple and quick way to access Wi-Fi passwords without navigating through system preferences.\n\n## Features\n- Retrieves the password of the currently connected Wi-Fi network\n- Works on macOS systems\n- Provides verbose output option for detailed information\n- Simple and easy-to-use command-line interface\n\n## Installation\n1. Clone this repository:\n```bash\ngit clone https://github.com/mutasim77/wifi-password.git\n```\n\n2. Navigate to the project directory:\n```bash\ncd wifi-password\n```\n\n3. Make the script executable:\n```bash\nchmod +x wifi-password.sh\n```\n\n4. (Optional) Move the script to a directory in your PATH for easy access:\n```bash\nsudo mv wifi-password.sh /usr/local/bin/wifi-password\n```\n\n## Usage\nRun the script with sudo privileges:\n```bash\nsudo wifi-password\n```\n\n## Options\n`-h, --help`: Show help message and exit\n\n`-v, --verbose`: Enable verbose output\n\n## Requirements\n- **macOS** (this script uses macOS-specific commands)\n- **Sudo** privileges (to access the Keychain)\n\n## But How It Works?\n\n1. The script first checks if it's running on macOS.\n2. It then retrieves the name of the currently connected Wi-Fi network using the networksetup command.\n3. Using the security command, it accesses the macOS Keychain to retrieve the password for the identified network.\n4. Finally, it displays the password to the user.\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.\n\nBuilt with ❤️ by [mutasim](https://www.mutasim.top/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmutasim77%2Fwifi-password","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmutasim77%2Fwifi-password","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmutasim77%2Fwifi-password/lists"}