-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
## Log level | ||
## Either "none", "error", "debug", "info" | ||
#loglevel = "none" | ||
|
||
## Dry run | ||
## Do not output anything or send email after fecthing the sources | ||
#dry-run = false | ||
|
||
## Purge days | ||
## Number of days to keep the entries when the purge command is used | ||
## Can be overrided by command line switch | ||
#purge-days = 15 | ||
|
||
## Auto purge | ||
## Automatically run the purge command after the run command | ||
#auto-purge = false | ||
|
||
[email] | ||
host = "smtp.example.com" | ||
port = 587 | ||
username = "user" | ||
password = "pass" | ||
## Include header in email | ||
## Put a nice goeland logo in emails | ||
#include-header = true | ||
|
||
## Include footer in email | ||
## Put "Sent with ❤️ by goeland in the bottom of HTML emails" | ||
#include-footer = true | ||
|
||
## Include title in header | ||
#include-title = false | ||
|
||
## Email timeout in milliseconds | ||
#timeout-ms = 5000 | ||
|
||
## Logo file | ||
#logo = internal:goeland.png | ||
|
||
[sources] | ||
|
||
[sources.hackernews] | ||
url = "https://hnrss.org/newest" | ||
type = "feed" | ||
# See doc for available filters | ||
filters = ["all", "today"] | ||
|
||
[pipes] | ||
|
||
[pipes.hackernews] | ||
#Either put disabled = true or prefix pipes with disalbed like this: disabled.pipes.hackernews | ||
disabled = true | ||
source = "hackernews" | ||
destination = "email" | ||
email_to = "example@example.com" | ||
email_from = "HackerNews <goeland@example.com>" | ||
#Default: you can use EntryTitle, SourceTitle and SourceName in the template | ||
#email_title = "{{.EntryTitle}}" |