An open API service indexing awesome lists of open source software.

https://github.com/samchungy/centrecom-rtx3080-feed

Scrapes Centrecom for RTX 3080 stock
https://github.com/samchungy/centrecom-rtx3080-feed

nodejs serverless

Last synced: about 2 months ago
JSON representation

Scrapes Centrecom for RTX 3080 stock

Awesome Lists containing this project

README

          

# Centrecom RTX 3080 Stock Tracker

A simple 30 minute serverless scraper to alert us about RTX 3080 stock

## Description

This bot is designed to scrape Centrecom for RTX 3080 stock and post it into a Slack channel.

## Getting Started

### Dependencies

* serverless
* axios
* cheerio
* Slack

### Installing

* Create a Slack bot with a webhook URL.
* Create an `.env` file and fill them with
TABLE_NAME=centrecom-products
PK=product
SLACK_URL=X
* Run `npm install --prod` to install dependencies.
* Run `sls offline` to run locally.
* Run `sls deploy` to deploy to AWS.