Word Wizard is a cross-platform application that helps users build their vocabulary by reading engaging stories with highlighted SAT-level words and their meanings. Google Gemini API is used for dynamically creating a new story every time.
- Dynamic Story Generation: Fetch and display stories with highlighted SAT-level vocabulary words and their meanings.
- Settings Management: A built-in settings menu to save and delete the Gemini API key.
- Cross-Platform: Works on Windows, macOS, and Linux.
Windows binary is provided in the Releases tab on Github
- Download
word_wizard.zipfrom the Releases tab on Github.
Caution
- Since the program is not signed, windows will block it from being run. For correct functionality, do the following:
- Right click on
word_wizard.zipand selectPropertiesfrom the context menu. - Select
Unblockand clickOK
- Right click on
- Unzip and double-click
Word Wizard.exeto start the application. - The application will ask for the Gemini API key via a settings menu if it is not already set.
- Use the settings menu to save or delete the Gemini API key as needed.
- Fetch new stories and build your vocabulary!
- Python 3.7+
- pip (Python package manager)
Following python packages are required:
pip install flask google-generativeai keyring pywebviewor,
pip install -r requirements.txtWordWizard
├── html/
│ ├── settings.html
│ └── word_wizard.html
├── prompts/
│ └── prompt.txt
├── requirements.txt
├── word_wizard.py
└── README.md
python word_wizard.py
- Story Window
- Settings Window
-
word_wizard.py: Starts a Flask server and opens the application in a webview.
-
html/word_wizard.html: Main HTML page for displaying stories.
-
html/settings.html: Settings page for managing the Gemini API key.
-
prompts/prompt.txt: Contains the prompt used by the Gemini API to generate stories.
- Users must provide the application with a Google Gemini API key in order to use WordWizard
- The API key is stored securely on their local computer using
keyring. - Users can save and delete the API key via the settings menu in the application.
- Server not starting: Ensure that Python and all required libraries are installed correctly.
- API key not working: Double-check that the correct API key is entered and saved. Delete the API key in the Settings tab and enter a new one.
- Use console logs in the JavaScript and print statements in the Python code to debug issues.
- Check the terminal or command prompt for any error messages during execution.
This project is licensed under the MIT License. See the LICENSE file for details.