Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/baruchiro/yesterdayweather
Shows today's weather forecast, relative to yesterday.
https://github.com/baruchiro/yesterdayweather
api chatgpt forecast html javascript openai weather webapp
Last synced: 26 days ago
JSON representation
Shows today's weather forecast, relative to yesterday.
- Host: GitHub
- URL: https://github.com/baruchiro/yesterdayweather
- Owner: baruchiro
- License: mit
- Created: 2022-12-02T09:55:32.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-21T20:04:42.000Z (over 1 year ago)
- Last Synced: 2024-04-30T05:48:09.319Z (6 months ago)
- Topics: api, chatgpt, forecast, html, javascript, openai, weather, webapp
- Language: JavaScript
- Homepage:
- Size: 124 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Weather Comparison
This is a simple web application that shows the current weather compared to yesterday's forecast for a given city.
The application was built step by step with the help of a large language model trained by OpenAI ([ChatGPT](https://chat.openai.com/)).
The application retrieves the forecast data from a weather API and displays it in the user's web browser.
## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.### Prerequisites
To run this application, you will need:- A web browser
- An internet connection
- An API key for a weather API (e.g. openweathermap.org)### Installing
To install the application, follow these steps:1. Clone or download the repository to your local machine.
1. Open the `index.html` file in your web browser.
1. Replace the `API_KEY` placeholder in the `main.js` file with your own API key.### Usage
To use the application, simply open the `index.html` file in your web browser. The current weather forecast for the city specified in the code will be displayed on the page, along with a comparison to yesterday's weather.## Built With
- HTML
- JavaScript
- [openweathermap.org](https://openweathermap.org/) - The weather API used to retrieve the forecast data## Authors
Baruch Odem - *Initial work*## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.## Acknowledgments
- [openweathermap.org](https://openweathermap.org/) for providing the weather data used in this application.