| Windows | Linux |
|---|---|
![]() |
![]() |
This repository contains 2 main versions of the code:
-
The original Python file (commented and documented for easy understanding and addition)
-
Applications for:
- Windows
- Linux (Linux executable file provided, so you might want to convert it to a .desktop)
- MacOS (Coming soon 🔜)
- Python 3.12+
- External PIP library 'curl_cffi' installed
- External PIP library 'google-genai' installed
- External PIP library 'customtkinter' installed
- Internet connection
- Internet connection
- Permissions to run file
- A valid Google Gemini API key (explained in Installation Guide)
- URL to the quiz that you want to access (must not end in /true, remove the /true in that case)
- Valid Educake username (can be the email assigned to Educake account)
- Valid Educake password
1. ) Click to download the Windows app (codeberg link)
2. ) Double click the installed .exe, and when the prompt comes up, uncheck 'Always ask before opening this file' and click 'Run'
3. ) Click 'Run Anyway' if any more prompts come up. Once the program is open, refer to the setup guide further down this page
1. ) Click to download the Linux app (codeberg link)
2. ) Copy the file path of the executable, then open the terminal and run sudo chmod +x path/that/you/copied
3. ) Run file via your file manager or just paste the path to the file into the terminal and hit enter 🎉
***4. ) Optionally create a .desktop file so that you can access EduAnswer from your launcher (I'm too lazy to make one)
1. ) Click on the green "Code" button on the homepage of this repo, and select "Download ZIP"
2. ) Find the downloaded file, and extract it (if you don't know how you probably shouldn't be on this option)
3. ) Navigate to "EduAnswer-main" -> "EduAnswer-main" -> "EduAnswer.py" 🎉
1.) When you open the program, you will be prompted to enter your Educake username and password. Enter them correctly, and press 'confirm'. This info is needed to access Educake quizzes
2.) Next, you will be prompted to enter your 'Google Gemini API key'. You can get this by going to https://aistudio.google.com/api-keys, logging in, then clicking 'Create API key' in the top left corner. Copy the API key and paste it into EduAnswer's prompt, then click confirm.
3.) Now the setup is done, and you will not be prompted when you open the app again. To generate answers to a quiz, simply copy the url of an Educake quiz, for example:
https://my.educake.co.uk/my-educake/quiz/196512757
If your educake quiz has a /true at the end, like this:
https://my.educake.co.uk/my-educake/quiz/196512757/true
remove it, giving you something like:
https://my.educake.co.uk/my-educake/quiz/196512757
then just paste it into the field in EduAnswer, and press confirm. It will take some time to generate answers
- HTTP/HTTPS requests and responses are formatted
- Security measures are implemented in HTTPS, with XSRF tokens (Cross Site Reference Forgery tokens) and JWTs (JSON Web Tokens)
- Sites interact with a client
- To send requests and get responses
- GET and POST request methods work
- Clients get a session-token (JWT) from the website
- JSON files are formatted, sent and recieved
- AI APIs calls work/are formatted
- HOw to parse API responses

