weer is a tiny CLI weather app that is under active development.
It can currently determine your approximate location using your IP address and print a detailed weather forecast (in JSON format) to stdout.
docker build -f Dockerfile.mini -t weer:mini .
docker run --rm weer:mini
docker run --rm heyajulia-docker-weer-docker.bintray.io/weer/weer:mini
I'm working on building native binaries for a number of platforms (macOS, Linux, and โ hopefully! โ Windows).
- Clone the repository (or download a ZIP file)
- Install Make, Clang, and cURL.
- Run
make
.
Run make fmt
to automatically format all C source files and headers. This
requires clang-format
to be installed.
The dev
image comes pre-loaded with everything you need to work on
weer. I use it to debug memory issues, because Valgrind isn't supported on
macOS.
This image is pretty big (~1 GB), and you probably don't need it.
You can download a pre-built image directly from weer's Bintray Docker registry:
docker run --rm -v $PWD:/cwd -it heyajulia-docker-weer-docker.bintray.io/weer/weer:dev bash
or build it yourself:
docker build -f Dockerfile.dev -t weer:dev .
docker run --rm -v $PWD:/cwd -it weer:dev bash
- Using Locationforecast: detailed information about how a Yr client should behave.
- Data access and terms of service: general information and the required branding.