Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.