Small UI automation script for adding Gobricks bricks to the cart of yourwobb via Puppeteer.
- Run
git clone https://github.com/Phantomkeks/gobricks.git - Run
npm ci --package-lock - (Optional) Adapt the executable path of the configuration file (defaults.js)
- Get your executable path of Chrome browser by opening
chrome://version/in your browser - Default is the default Chrome installation path for MacOS
- Get your executable path of Chrome browser by opening
- Replace the parts.csv file in the folder and stay with the file name.
- CSV format relies on the CSV generated by rebrickable
- Add something to your cart on yourwobb in your normal Chrome browser (otherwise the script will get its own cart from the website).
- Run
npm run start
- Not all bricks have an equivalent to Gobricks
Please cross-check your cart before ordering, because this script is not free of bugs.