Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

isaacazuelos/weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather

What's the weather like?

This isn't a great tool, it's a solution to one of the practice problems in Programming Elixir.

You probably don't want to use this -- there aren't really tests and the error messages are pretty useless.

Installation

You'll need elixir installed.

You can do this with whatever your system package manager is. For instance on macOS you can brew install elixir if you have brew installed.

You can build this with mix.

Documentation can maybe be generated with ExDoc, not that I've tried.

Configuration

weather needs to be told what city you're in. Find your city on weather.gc.ca and copy the weather feed URL.

Run weather with the --init flag and the URL to have it set a .weather file in your home directory that it'll use to remember for next time.

$ weather --init <url>

Use

Just run weather to get the current conditions.

License

This project is available as open source under the terms of the MIT License.

About

A tiny elixir weather app

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages