Python Server code for Scratch project to show your Scratch Stats automatically without having to manually update it all the time. Updates both the Turbowarp and Scratch Cloud
See requirements.txt
$ pip install -r requirements.txt- Remix the Scratch Project: https://scratch.mit.edu/projects/619760935/
- Delete the cloud variable, it should be called Cloud.
- Create a new cloud variable. IMPORTANT: it must be called Cloud for the program to work.
- Feel free to mess around with the colors in the project. Make it your own!
Follow these commands closely to ensure that your program works correctly:
Clone the repository.
$ git clone https://github.com/ajsya/ScratchStatsDashboard.gitInstall the requirements:
Mac/Linux
$ python3 -m pip install -r requirements.txtWindows
$ pip install -r requirements.txtOpen .env. Edit the four variables in the file.
Username for a Scratch account that will act as a bot to automatically update the cloud variables. The account you provide does not have to have Scratcher status, however, do not use your main account. You will be logged out very time the program runs.
Password of the bot account
ID of your Scratch Project that you remixed that the program will be updating the cloud variables of.
Some sort of contact info for the Turbowarp devs.
Save the file and run it. You should be done! Let me know if you have any errors or problems setting it up. Please run this program at your own risk and be considerate of the scratch servers.