first commit

This commit is contained in:
2026-01-26 12:34:00 +01:00
commit e64465a7e6
29 changed files with 2952 additions and 0 deletions

117
config.yaml Normal file
View File

@@ -0,0 +1,117 @@
schedule:
time: "07:00"
timezone: "Europe/Oslo"
sources:
rss:
# General Tech
- name: "Hacker News"
url: "https://news.ycombinator.com/rss"
category: "tech"
- name: "Ars Technica"
url: "https://feeds.arstechnica.com/arstechnica/index"
category: "tech"
- name: "TechCrunch"
url: "https://techcrunch.com/feed/"
category: "tech"
# Development
- name: "Dev.to"
url: "https://dev.to/feed"
category: "development"
- name: "GitHub Trending"
url: "https://mshibanami.github.io/GitHubTrendingRSS/daily/all.xml"
category: "development"
- name: "InfoQ"
url: "https://feed.infoq.com/"
category: "development"
- name: "r/programming"
url: "https://www.reddit.com/r/programming/.rss"
category: "development"
# Self-hosting
- name: "r/selfhosted"
url: "https://www.reddit.com/r/selfhosted/.rss"
category: "selfhosting"
- name: "r/homelab"
url: "https://www.reddit.com/r/homelab/.rss"
category: "selfhosting"
# Enterprise Architecture
- name: "Martin Fowler"
url: "https://martinfowler.com/feed.atom"
category: "architecture"
- name: "InfoQ Architecture"
url: "https://feed.infoq.com/architecture-design/"
category: "architecture"
- name: "The New Stack"
url: "https://thenewstack.io/feed/"
category: "architecture"
# Gadgets
- name: "Engadget"
url: "https://www.engadget.com/rss.xml"
category: "gadgets"
- name: "AnandTech"
url: "https://www.anandtech.com/rss/"
category: "gadgets"
- name: "Tom's Hardware"
url: "https://www.tomshardware.com/feeds/all"
category: "gadgets"
ai:
provider: "openrouter"
base_url: "https://openrouter.ai/api/v1"
model: "google/gemini-flash-1.5"
# Alternative models:
# - "anthropic/claude-3.5-haiku" (better quality, slightly more expensive)
# - "meta-llama/llama-3.1-8b-instruct" (very cheap)
filtering:
enabled: true
min_score: 6.5 # Out of 10 - articles below this score are filtered out
max_articles: 15 # Maximum articles to include in daily digest
interests:
- "AI and machine learning developments"
- "Open source projects and tools"
- "Self-hosting solutions and home lab setups"
- "Enterprise architecture patterns and best practices"
- "Python ecosystem and development tools"
- "Linux and system administration"
- "New gadgets and hardware reviews"
- "Cloud-native technologies and Kubernetes"
- "DevOps and infrastructure as code"
- "Security and privacy tools"
email:
to: "your-email@example.com"
from: "news-agent@yourdomain.com"
from_name: "Daily Tech News Agent"
subject_template: "Tech News Digest - {date}"
smtp:
host: "mail.yourdomain.com"
port: 587 # Standard SMTP submission port (use 465 for SSL)
use_tls: true # Use STARTTLS (for port 587)
use_ssl: false # Set to true if using port 465
# Username and password are loaded from .env file for security
database:
path: "data/articles.db"
retention_days: 30 # How long to keep article history
logging:
level: "INFO"
file: "data/logs/news-agent.log"
max_bytes: 10485760 # 10MB
backup_count: 5