Skip to content

Commit

Permalink
Readd missing default config file
Browse files Browse the repository at this point in the history
  • Loading branch information
slurdge committed Feb 20, 2021
1 parent 6a03f1d commit 879a07a
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions cmd/asset/config.default.toml
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}}"

0 comments on commit 879a07a

Please sign in to comment.