blob: 53680f062a55cb0e1598cab190fedf17d3fec09d (
plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# walrss
*Email-based RSS digest generator*
  [](https://goreportcard.com/report/github.com/codemicro/walrss) 
---
| Email | Web UI |
|------------------------------------------------------|------------------------------------------|
|  |  |
## Quickstart
### Docker
```bash
docker pull ghcr.io/codemicro/walrss:latest
docker run -d -v $(pwd)/walrss-data:/run -p 8080:8080 ghcr.io/codemicro/walrss:latest
```
### Build from source
You must have an up-to-date version of the Go toolchain installed. Check `go.mod` for the minimum required version.
```bash
git clone https://github.com/codemicro/walrss.git; cd walrss
go build github.com/codemicro/walrss/walrss
```
```bash
mkdir walrss-data
WALRSS_DIR="./walrss-data" ./walrss
# now go to http://127.0.0.1:8080
```
## Config
Your `config.yaml` file lives in your data directory, which is specified by the `WALRSS_DIR` environment variable (default is `./` or `/run` if you're using Docker). Below is a list of the possible options you can set within it.
```yaml
server:
host: 127.0.0.1
port: 8080
# externalURL is the URL that your instance of Walrss is accessible at
# This is a required field
externalURL: "http://127.0.0.1:8080"
email:
# Defaults are not provided for any email option
# All of the below are required fields
password: "yourapikey"
username: "apikey"
host: "smtp.sendgrid.net"
port: 587
from: "Walrss <walrss@yourdomain.com>"
platform:
disableRegistration: false
disableSecureCookies: false
```
|