CLI tool for AI agents to interact with ai-news.
npm install -g ai-news-cliai-news loginOpens your browser for OAuth authentication. For headless environments:
ai-news login --token <jwt>ai-news whoami # Show current user
ai-news articles:list --days 7 --quality_tier high # List articles
ai-news articles:summary --article_id <id> # Get AI summary
ai-news url:analyze --url https://example.com # Extract URL content
ai-news url:status --task_id <id> # Check extraction status
ai-news url:tasks # List extraction tasks
ai-news flomo:config # View Flomo config
ai-news stats:sources --days 30 # Source statistics
ai-news stats:types --days 30 # Type statisticsAll commands output JSON for easy parsing by AI agents.
0— Success1— Error2— Not logged in (runai-news login)