Quickly fetch your WiFi password and if needed, generate a QR code of your WiFi to allow phones to easily connect.
Works on macOS and Linux and Windows
Linux requires wireless-tools to fucntion. Ensure it is installed on your machine:
Arch/Manjaro:
$ sudo pacman -Syu wireless_tools
Ubuntu:
$ sudo apt-get install wireless-tools
$ python3 -m pip install --user wifi-password
$ git clone https://github.com/sdushantha/wifi-password
$ cd wifi-password
$ python3 setup.py install
$ wifi-password
usage: wifi_password [options]
optional arguments:
-h, --help show this help message and exit
--qrcode, -q Generate a QR code
--image, -i Create the QR code as image instead of showing it on the terminal (must be useed along with --qrcode)
--ssid SSID, -s SSID Specify a SSID that you have previously connected to
--version Show version number
- This project is an improvement of wifi-password created by @rauchg, where I have added support for multiple platforms and have added the feature for generating QR codes.
- wifiPassword created by @ankitjain28may was frequently used as reference throughout the development of this project.