Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ewen-lbh/wifiqr
Create a QR code to share a WiFi hotspot with friends
https://github.com/ewen-lbh/wifiqr
qr qrcode qrcode-generator wifi wifi-qr wifi-qrcode
Last synced: about 1 month ago
JSON representation
Create a QR code to share a WiFi hotspot with friends
- Host: GitHub
- URL: https://github.com/ewen-lbh/wifiqr
- Owner: ewen-lbh
- Created: 2021-08-25T10:04:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-25T10:30:11.000Z (over 3 years ago)
- Last Synced: 2024-04-23T02:33:07.549Z (9 months ago)
- Topics: qr, qrcode, qrcode-generator, wifi, wifi-qr, wifi-qrcode
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wifiqr
> Generate QR codes of Wi-Fi networks
## Required software
_Eventually, all dependencies should become optional_
- the fish shell (will make a shell-agnostic binary later, in Go)
- ImageMagick (the `display` command)
- The `qrcode` command, install it like this:
```shell
$ go install github.com/skip2/go-qrcode/qrcode@latest
```## Optional software
- To leave out some arguments
- _NetworkManager_ as the system's network manager
If you don't have this, you can still use _wifiqr_, but you'll have to provide all arguments (the name, password and "WPA" or "WEP")## Installation
0. Make sure your current shell is _fish_:
```shell
$ echo $SHELL
/usr/bin/fish
```
1. Install `qrcode` and put the qrwifi function in your fish config:
```shell
$ go install github.com/skip2/go-qrcode/qrcode@latest
$ git clone https://github.com/ewen-lbh/wifiqr
$ cp wifiqr/wifiqr.fish ~/.config/fish/functions/
$ rm -rf wifiqr
```## Usage
```
wifiqr [ [ [WPA|WEP]]]
```Any unspecified argument will be auto-detected from `/etc/NetworkManager/system-connections/.nmconnection`.
If `` is not specified, it is assumed to be the currently in-use network (see `nmcli dev wifi`)