Coder Social home page Coder Social logo

arihant2math / weathercli Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 943.46 MB

Weather, in your terminal

Home Page: https://arihant2math.github.io/weathercli/

Rust 97.62% HTML 1.71% JavaScript 0.38% Shell 0.29%
click meteo openweathermap openweathermap-api weather rust clap clap-rs cli weather-app

weathercli's Introduction

Logo

Weather CLI

Website

Weather in your terminal, now 100% rust!

Usage

For the open weather map api to work you need to configure your API key. Get an API key and run weather config open_weather_map_api_key [your api key here] If you want better geo-positioning, get a Bing Maps API Key and run weather config bing_maps_api_key [your key here] More config values can be found in the table below

Config

Name Values Function
open_weather_map_api_key any string The API key for Open Weather Maps
bing_maps_api_key any string The API key for Bing Maps
ncdc_api_key any string NOAA NCDC API KEY (unused as of now)
metric_default true, false if true, the default units will be metric
default_backend METEO, NWS, THEWEATHERCHANNEL, OPENWEATHERMAP sets the default backend to get data from, see datasources.md for more info
constant_location true, false if true, the users current location will be cached

Usage: weather config [NAME] [VALUE], to get the value of a config name try weather config [NAME]

Custom Layouts

See custom_layouts.md for more info.

TODO

  • combine terminal and local
  • move to async rendering for layout engine
  • Make everything else async after that

weathercli's People

Contributors

arihant2math avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar

Forkers

albonec

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.