Skip to content

jiweiyuan/feedar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

feedar

AI-powered RSS feed reader in the terminal.

Features

  • 📡 Feed Management — Add, remove, list RSS/Atom feeds
  • 📰 Article Reading — Fetch and read articles in the terminal
  • 🤖 AI Summarize — Summarize any article with AI
  • 📊 AI Digest — Generate daily/weekly digests across all feeds
  • 🔍 AI Ask — Ask natural language questions across your feeds
  • 📦 OPML Import/Export — Standard feed list format support

Install

go install github.com/jiweiyuan/feedar@latest

Or build from source:

git clone https://github.com/jiweiyuan/feedar.git
cd feedar
go build -o feedar .

Quick Start

# Add a feed
feedar feed add https://hnrss.org/frontpage
feedar feed add https://feeds.arstechnica.com/arstechnica/index

# List feeds
feedar feed list

# Fetch latest articles
feedar fetch

# List articles
feedar articles
feedar articles --unread --limit 10
feedar articles --feed "Hacker News: Front Page"

# Read an article
feedar read 1

AI Features

Configure your AI provider first:

# Option 1: Environment variable
export OPENAI_API_KEY=sk-...
# or
export ANTHROPIC_API_KEY=sk-ant-...

# Option 2: feedar config
feedar config set ai_key sk-...
feedar config set ai_provider openai    # openai, anthropic, ollama
feedar config set ai_model gpt-4o-mini

# Show config
feedar config show

Then use AI features:

# Summarize an article
feedar ai summarize 1

# Generate a digest
feedar ai digest --range today
feedar ai digest --range week --limit 30

# Ask a question across all feeds
feedar ai ask "What's new in AI?"
feedar ai ask "Any security vulnerabilities reported?"

OPML Import/Export

# Import from other readers
feedar opml import subscriptions.opml

# Export your feeds
feedar opml export --output my-feeds.opml

Configuration

Config file: ~/.feedar/config.json Database: ~/.feedar/feedar.db

Environment variables (override config file):

  • FEEDCLI_AI_PROVIDER — openai, anthropic, ollama
  • FEEDCLI_AI_MODEL — model name
  • FEEDCLI_AI_BASE_URL — API base URL
  • FEEDCLI_AI_KEY — API key
  • OPENAI_API_KEY — OpenAI API key (fallback)
  • ANTHROPIC_API_KEY — Anthropic API key (fallback)

License

MIT

About

Feedly for AI Agent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors