🌍 v3.1.0: Weather, Translation & Tools
This release expands the bot's capabilities with real-time world knowledge (Weather) and language skills (Translation), along with major improvements to the developer experience.
✨ New Features
-
🌤️ Advanced Weather Service:
- Powered by wttr.in (No API Key required).
- Current:
!weather Istanbulreturns a detailed text report (Temp, Wind, Humidity, UV). - Forecast:
!weather Istanbul 3returns a 3-day forecast chart as an Image.
-
🗣️ Translation System:
- Added
!translatecommand usinggoogle-translate-api-x. - Supports auto-detection:
!translate en Hola. - Supports explicit direction:
!tr es en Hola. - Integrated with AI to handle natural language requests (e.g., "How do you say Hello in German?").
- Added
-
🛠️ Developer Experience:
- Simulator (
sim): You can now simulate incoming WhatsApp messages directly from the terminal to test bot logic without a phone connection. - Clear (
clear): Added a command to clean the REPL terminal.
- Simulator (
⚙️ Under the Hood
- Updated prompts to teach AI about weather days and translation directions.
- The
src/config.jsstructure has been improved. All service settings are now located underSERVICES.
🔮 Roadmap & Upcoming Features
We are just getting started! Here is what's cooking for the next major updates:
- 🧠 Conversational Memory: Implementing a history context window so the AI remembers previous messages and maintains a fluid conversation.
- 💾 Persistent Storage: Integrating a lightweight database (SQLite) to save user preferences, default locations, and custom settings.
- 🌑 Advanced Astronomy: Expanding the
!mooncommand to support historical moon phases (e.g.,!moon 1990-05-12). - 🎙️ Voice Interaction: Adding Speech-to-Text capabilities to allow the bot to understand and reply to audio notes.
- ⚡ Hot Reload: Improving developer experience with auto-restart workflows.
Want to see these features? Hit the Watch button to get notified!
chore(release): 3.1.0
Full Changelog: v3.0.0...v3.1.0