This is a simple application built with Angular and Bootstrap that allows you to encode your WiFi access point password into a QR code. Simply enter your WiFi network name and password, and the application will generate a QR code that can be scanned by a mobile device to quickly connect to your WiFi network.
To get started, you'll need to have Node.js and npm installed on your machine. You can download the latest version of Node.js from the official website: https://nodejs.org/en/download/
Once you have Node.js installed, you can clone this repository and install the necessary dependencies by running the following commands:
To deploy this project run
git clone https://github.com/OluseunDesina/qrifi.git
cd qrifi
npm install
This will install all of the required packages and dependencies for the application.
To run the application, you can use the Angular CLI. Simply run the following command in your terminal:
ng serve
This will start the development server and open the application in your default web browser. You should see a form that allows you to enter your WiFi network name and password.
Once you've entered your network name and password, click the "Generate QR Code" button to generate a QR code that you can scan with a mobile device to connect to your WiFi network.
If you want to build the application for production, you can use the following command:
ng build --prod
This will create a production-ready version of the application in the dist/qrifi directory.
This project was generated with Angular CLI version 14.2.4.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.
If you'd like to contribute to the project, feel free to open a pull request or submit an issue. Contributions are always welcome!
This project is licensed under the MIT License - see the LICENSE file for details.
- generate a QR code that can be scanned by a mobile device to quickly connect to your WiFi network.
WIFI:T:WPA;S:mynetwork;P:mypass;;
Parameter | Example | Description |
---|---|---|
T |
WPA | Authentication type; can be WEP or WPA or WPA2-EAP, or nopass for no password. Or, omit for no password. |
S |
mynetwork | Network SSID. Required. Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD") |
P |
mypass | Password, ignored if T is nopass (in which case it may be omitted). Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD") |
H |
true | Optional. True if the network SSID is hidden. Note this was mistakenly also used to specify phase 2 method in releases up to 4.7.8 / Barcode Scanner 3.4.0. If not a boolean, it will be interpreted as phase 2 method (see below) for backwards-compatibility |
E |
TTLS | (WPA2-EAP only) EAP method, like TTLS or PWD |
A |
anon | (WPA2-EAP only) Anonymous identity |
I |
myidentity | (WPA2-EAP only) Identity |
PH2 |
MSCHAPV2 | (WPA2-EAP only) Phase 2 method, like MSCHAPV2 |