Repository navigation
🚀 Features & Core Upgrades
- Upgraded AI Model (
v1.3.5): Transitioned to Google'sgemma-4-26b-a4b-itmodel via the Gemini API for richer and more creative poetic generation. - Sliding-Window Rate Limiter (
v1.3.5): Implemented a local sliding-window rate limiter restricted to 15 requests per minute to stay safely within the free-tier API quota. - Cross-Platform Launcher (
v1.3.4): Addedrhyming-clock.shshell script for Linux/macOS support, making the retro widget available across all major operating systems. - Auto-Environment Setup (
v1.3.4): The launcher scripts (.batand.sh) now automatically detect a missing.envfile and generate it from.env.example, making initial setup seamless.
🔒 Security & Resilience
- Secure API Key Handling (
v1.3.6): Transitioned API key transmission from the URL query parameter to thex-goog-api-keyHTTP header, preventing keys from leaking into browser history, referrers, or web logs. - Robust Error Recovery (
v1.3.6): Integrated capped exponential backoff and transient error retries (honoringRetry-Afterheader) to handle 429 and 5xx API responses gracefully. - Safer Rendering (
v1.3.6): Switched poem text rendering frominnerHTMLtotextContentto prevent arbitrary model output from being parsed as HTML (mitigating styling breakages and XSS vectors). - Persistent Rate-Limit State (
v1.3.6): The rate limiter now persists request timestamps tolocalStorageso the free-tier quota is enforced across page reloads.
🛠️ Bug Fixes & Code Cleanup
- Concurrency Guard (
v1.3.6): Added anisGeneratingflag to prevent simultaneous API requests triggered by overlapping timer ticks and window visibility-change events. - HTML Integrity (
v1.3.6): Fixed a malformed HTML issue by adding the missing opening<head>tag. - Asset Organization (
v1.3.3): Cleaned up the root directory by moving all screenshots, icons, and favicons into a dedicatedassets/subdirectory. - README Grid Alignment (
v1.3.7): Rearranged the screenshots in the mainREADME.mdinto a clean 2x2 grid layout using responsive HTML tags.
Full Changelog: v1.3.2...v1.3.7