Skip to content

About

Generate a QR code for your current Wi-Fi network so anyone can join by scanning it.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

wifi-to-qr

Generate a QR code for the Wi-Fi network your machine is currently connected to. Scan it with any phone camera to join the network instantly — no typing the password.

Works on macOS and Linux.

Requirements

  • Python 3.6+
  • Dependencies from requirements.txt:
pip install -r requirements.txt

Platform tools (already installed by default)

  • macOS: networksetup, ipconfig, security
  • Linux: nmcli (NetworkManager)

Usage

python3 entry.py

The QR code is written to qrcodes/<ssid>.png in the current directory.

Example output:

Active Wi-Fi: 'Topnet'

✓ QR code created: qrcodes/Topnet.png
  SSID:     Topnet
  Auth:     WPA
  Password: (present)
  Payload:  WIFI:T:WPA;S:Topnet;P:********;H:false;;

About

Generate a QR code for your current Wi-Fi network so anyone can join by scanning it.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages