Skip to content
/ qrcode Public

This repository contains a QR Code generator developed in Node.js, designed to create custom QR codes and passwords easily and efficiently.

Notifications You must be signed in to change notification settings

gufvr/qrcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QR Code & Password Generator

This repository contains an implementation of generating QR Codes and random passwords using Node.js.

Objective

The goal of this project is to provide a simple tool to generate QR Codes and passwords that can be used in various applications, such as websites, mobile applications and documents.

Features

  • Generation of QR Codes from links and passwords defined by the user.
  • Support for various output formats (e.g. PNG, SVG).

Requirements

  • Node.js (version 12 or higher)
  • npm (version 6 or higher)

Install

To install and configure the project, follow the steps below:

  1. Clone the repository:
git clone https://github.com/gufvr/qrcode.git
  1. Navigate to the project directory:
cd qrcode
  1. Install dependencies:
npm install

Using QR Code

  1. To generate a QR Code, use the command:
npm run dev
  1. Type 1 to select the QR Code generation option:
Escolha a ferramenta (1 para QRCode ou 2 para password):  1
  1. Enter the link you want to generate the QR Code:
Insira o link para gerar o QRCode:  (link desejado aqui)
  1. Choose the type of QR Code you want:
Escolha o tipo de QRCode desejado (1 - normal e 2 - terminal):
  1. QR Code generated:

image

Using password creation:

  1. To set the character limit and specify which types to generate, navigate to the .env file:
UPPERCASE_LETTERS=true
LOWERCASE_LETTERS=true
NUMBERS=true
SPECIAL_CHARACTERS=true
PASSWORD_LENGTH=13
  1. Run the npm run dev command and select option 2:
Choose the tool (1 for QRCode or 2 for password):  2
  1. Randomly generated password as per specifications:
Password
43#i|hwBpZ)W^

Project Structure

  • src/: Project source code.
  • prompts-schema/: Directory of prompts displayed in the terminal.
  • services/: Directory with settings for using the password and QR Code generators.
  • package.json: Project settings and dependencies.
  • .env: Environment configuration file.

image Contribuições são bem-vindas! Sinta-se à vontade para abrir uma issue ou enviar um pull request.

Licença

Este projeto está licenciado sob a MIT License.

About

This repository contains a QR Code generator developed in Node.js, designed to create custom QR codes and passwords easily and efficiently.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published