Skip to content

A crate to list WiFi hotspots in your area. Fork of booyaa/wifiscanner.

License

Notifications You must be signed in to change notification settings

simon0302010/wifi-scan

This branch is 41 commits ahead of booyaa/wifiscanner:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1cca10d · · Nov 18, 2025

History

133 Commits
Apr 29, 2021
Oct 26, 2025
Nov 18, 2025
Oct 5, 2019
Feb 20, 2017
Aug 22, 2016
Oct 29, 2025
Nov 2, 2025
Jul 29, 2016
Oct 29, 2025
Nov 16, 2025

Repository files navigation

wifi_scan

CI Crates docs.rs dependency status

Intro

This is a fork of wifiscanner, a crate to list WiFi hotspots in your area. This fork moves wifiscanner away from using command line utilities that can't be relied on. The libary should be a drop-in replacement for booyaa's wifiscanner..

Tests taken from Christian Kuster's node-wifi-scanner

Full documentation can be found here.

This project is made for the Midnight Hackathon from Hack Club.

Usage

This crate is on crates.io and can be used by adding wifi_scan to the dependencies in your project's Cargo.toml.

[dependencies]

wifi_scan = "0.6.*"

Note: On macOS, the SSIDs and BSSIDs of networks are only shown if location access is granted to the program.

Example

use wifi_scan;

println!("{:?}", wifi_scan::scan());

Alternatively if you've cloned the Git repo, you can run the above example using: cargo run --example scan.

Changelog

  • 0.6.3 - switch to using corewlan on macOS due to the removal of the airport utility
  • 0.6.2 - stop relying on netsh utility on windows
  • 0.6.1 - support for multiple wifi adapters on linux
  • 0.6.0 - remove iw dependency for linux
  • 0.5.1 - crates.io metadata update
  • 0.5.0 - add window support (props to @brianjaustin)
  • 0.4.0 - replace iwlist with iw (props to @alopatindev)
  • 0.3.6 - crates.io metadata update
  • 0.3.5 - remove hardcoded path for iwlist (props to @alopatindev)
  • 0.3.4 - initial stable release

How to contribute

see CONTRIBUTING.md

Contributors

wifi_scan would not be possible without the following people:

@alopatindev, @bizzu, @bash, @cristicbz, @lpmi-13, @brianjaustin, @booyaa

Copyright

Copyright 2019 Mark Sta Ana. Forked and maintained by simon0302010..

Copyright 2025 simon0302010.

see LICENSE

About

A crate to list WiFi hotspots in your area. Fork of booyaa/wifiscanner.

Resources

License

Contributing

Stars

Watchers

Forks

Languages

  • Rust 99.0%
  • Makefile 1.0%