Skip to content

MatrixRequirements/matrix_attachments_downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Matrixreq attachments downloader

A simple Node.js app to download files from matrixreq project using fetch.

Prerequisites

  • Node.js (version 18 recommended)

Installation

  1. Clone the repository or download the index.js file.
  2. Install the required dependencies:
npm install node-fetch

Usage

Run the app using the following command:

node app.js <BASE_URL> <PROJECT> <TOKEN>

Replace <BASE_URL> with the base URL, with the project label, and with the authentication token.

The app will download the files into a folder named after the provided PROJECT value.

Example

node app.js https://demo.matrixreq.com QMS_FILES abcd1234efgh5678

In this example, the base URL is https://demo.matrixreq.com, the project value is QMS_FILES, and the authentication token is abcd1234efgh5678. The downloaded files will be saved in a folder named QMS_FILES.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published