summaryrefslogblamecommitdiffstats
path: root/README.md
blob: 73f5946d64b9890e8328bb1501a36fe455d486b6 (plain) (tree)
1
2
3
4
5
6
7
8

       



                                                                   

                                       


           
                   

       
                          


                                   













                                                
                                                                     
          
# peach

A barebones [weather service][peach].

My knee-jerk reaction after darksky.net announced that they will be
shutting down.

[peach]: https://peach.ricketyspace.net

## building

Build requirements:

 - make
 - go version 18 or higher

To build the peach binary, just do:

```bash
make
```

## running

```
peach [ -p PORT ]
```

If the port is not given, it defaults to `8151`.

### environment variables

- `PEACH_PHOTON_URL`: Photon API URL. Set this if geocoding should be
  enabled.