Giter Club home page Giter Club logo

wifiscanner's Introduction

wifiscanner

CI Crates docs.rs dependency status

Important note to existing contributors!

If you have a local clone you will need to update your default branch from master to main. The easiest way to do this is to delete the clone and recreate it.

Alternatively type the following commands (thanks Scott):

git checkout master
$ git branch -m master main
$ git fetch
$ git branch --unset-upstream
$ git branch -u origin/main
$ git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main

Intro

A crate to list WiFi hotspots in your area.

As of v0.5.x now supports macOS, Linux and Windows. ๐ŸŽ‰

Inspired by Maurice Svay's node-wifiscanner

Tests shameless pilfered from Christian Kuster's node-wifi-scanner

Full documentation can be found here.

Usage

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

[dependencies]
wifiscanner = "0.5.*"

and this to your crate root:

extern crate wifiscanner;

Example

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

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

Changelog

  • 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

wifiscanner would not be possible without the following folks:

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

Copyright

Copyright 2019 Mark Sta Ana.

see LICENSE

wifiscanner's People

Contributors

booyaa avatar alopatindev avatar b1zzu avatar gianzellweger avatar bash avatar dependabot-preview[bot] avatar 1c3t3a avatar dnaka91 avatar reime005 avatar mre avatar nikofil avatar lpmi-13 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.