~seanld/freerice-bot

Automates the simple math questions on Freerice.
196f2fc3 — Sean Wilkerson 1 year, 8 months ago
Optimize unncessary lets to consts
e943795d — Sean Wilkerson 2 years ago
Update roadmap
9318711e — Sean Wilkerson 2 years ago
Add roadmap

clone

read-only
https://git.sr.ht/~seanld/freerice-bot
read/write
git@git.sr.ht:~seanld/freerice-bot

You can also use your local clone with git send-email.

#Freerice Bot

Automatically answers simple math questions on Freerice, via NodeJS and Puppeteer, which means it can run in the background without needing a graphical display.

Roadmap:

  • ✔ Automatically handle the age verification screen
  • ⌛ Simulate a real person going to bed (sleep within a window of time)
  • ⌛ Simulate mouse movements for clicking for authenticity
  • ⌛ More organic randomized click timeouts
  • ⌛ Output from the internal browser console, out to the terminal

#Running It

Requires:

To get it running, download the latest release, extract it, go into the root directory of the extracted repository with your terminal of choice.

To install needed dependencies, run:

npm install

And then to run the script:

node freerice.js

To kill the script, simply Ctrl+C it (or whatever your system's equivalent is) from whatever terminal you started it from, and left it running in.