Giter Site home page Giter Site logo

qualzz / nvidia-clerk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ianmarmour/nvidia-clerk

0.0 0.0 0.0 10.98 MB

A simple bot written in go that tracks for availability of stock from nvidia's store and automatically add items to your checkout.

License: BSD 3-Clause "New" or "Revised" License

Go 100.00%

nvidia-clerk's Introduction

nvidia-clerk

This project was written in response to the recent NVIDIA RTX 3080 release debacle. During the launch multiple different groups of scalpers used closed source "bots" to procure large quantities of NVIDIA GPU's and most consumers were left without being able to purchase the product. This project will provide a short term solution so that customers can ensure they can buy a GPU and compete with these scalpers.

NVIDIA Clerk doesn't actually purchase products for customers, it simply tracks the avaliable inventory from NVIDIAs APIs and automatically adds a GPU to your checkout/cart and navigates your browser checkout page whenever they become avaliable. The clerk can also notify you of this process if you provide Twilio API information (I am not interested in running an entire service for users, so this feature is limited to users aware of how to setup such things).

Install

Requirements

  • Google Chrome
  • Administrator Access

Download

Download the latest release from Releases

โ— Make sure you accept any browser warnings, these warnings are due to the fact that these release binaries are not "signed" (this costs money and as a free project we haven't paid for a signing certificate)

Supported Region Codes

AUT,BEL,CAN,CZE,DNK,FIN,FRA,DEU,USA,GBR,IRL,ITA,SWE,LUX,POL,PRT,ESP, NOR, NLD

Usage

โ— Once you execute the below commands make sure to leave the Google Chrome browser that it launches open

Windows

๐Ÿ“ All commands should be executed inside of cmd.exe
./nvidia-clerk-windows.exe -region=REGION_CODE_HERE

Mac OSX

๐Ÿ“ All commands should be executed inside of Terminal.app
chmod +x ./nvidia-clerk-darwin

./nvidia-clerk-darwin -region=REGION_CODE_HERE

Linux

๐Ÿ“ All commands should be executed inside of Shell
chmod +x ./nvidia-clerk-linux

./nvidia-clerk-linux -region=REGION_CODE_HERE

Testing

Testing is currenly only supported for the USA region but it should show you what the automated checkout will look like.

Windows

๐Ÿ“ All commands should be executed inside of cmd.exe
./nvidia-clerk-windows.exe -region=USA -test

Mac OSX

๐Ÿ“ All commands should be executed inside of Terminal.app
./nvidia-clerk-darwin -region=USA -test

Linux

๐Ÿ“ All commands should be executed inside of Shell
./nvidia-clerk-linux -region=USA -test

Advanced Usage

SMS Notifications

Configuration

set TWILIO_ACCOUNT_SID=YOUR_TWILIO_ACCOUNT_SID_HERE
set TWILIO_TOKEN=YOUR_TWILIO_TOKEN_HERE
set TWILIO_SOURCE_NUMBER=YOUR_TWILIO_SERVICE_NUMBER_HERE
set TWILIO_DESTINATION_NUMBER=YOUR_DESITNATION_NUMBER_FOR_NOTIFICATIONS_HERE

Testing

./nvidia-clerk-windows.exe -sms -test

Usage

./nvidia-clerk-windows.exe -sms -region=REGION_CODE_HERE

Discord Notifications

Configuration

set DISCORD_WEBHOOK_URL=DISCORD_WEBHOOK_URL_HERE

Testing

./nvidia-clerk-windows.exe -discord -test

Usage

./nvidia-clerk-windows.exe -discord -region=REGION_CODE_HERE

Twitter Notifications

Configuration

set TWITTER_CONSUMER_KEY=YOUR_TWITTER_CONSUMER_KEY_HERE
set TWITTER_CONSUMER_SECRET=YOUR_TWITTER_CONSUMER_SECRET_HERE
set TWITTER_ACCESS_TOKEN=YOUR_TWITTER_ACCESS_TOKEN_HERE
set TWITTER_ACCESS_SECRET=YOUR_TWITTER_ACCESS_SECRET_HERE

Testing

./nvidia-clerk-windows.exe -twitter -test

Usage

./nvidia-clerk-windows.exe -twitter -region=REGION_CODE_HERE

Telegram Notifications

Configuration

set TELEGRAM_API_KEY=YOUR_TELEGRAM_API_KEY_HERE
set TELEGRAM_CHAT_ID=YOUR_TELEGRAM_CHAT_ID_HERE

Testing

./nvidia-clerk-windows.exe -telegram -test

Usage

./nvidia-clerk-windows.exe -telegram -region=REGION_CODE_HERE

nvidia-clerk's People

Contributors

ianmarmour avatar bryanberger avatar nickottrando avatar forestlovewood avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.