summaryrefslogtreecommitdiffstats
path: root/README.md
blob: 73f5946d64b9890e8328bb1501a36fe455d486b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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.