Giter VIP home page Giter VIP logo

ambient's Introduction

Ambient (Weather Forecast)

Ambient is a simple and user-friendly page with up-to-date weather forecasts for your favorite locations. Explore the daily forecast as well as predictions for the days to come, and analyze weather trends with an atmospheric conditions chart.

Motivation

My old React project had grown stale, like yesterday’s bread, and I yearned for something more. The other day, as rain tapped insistently against my window, and the wind rattled the panes, inspiration struck.

And so, in the heart of a bustling city, where raindrops danced on umbrellas and wind howled through narrow alleys, there was a beginning for a little weather project called “Ambient.” The idea was dead simple: to provide real-time updates on the ever-changing moods of the sky.

Features

  • Shows the Current temperature with a short description, how it feels like, humidity percentage, wind speed by Beaufort scale, UV index scale and sunrise/sunset time.

  • Hourly precipitation probability, temperature, and time for the next 24 hours.

  • Daily forecast for the next 10 days.

  • Atmospheric Conditions Chart with cloud cover, relative humidity and precipitation probability to visualize weather trends for the next 10 days.

Getting Started

  1. Clone the Repository:

    git clone https://github.com/stassribnyi/ambient.git
    cd ambient
  2. Install Dependencies:

    yarn
  3. Run the Development Server:

    yarn dev
  4. Open Your Browser: Visit http://localhost:5173 to see the Ambient (Weather Forecast) in action!

Available Scripts

  • yarn dev: Starts the development server.
  • yarn build: Builds the production-ready app.
  • yarn lint: Lints code using ESLint.
  • yarn preview: Previews the production build locally.
  • yarn predeploy: Builds the app before deploying.
  • yarn deploy: Deploys the app using GitHub Pages.
  • yarn prepare: Installs Husky hooks for pre-commit checks.

How to use

TODO: Update screenshots

To use Ambient, you need to change location to yours, you can do so via menu in the top left corner. The webpage will then display the current, hourly and daily forecast, as well as the chart, for selected location. You can also change the units of measurement for the temperature and wind speed by clicking on the toggle at the top right corner of the webpage.

Ambient UI Locations manager

Tools and Technologies Used

  • 🚀 React
  • 🛠️ Vite
  • ☑ TypeScript
  • 💅 MUI
  • 🧾 Axios
  • 💬 date-fns
  • 🖼 @bybas/weather-icons

Project Preview

Visit the Ambient Live Preview for live demos and more information.

License

This project is licensed under the MIT License.

TODO: Apply if necessary

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

  • Configure the top-level parserOptions property like this:
   parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json'],
    tsconfigRootDir: __dirname,
   },
  • Replace plugin:@typescript-eslint/recommended to plugin:@typescript-eslint/recommended-type-checked or plugin:@typescript-eslint/strict-type-checked
  • Optionally add plugin:@typescript-eslint/stylistic-type-checked
  • Install eslint-plugin-react and add plugin:react/recommended & plugin:react/jsx-runtime to the extends list

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.