This project can be used as the Kahoot-Smasher backend to a server, it will join a kahoot game with the number of bots specified. Because it is intended to be used as a backend I have implemented very little GUI and tried to make it as simple as possible to connect to a server backend.
- You need Node.js, any recent version should do
- Some knowledge of your platform's terminal
- A web browser on the local machine for testing
- Some proxy software like Nginx for redirecting web traffic to the right place if you want to use this remotely
- Clone this repository into any folder in your machine and navigate inside the first directory
- If you haven't already, open the terminal or powershell here
- Run the command:
node start
Now navigate to the URL http://localhost:3000
on the local machine, there should be some output if the server is running without any errors
To start the smashing go to the URL:
http://localhost:3000/start/kahoot-id/number-of-smashers/
You can also use a proxy to redirect to this address so if you want to use an external machine or host a website with this functionality you can just forward to this address based on the request.
To stop the smashing go to the URL:
http://localhost:3000/stop/