- Create an OpenAI account at https://platform.openai.com
- Generate an API key from the dashboard.
- Set the API key in your environment (PowerShell):
setx OPENAI_API_KEY "your-real-api-key-here" - Restart VS Code so that variable loads
- Run the app: mvn compile mvn exec:java -Dexec.mainClass="app.Main"
- Creative writing mode
- Professional writing mode
- Academic writing mode
- OpenAI API integration
- Asynchronous operations
- Error handling
- Built-In session history system
- Session history panel in the UI
- Clean JSON-Based Storage of User Sessions
Strategy: Different writing styles Factory: Centralized creation of writing requests Singleton: APIClient ensures a single HTTP client + API key loader Observer: Response Listener recieves onRequestStarted(), onRequestComplete(), onRequestError(String). UI reacts automatically.
Youtube link: https://youtu.be/-viQrVCmisA Updated Link (After Bonus Features): https://youtu.be/8waqQxWk0ts