Auto Popcat clicker running in headless Chrome, written in Rust.
Launch Chrome by pre-specified thread, open popcat.click and autoclick 25 pps for each browser.
popcat.click set pps limit to 800 click per 30 seconds, even if the pps is beyond.
The highest valid click is 26 pps, so I set the bot to 25 pps (for erroneous).
By limiting the click, the saved resources can be distributed on the different browser.
Download built script from release
Or run from sources:
- Rust
- Chrome
- Git
Use this scripts to install Rust.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
For graphical computer, please use Google Chrome site directly.
For Ubuntu server, use this scripts to install Google Chrome.
curl https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o chrome.deb && ./sudo apt install chrome.deb
- Clone project
git clone https://github.com/saltyaom/popcat-rs && cd popcat-rs
- (Optional) Configure settings to launch chrome by n threads or specified if Chrome should be headless (show as GUI) or not.
- Setting thread:
5 // Number of windows to be opened, should be based on CPU core
6 const THREADS: u8 = 4;
- Setting headless:
By default is false.
Server is recommended to set to
true
11 let launch_options = LaunchOptionsBuilder::default()
12 .headless(false)
13 .window_size(Some((200,600)))
14 .build()
- Run the clicker
cargo run --release
For more information, feels free to raise an issues.