open-index/open-npm huggingface dataset:
npm package: @pittica/drive-qrcode
Description: Creates QR codes from Google Drive folder names and IDs.
Author: Lucio Benini
Latest version: 1.0.0

# QR Code from Google Drive folders

[![GitHub License](https://img.shields.io/github/license/pittica/drive-qrcode)](https://github.com/pittica/drive-qrcode?tab=Apache-2.0-1-ov-file)
![GitHub package.json](https://img.shields.io/github/package-json/version/pittica/drive-qrcode)
![GitHub top language](https://img.shields.io/github/languages/top/pittica/drive-qrcode)
[![NPM Version](https://img.shields.io/npm/v/%40pittica%2Fdrive-qrcode)](https://www.npmjs.com/package/@pittica/drive-qrcode)

Creates QR codes from Google Drive folder names.

## Requirements

- Google Drive API v3 enabled on Service Account.
- A Service Account and Drives shared with it.

## Environment Variables

| Variable                         | Type    | Default | Notes                                            |
|----------------------------------|---------|---------|--------------------------------------------------|
| GOOGLE_APPLICATION_CREDENTIALS   | String  | null    | Google JSON credentials default file path.       |
| DRIVE_QRCODER_GOOGLE_CREDENTIALS | String  | null    | Google JSON credentials content.                 |
| DRIVE_QRCODER_SOURCE             | String  | null    | Google Drive source folder ID.                   |
| DRIVE_QRCODER_DESTINATION_DRIVE  | String  | null    | Google Drive destination folder ID.              |
| DRIVE_QRCODER_DESTINATION_LOCAL  | String  | null    | Local destination folder path.                   |
| DRIVE_QRCODER_SIZE               | Integer | 300     | QR code image size.                              |
| DRIVE_QRCODER_MARGIN             | Integer | 15      | Image margin size.                               |
| DRIVE_QRCODER_ROUNDED            | Boolean | False   | Indicates whether the image has rounde borders.  |
| DRIVE_QRCODER_LOGO               | String  | null    | The path or URL of the SVG logo image.           |
| DRIVE_QRCODER_FORMAT             | String  | PDF     | Output format. Possibile formats "SVG" or "PDF". |
| DRIVE_QRCODER_COLOR_FORE         | String  | #000000 | Foreground color.                                |
| DRIVE_QRCODER_COLOR_DOTS         | String  | #000000 | QR code dots color.                              |
| DRIVE_QRCODER_COLOR_SQUARE       | String  | #000000 | Inner square color.                              |
| DRIVE_QRCODER_COLOR_BACKGROUND   | String  | #ffffff | Background color.                                |
| DRIVE_QRCODER_COLOR_BORDER       | String  | #ffffff | Border color.                                    |
| DRIVE_QRCODER_FONT_COLOR         | String  | #000000 | Font color.                                      |
| DRIVE_QRCODER_FONT_PATH          | String  | null    | Font file path.                                  |
| DRIVE_QRCODER_FONT_FAMILY        | String  | Arial   | Font family name.                                |

## Copyright

This project is licensed.

Copyright 2024-2025 **Pittica S.r.l.**.

- [pittica.com](https://pittica.com)
- [info@pittica.com](mailto:info@pittica.com)