Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arkapravo-ghosh/qwiklabs-tools
Faciliator Tools for Qwiklabs
https://github.com/arkapravo-ghosh/qwiklabs-tools
cheerio csv csv-parser hacktoberfest json nodejs qwiklabs typescript web-scraping
Last synced: 27 days ago
JSON representation
Faciliator Tools for Qwiklabs
- Host: GitHub
- URL: https://github.com/arkapravo-ghosh/qwiklabs-tools
- Owner: Arkapravo-Ghosh
- Created: 2024-11-01T14:20:04.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-01T14:58:09.000Z (3 months ago)
- Last Synced: 2024-11-01T15:29:14.687Z (3 months ago)
- Topics: cheerio, csv, csv-parser, hacktoberfest, json, nodejs, qwiklabs, typescript, web-scraping
- Language: TypeScript
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Qwiklabs Tools
## Description
This repository contains tools that can be used to interact with Qwiklabs which would be useful for the facilitators of programs related to Google Cloud Platform and Qwiklabs.## Usage
### Clone the repository and navigate to the directory
```bash
git clone https://github.com/Arkapravo-Ghosh/qwiklabs-tools.git
cd qwiklabs-tools
```### Install the dependencies
```bash
npm i
```### Setup the required csv file
Copy the csv file containing the list of participants sent by Google into `src/assets/data.csv`.### Run all tools at once
```bash
npm start
```
> **NOTE:** This will run all the tools in order and generate the data in the console output. If you don't want to run all the tools, you can [run the tools individually](#run-the-tools-individually).## Run the tools individually
### Get profiles from `data.csv` file and generate the `profiles.json` file
```bash
npm run load
```### Configure `assignments.json` file
Make an array of strings having exact badge names from Qwiklabs Website and save into a new file named `src/assets/assignments.json`. Check [assignments_example.json](src/assets/assignments_example.json) for reference.
### Scrape data from `profiles.json` and generate the `profiles_scraped_data.json` file
```bash
npm run scrape
```
> **NOTE:** This will take a long time to run as it scrapes data from the Qwiklabs website.### Calculate the progress of users using `profiles_scraped_data.json` and log the progress in the console
```bash
npm run progress
```