Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chrenn/kju
Kju — Improved waiting time for the adidas.com splash page ❯❯❯_
https://github.com/chrenn/kju
adidas browser-automation cli notifications puppeteer sneakerbot
Last synced: 3 months ago
JSON representation
Kju — Improved waiting time for the adidas.com splash page ❯❯❯_
- Host: GitHub
- URL: https://github.com/chrenn/kju
- Owner: chrenn
- License: mit
- Created: 2018-03-01T14:42:34.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-07-07T03:43:17.000Z (over 2 years ago)
- Last Synced: 2023-03-09T07:23:14.173Z (almost 2 years ago)
- Topics: adidas, browser-automation, cli, notifications, puppeteer, sneakerbot
- Language: JavaScript
- Homepage:
- Size: 376 KB
- Stars: 70
- Watchers: 9
- Forks: 14
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> ❯❯❯_ Kju – Improved waiting time for the adidas.com splash page.
This is a script for people who don't want to deal with proxies for brute forcing the adidas.com splash page. There are a few similar scripts out there already, but this uses completely separate Chrome sessions for improved results. It is pretty heavy on the CPU though.
![Notification](media/notification.png)
# Features
- Simple Command Line Tool
- All the right Chrome flags
- Headless mode
- HMAC cookie and User Agent Export
- Rich notification center integration
![Screenshot](media/terminal.png)
# Setup
### 1. Download and unzip.
### 2. Install Node.js.
Download it form [here](https://nodejs.org/en/download/current/). Or do yourself a favor and use a package manager: [Homebrew](https://brew.sh) for macOS and [Chocolatey](https://chocolatey.org) for Windows.
If you're feeling fancy, use Yarn instead of NPM.
### 3. Setup kju.
Open your terminal and `cd` to the `kju` folder. Install the dependencies with `npm install` or `yarn install`.
In the meantime, log into your Google account on Chrome and export all your cookies with the [EditThisCookie](https://chrome.google.com/webstore/detail/editthiscookie/fngmhnnpilhplaeedifhccceomclgfbg) extensions into a file called `cookies.json` in the `kju` folder.
Open `config.js` and edit it to your liking.
# Usage
Start Kju as soon as splash goes live. It handles 20 instances on a 13'' MBP (2016) without problem. Adjust accordingly.
Press `l` to toggle logging in the terminal. Press `c` to copy the latest HMAC and User Agent.
Once an instance passes splash, clicking on the notification takes you to that specific browser window. Cart and checkout from there.
You can also export the HMAC to [InstaCop](https://github.com/chrfyi/instacop) on your regular browser. Make sure to set the corresponding User Agent there, e.g. via Chrome's DevTools (network conditions) or Safari's developer menu.
# Support
I will provide absolutely no support regarding setup and usage.
Try Twitter or [r/adidasATC](https://reddit.com/r/adidasATC).
# Resources
- [Comprehensive list of Chromium command line switches](https://peter.sh/experiments/chromium-command-line-switches/)
- [Dynamically updated list of UserAgents](https://techblog.willshouse.com/2012/01/03/most-common-user-agents/)