/tibber

Primary LanguageOCaml

Tibber

A reasonml journey to experiment and learn the language. ;

  • Context api
  • Typed CSS
  • GraphQL
  • Parcel

About

The app uses the Tibber graphql api to get the current kwh cost.

Development

Generate schema

yarn send-introspection-query https://api.tibber.com/v1-beta/gql

Run project

yarn install
yarn start
yarn parcel build index.html  (copy fonts)
yarn parcel index.html

Usage

When the app starts it prompts for an api-token, that may be obtained at Tibber's developer site. Currently only the query is supported.

Color scheme

Colorsfrom Coolors

Demo

kwHCost