CPU Stock Checker#

Tech Stack: Go

A utility tool built during the chip shortage:

  • Multi-threaded web scraper monitoring CPU availability
  • Twilio API integration for SMS notifications
  • Built during chip shortage for stock monitoring
Resource Link
Source Code github.com/zachbroad/instock

Motivation#

During the chip shortage in 2020/2021, I was struggling to find a CPU for my personal computer.

By the time I got an email from a retailer, the CPU was no longer available and the only option was paying a premium from a scalper.

I wanted to monitor CPU availability in real-time and receive notifications the second it was available.

Implementation#

Using Go and Twilio, I built a multi-threaded web scraper that continuously monitors a product’s availability on multiple websites and sends SMS notifications when the product is available.

I used it to get a CPU, but it could be used for any product.

Core Components#

  • Web Scraper: Scrapes CPU availability data from a website
  • Twilio Integration: Sends SMS notifications when product is available

Key Features#

  • Multi-threaded execution for fast scraping and notifications
  • Logging for debugging and monitoring
  • Twilio integration for SMS notifications

Tech Stack#

  • Go for the runtime environment
  • Twilio for SMS notifications

View on GitHub