Skip to content

tbro/scampi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scampi

scampi is a simple tool for Linux that allows you to use your web-cam to scan QR codes. It can add WiFi connections encoded as QR codes directly to NetworkManager.

The name desugars to something like scan cam wifi.

Note

Read more about hacking network-manager with zbus.

Usage

By default it only prints out the scanned data. Provide -w option to add the connection to NetworkManager.

To print the decoded QR code:

cargo run

To scan a QR code and add the decoded WiFi connection to NetworkManager:

cargo run -- -w -i wlan0

The default interface (-i) is wlan0, so if in fact your WiFi interface is wlan0, you can omit the '-i` options.

Help

cargo run -- --help

Caveats

  • Only works with wpa-psk for now.
  • No UI.

About

linux web cam wifi qr code scaner

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published