Skip to content

coffeesloth/grid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grid (wip)

Fetches the live fuel mix data for the UK electricity grid and outputs it in human-readable plain text.

Build

Dependencies

  • Go
  • Make

Build

make build

Run

As a CLI tool

The simplest incantation is

./grid

Make it more verbose with

./grid --verbose

Output to a file instead of stdout with

./grid --output filename.txt

Or combine the two:

./grid --verbose --output filename.txt

As a systemd service

A sample config is provided in the systemd directory to run grid every 5 minutes and output the data to a file.

Licence

BSD 3-Clause. See LICENCE.

About

UK electricity generation fuel mix in plain text.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published