Nebula Oracle is a sophisticated, high-performance weather dashboard engineered into a single PHP file. It bypasses the common hurdles of modern web development—no databases, no complex API key management, and no bloated frameworks. It delivers what matters: precise data for the next 24 hours, wrapped in a stunning glassmorphic interface.
Most weather applications provide 7-to-14-day forecasts that decrease in accuracy every passing hour. Nebula Oracle intentionally focuses strictly on the upcoming 24 hours. By utilizing high-resolution local models, it provides reliable, actionable data for your immediate planning, avoiding the speculative nature of long-term "fortune telling."
- Zero-Config Setup: No MySQL or NoSQL required. It uses lightweight PHP Sessions for state management.
- Keyless Intelligence: Powered by Open-Meteo and Nominatim (OpenStreetMap). Start it up and it works instantly—no API registration or credit card required.
- Next-Gen UI & UX:
- Glassmorphism: Deep blur effects, high-contrast typography, and a "noise" grain overlay for a premium feel.
- Ambient Glow (Auras): The background glow dynamically changes color and intensity based on the current weather (Sunny, Rainy, Cloudy, Snowy).
- Smart Night Mode: Icons and UI elements transition from sun-based to moon-based visuals based on local sunset/sunrise times.
- 24h Deep Analysis: A dedicated "Analysis" mode featuring interactive charts (via Chart.js) visualizing temperature curves, precipitation probability, and cloud cover.
- Smart Insights & Voice: An integrated logic engine generates "Smart Insights" (e.g., UV warnings or umbrella requirements). Includes a Text-to-Speech feature for hands-free weather updates.
- Global Search & Geolocation: Search for any city worldwide or use the "one-tap" geolocation feature to find your current spot.
- Download: Save the provided
index.phpfile. - Upload: Drop the file onto any web server with PHP 7.4 or higher.
- Run: Open the file in your browser (e.g.,
https://yourserver.com/weather.php).
Important
Geolocation and Voice features require an HTTPS connection due to modern browser security policies regarding the Geolocation and Speech APIs.
| Component | Technology |
|---|---|
| Backend | PHP 8.x (Logic, State & API Handling) |
| Styling | Bootstrap 5.3 + Custom CSS3 Animations |
| Charts | Chart.js (Real-time data visualization) |
| Icons | Bootstrap Icons |
| Fonts | Plus Jakarta Sans (Google Fonts) |
| Data Sources | Open-Meteo (Weather), Nominatim (Geocoding) |
.
└── index.php # The entire application (Logic, Styles, Scripts)
