Skip to content

Commit dea9b1a

Browse files
committed
Enable more datasources by default
1 parent 5afda17 commit dea9b1a

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

pkg/config/config.toml.sample

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ type = 'github'
1111
# interval = '30m0s' # Optional: custom fetch interval
1212
[datasources.github.config]
1313
token = '' # Required: Your GitHub personal access token
14-
14+
# Without a token you'll be rate-limited.
1515
# Uncomment and configure additional datasources as needed:
1616

1717
# # Codeberg - Fetch Codeberg activity and repository events
@@ -44,29 +44,29 @@ token = '' # Required: Your GitHub personal access token
4444
# radius = 10000 # Required: Search radius in meters
4545

4646
# # HackerNews - Fetch stories, comments, and other items from Hacker News
47-
# [datasources.hackernews]
48-
# type = 'hackernews'
47+
[datasources.hackernews]
48+
type = 'hackernews'
4949
# # interval = '1h0m0s'
50-
# [datasources.hackernews.config]
51-
# fetch_top = true # Fetch top stories (default: true)
52-
# fetch_new = false # Fetch new stories (default: false)
53-
# fetch_ask = false # Fetch Ask HN stories (default: false)
54-
# fetch_show = false # Fetch Show HN stories (default: false)
55-
# fetch_jobs = false # Fetch job postings (default: false)
56-
# max_items = 100 # Maximum items to fetch (default: 100, max: 500)
57-
# fetch_comments = false # Also fetch top-level comments (default: false)
50+
[datasources.hackernews.config]
51+
fetch_top = true # Fetch top stories (default: true)
52+
fetch_new = false # Fetch new stories (default: false)
53+
fetch_ask = false # Fetch Ask HN stories (default: false)
54+
fetch_show = false # Fetch Show HN stories (default: false)
55+
fetch_jobs = false # Fetch job postings (default: false)
56+
max_items = 100 # Maximum items to fetch (default: 100, max: 500)
57+
fetch_comments = false # Also fetch top-level comments (default: false)
5858

5959
# # RSS - Fetch articles from RSS/Atom feeds
60-
# [datasources.rss]
61-
# type = 'rss'
62-
# # interval = '2h0m0s'
63-
# [datasources.rss.config]
64-
# urls = [
65-
# 'https://feeds.arstechnica.com/arstechnica/index',
66-
# 'https://www.phoronix.com/rss.php',
67-
# 'https://www.theguardian.com/world/rss'
68-
# ]
69-
# max_items = 50 # Maximum items to fetch across all feeds (default: 50, max: 200)
60+
[datasources.rss]
61+
type = 'rss'
62+
# interval = '2h0m0s'
63+
[datasources.rss.config]
64+
urls = [
65+
'https://feeds.arstechnica.com/arstechnica/index',
66+
'https://www.phoronix.com/rss.php',
67+
'https://www.theguardian.com/world/rss'
68+
]
69+
max_items = 50 # Maximum items to fetch across all feeds (default: 50, max: 200)
7070

7171
# # Timestamp - Simple timestamp logging (useful for testing)
7272
# [datasources.timestamp]

0 commit comments

Comments
 (0)